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) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Analyzer.Utilities;
using Microsoft.CodeAnalysis.Analyzers.MetaAnalyzers;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Testin... | 56.059471 | 331 | 0.75718 | [
"Apache-2.0"
] | LingxiaChen/roslyn-analyzers | src/Microsoft.CodeAnalysis.Analyzers/UnitTests/MetaAnalyzers/DiagnosticDescriptorCreationAnalyzerTests.cs | 50,904 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using... | 38.064189 | 101 | 0.381823 | [
"MIT"
] | Altenhh/osu | osu.Game.Tournament/Screens/Editors/TeamEditorScreen.cs | 10,972 | C# |
namespace StoryTeller.Util
{
public class TableRowTag : HtmlTag
{
public TableRowTag()
: base("tr")
{
}
public HtmlTag Header(string text) => new HtmlTag("th", this).Text(text);
public HtmlTag Header() => new HtmlTag("th", this);
public HtmlTag Cell... | 24.388889 | 81 | 0.56492 | [
"Apache-2.0"
] | SergeiGolos/Storyteller | src/StoryTeller/Util/TableRowTag.cs | 439 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Core.DomainModel;
using Core.DomainModel.Organization;
using Presentation.Web.Models.API.V1;
using Tests.Integration.Presentation.Web.Tools;
using Tests.Toolkit.Patterns;
using Xunit;
namespace Tests.Integration... | 42.555556 | 137 | 0.675494 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Strongminds/kitos | Tests.Integration.Presentation.Web/ItSystem/ItSystemHierarchy.cs | 2,683 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using System.IO;
using Microsoft.DotNet;
namespace VisualStudio
{
sealed class CommandFactory
{
readonly Config config;
Dictionary<string, (bool IsSystem, Func<... | 51.480315 | 208 | 0.623432 | [
"MIT"
] | augustoproiete-forks/devlooped--dotnet-vs | VisualStudio/CommandFactory.cs | 6,540 | C# |
//Build Date: July 22, 2014
#region "Header"
#if (UNITY_STANDALONE || UNITY_WEBPLAYER || UNITY_ANDROID || UNITY_IOS)
#define USE_JSONFX_UNITY_IOS
#endif
#if (__MonoCS__ && !UNITY_STANDALONE && !UNITY_WEBPLAYER)
#define TRACE
#endif
using System;
using System.IO;
using System.Text;
using System.Net;
using System.Collec... | 36.284161 | 257 | 0.679048 | [
"MIT"
] | redarrowlabs/pubnub-c-sharp | demos/ePoll/PubnubCore/PubnubCore.cs | 170,211 | C# |
// Entity Designer Documentation Generator
// Copyright 2017 Matthew Hamilton - matthamilton@live.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.... | 37.5 | 76 | 0.672 | [
"Apache-2.0"
] | mthamil/EFDocumentationGenerator | extension/EFDocumentationGenerator/IDocumentationSource.cs | 1,502 | C# |
using ShaderTools.CodeAnalysis.Hlsl.Symbols;
namespace ShaderTools.CodeAnalysis.Hlsl.Binding
{
internal sealed class NamespaceBinder : Binder
{
public NamespaceSymbol NamespaceSymbol { get; }
public NamespaceBinder(SharedBinderState sharedBinderState, Binder parent, NamespaceSymbol na... | 30.733333 | 116 | 0.683297 | [
"Apache-2.0"
] | BigHeadGift/HLSL | src/ShaderTools.CodeAnalysis.Hlsl/Binding/NamespaceBinder.cs | 449 | C# |
// This file was generated by a tool; you should avoid making direct changes.
// Consider using 'partial classes' to extend these types
// Input: planning.proto
#pragma warning disable 0612, 1591, 3021
namespace apollo.planning
{
[global::ProtoBuf.ProtoContract()]
public partial class ADCSignals : global::Pro... | 33.889655 | 132 | 0.613197 | [
"Apache-2.0",
"BSD-3-Clause"
] | 0x8BADFOOD/simulator | Assets/Scripts/Bridge/Cyber/Protobuf/planning/proto/planning.cs | 19,656 | C# |
using SmartifyBotStudio.Models;
using SmartifyBotStudio.RobotDesigner.Interfaces;
using SmartifyBotStudio.RobotDesigner.Variable;
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace SmartifyBotStudio... | 48.716814 | 202 | 0.527702 | [
"MIT"
] | codertuhin/BotStudio | SmartifyBotStudio/RobotDesigner/TaskModel/File/RenameFiles.cs | 11,012 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestCursor : MonoBehaviour {
public GameObject Player;
// Use this for initialization
void Start () {
Player = GameObject.FindGameObjectWithTag("Player");
}
// Update is called once per frame
void Update () ... | 29.961538 | 117 | 0.63543 | [
"MIT"
] | DedhamJammers/whitebloodcell | Cell Frontier/Assets/TestCursor.cs | 781 | C# |
// ReSharper disable once CheckNamespace
namespace System.Numerics
{
public static class BigIntegerExtensions
{
public static BigInteger Factorial(BigInteger n)
{
BigInteger result = 1;
for(BigInteger i = 1; i <= n; i++)
result *= i;
return re... | 24.5 | 56 | 0.553936 | [
"MIT"
] | Infarh/MathCore | MathCore/Extensions/Numerics/BigIntegerExtensions.cs | 345 | C# |
namespace vsgerrit.Features.ChangeBrowser.Services
{
public interface IChangeBrowserNavigationService
{
void ToggleSettingsVisibility();
}
} | 23 | 52 | 0.745342 | [
"Apache-2.0"
] | vsgerrit/vsgerrit | src/VSGerrit/Features/ChangeBrowser/Services/IChangeBrowserNavigationService.cs | 163 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Input
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class ManipulationUpdatedEventArgs
{
#if __ANDROID__ || __IOS__ || NE... | 36.925373 | 159 | 0.756669 | [
"Apache-2.0"
] | ATHULBABYKURIAN/uno | src/Uno.UWP/Generated/3.0.0.0/Windows.UI.Input/ManipulationUpdatedEventArgs.cs | 2,474 | C# |
using System;
using System.IO;
using System.Text;
using Axiom.Core;
using Axiom.MathLib;
namespace Axiom.Serialization {
/// <summary>
/// Summary description for Serializer.
/// </summary>
public class Serializer {
#region Fields
/// <summary>
/// Version string of this serializer.
/// </summary>
prot... | 31.218415 | 135 | 0.595857 | [
"MIT"
] | AustralianDisabilityLimited/MultiversePlatform | axiom/Engine/Serialization/Serializer.cs | 14,579 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 39.849315 | 577 | 0.619629 | [
"MIT"
] | 0xced/azure-sdk-for-net | src/SDKs/Reservations/Management.Reservations/Generated/Models/ReservationOrderResponse.cs | 5,818 | C# |
using System;
using TLDAG.Core.Algorithms;
using static TLDAG.Core.Exceptions.Errors;
namespace TLDAG.Core.Collections
{
public partial class IntSet : IEquatable<IntSet>, IComparable<IntSet>
{
public int CompareTo(IntSet? other)
=> other is null ? 1 : Comparing.Compare(values, other.values... | 25.415385 | 88 | 0.587167 | [
"MIT"
] | tldag/tldag-dotnet | TLDAG.Core/Collections/Set.Compare.cs | 1,654 | C# |
// <copyright file="MklFourierTransformProvider.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated... | 35.391837 | 173 | 0.604083 | [
"MIT"
] | XionWin/Mac-Dock-Bar | MathNet.Numerics/Providers/FourierTransform/Mkl/MklFourierTransformProvider.cs | 8,673 | C# |
using System;
using System.Windows.Forms;
namespace Controls
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Applicatio... | 21.2 | 65 | 0.566038 | [
"BSD-3-Clause"
] | Krypton-Suite/Extended-Toolk | Source/Krypton Toolkit/Examples/Controls/Program.cs | 424 | C# |
/*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using System;
using System.ComponentModel.DataAnnotations;
using System... | 30.710145 | 117 | 0.466467 | [
"MIT"
] | JarLob/piranha.core | test/Piranha.Tests/Services/SiteTests.cs | 19,073 | 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("Se... | 35.896552 | 84 | 0.739673 | [
"Apache-2.0"
] | 15217711253/xamarin-forms-samples | Templates/DataTemplateSelector/UWP/Properties/AssemblyInfo.cs | 1,044 | C# |
#if XAMARIN_APPLETLS
//
// AsyncProtocolRequest.cs
//
// Author:
// Martin Baulig <martin.baulig@xamarin.com>
//
// Copyright (c) 2015 Xamarin, Inc.
//
using System;
using System.IO;
using System.Net;
using System.Net.Security;
using SD = System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
... | 27.651163 | 164 | 0.713877 | [
"BSD-3-Clause"
] | chamons/xamarin-macios | src/Security/Tls/AsyncProtocolRequest.cs | 5,945 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 36.43662 | 106 | 0.556049 | [
"MIT"
] | dsalunga/mPortal | Portal/WebSystem/WebSystem-MVC/Content/Parts/Central/Security/UserProfile.ascx.designer.cs | 5,176 | C# |
using Cron.Network.P2P;
using Cron.Network.P2P.Payloads;
namespace Cron.Plugins
{
public interface IP2PPlugin
{
bool OnP2PMessage(Message message);
bool OnConsensusMessage(ConsensusPayload payload);
}
}
| 19.416667 | 58 | 0.712446 | [
"MIT"
] | cronfoundation/cronium-core | Cron/Plugins/IP2PPlugin.cs | 235 | C# |
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
using Microsoft.Graph;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace ApiDemo.Library.Graph
{
public class MsalWrappedTokenProvider : IAut... | 35.127273 | 124 | 0.604037 | [
"MIT"
] | dotnet-devops/Examples | ApiDemo/ApiDemo.Library/Graph/MsalWrappedTokenProvider.cs | 3,866 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | 40.216216 | 103 | 0.749328 | [
"MIT"
] | fredatgithub/GetQuote | GetQuote/Properties/AssemblyInfo.cs | 1,513 | 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... | 45.219731 | 284 | 0.618604 | [
"Apache-2.0"
] | JekzVadaria/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/ElasticFileSystem/Basic/Remove-EFSAccessPoint-Cmdlet.cs | 10,084 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using GoalTracker.Entities;
using GoalTracker.Services;
using Microsoft.AppCenter.Crashes;
namespace GoalTracker.ViewModels
{
public class GoalTaskViewModel : BaseViewModel, IGoalTaskViewModel
{
private readonly IGoalTaskRepository goalTas... | 25.288136 | 94 | 0.546247 | [
"MIT"
] | Zasam/GoalTracker | GoalTracker/GoalTracker/ViewModels/GoalTaskViewModel.cs | 1,494 | C# |
using System.Collections.Generic;
using Horizon.Payment.Alipay.Response;
namespace Horizon.Payment.Alipay.Request
{
/// <summary>
/// alipay.marketing.campaign.discount.budget.query
/// </summary>
public class AlipayMarketingCampaignDiscountBudgetQueryRequest : IAlipayRequest<AlipayMarketingCampaignDi... | 22.967742 | 135 | 0.55302 | [
"Apache-2.0"
] | bluexray/Horizon.Sample | Horizon.Payment.Alipay/Request/AlipayMarketingCampaignDiscountBudgetQueryRequest.cs | 2,870 | C# |
namespace Tailspin.Web.Survey.Shared.Stores
{
using Models;
using System.Threading.Tasks;
public interface ISurveyAnswersSummaryStore
{
Task InitializeAsync();
Task<SurveyAnswersSummary> GetSurveyAnswersSummaryAsync(string tenant, string slugName);
Task DeleteSurveyAnsw... | 37.266667 | 104 | 0.763864 | [
"MIT"
] | msajidirfan/cloud-services-to-service-fabric | servicefabric/Tailspin/Tailspin.Web.Survey.Shared/Stores/ISurveyAnswersSummaryStore.cs | 561 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | 42.535714 | 98 | 0.710747 | [
"MIT"
] | congdinh2008/YouTubeManager | YouTubeManager/YouTubeManagerWpf/Properties/AssemblyInfo.cs | 2,385 | C# |
using ExtendedDatabase;
using NUnit.Framework;
using System;
namespace Tests
{
public class ExtendedDatabaseTests
{
private const int DatabaseCapacity = 16;
private Person[] people;
private ExtendedDatabase.ExtendedDatabase extendedDB;
[SetUp]
public void Setup()
... | 32.384615 | 108 | 0.590657 | [
"MIT"
] | Anzzhhela98/CSharp-Advanced | C# OOP/07.Unit Testing/Unit Testing - Exercises/DatabaseExtended.Tests/ExtendedDatabase.Tests.cs | 5,052 | C# |
using Medic.Entities.Bases;
using Medic.Entities.Contracts;
using Medic.Mappers.Contracts;
using System;
namespace Medic.Entities
{
/// <summary>
/// CP -> Implant
/// </summary>
[Serializable]
public partial class Implant : BaseEntity, IModelBuilder, IModelTransformer
{
public int Id ... | 24.481481 | 79 | 0.617247 | [
"MIT"
] | eeevgeniev/ITSPMedic | src/Medic.Entities/Implant.cs | 1,324 | C# |
namespace BigRogue.CharacterAvatar {
/// <summary>
/// 换装的孔位
/// </summary>
public enum AvatarSlot {
MainBody = 0,
Beard = 1,
Ears = 2,
Hair = 3,
Face = 4,
Horns = 5,
Wing = 6,
Bag = 7,
MainHand = 101,
OffHand = 102
}... | 17.753846 | 43 | 0.418544 | [
"MIT"
] | BigWan/BigRogue | BigRouge/Assets/Scripts/Avatar/AvatarDefine.cs.cs | 1,240 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 47.837838 | 355 | 0.658475 | [
"MIT"
] | ElleTojaroon/azure-sdk-for-net | sdk/app/Microsoft.Azure.Management.ContainerApps/src/Generated/Models/AzureActiveDirectoryRegistration.cs | 7,080 | C# |
#define SQLITE_ASCII
#define SQLITE_DISABLE_LFS
#define SQLITE_ENABLE_OVERSIZE_CELL_CHECK
#define SQLITE_MUTEX_OMIT
#define SQLITE_OMIT_AUTHORIZATION
#define SQLITE_OMIT_DEPRECATED
#define SQLITE_OMIT_GET_TABLE
#define SQLITE_OMIT_INCRBLOB
#define SQLITE_OMIT_LOOKASIDE
#define SQLITE_OMIT_SHARED_CACHE
#define SQLITE_OM... | 37.939655 | 99 | 0.67496 | [
"MIT"
] | BOBO41/CasinosClient | Assets/Plugins/Sqlite/Impl/pager_h.cs | 8,802 | C# |
using System;
using System.Runtime.Serialization;
using UnityEngine;
namespace UE.Serialization
{
/// <summary>
/// Serialization wrapper for unity vector3.
/// </summary>
[Serializable]
public class SerializedVector3 : ISerializable
{
public Vector3 vector;
public SerializedV... | 26.026316 | 91 | 0.55814 | [
"MIT"
] | hendrik-schulte/unity-binary-serialization | SerializedVector3.cs | 991 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace ProductShop.XMLHelper
{
public static class XMLConverter
{
public static string Serialize<T>(
T dataTransferObjects,
string xmlRootAttri... | 31.730769 | 115 | 0.6 | [
"MIT"
] | q2kPetrov/SoftUni | Entity Framework Core/Exercises/09. XML Processing/ProductShop/ProductShop/XMLHelper/XMLConverter.cs | 2,477 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CognitiveInsta.Core.WebInfographic.Aliases
{
public class ASpirit : Alias
{
public override string GetResult(ProfileInfo info)
{
return info.NameOfMaxWeight... | 20.176471 | 58 | 0.693878 | [
"Unlicense"
] | Nox7atra/Cognitive-Instagram-Infographics | CognitiveInsta/Core/WebInfographic/Aliases/ASpirit.cs | 345 | C# |
using System.Reflection;
using Core.Commands;
using Core.Events;
using Core.Events.External;
using Core.Ids;
using Core.Projections;
using Core.Queries;
using Core.Requests;
using Core.Tracing;
using Core.Tracing.Causation;
using Core.Tracing.Correlation;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
u... | 36.611765 | 116 | 0.721722 | [
"MIT"
] | mehdihadeli/EventSourcing.NetCore | Core/Config.cs | 3,112 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AvoidBalls
{
public class BlueBall
{
public Point Location { get; set; }
public Color Color { get; set; }
public int Radius { get; set; }
... | 26.130435 | 107 | 0.551581 | [
"MIT"
] | Konstantin-Bogdanoski/VP | Exams/AvoidBalls/AvoidBalls/AvoidBalls/BlueBall.cs | 1,204 | C# |
/*----------------------------------------------------------------
Copyright (C) 2019 Senparc
文件名:WeixinController.cs
文件功能描述:用于处理微信回调的信息
创建标识:Senparc - 20150312
----------------------------------------------------------------*/
/*
重要提示
1. 当前 Controller 中的 2 个 Get() 和 Post() 方法展示了有特殊自定义... | 40.229091 | 154 | 0.603543 | [
"Apache-2.0"
] | CoolJie2001/WeiXinMPSDK | Samples/netcore3.0-mvc/Senparc.Weixin.Sample.NetCore3/Controllers/WeixinController.cs | 13,187 | C# |
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using Vanara.InteropServices;
using FILETIME = System.Runtime.InteropServices.ComTypes.FILETIME;
namespace Vanara.PInvoke
{
public static partial class Ole32
{
/// <summary>Specifies options for the RoGetAgileRefere... | 57.79094 | 205 | 0.715882 | [
"MIT"
] | gigi81/Vanara | PInvoke/Ole/Ole32/ComBaseApi.cs | 222,000 | C# |
using System;
using System.Runtime.Serialization;
using BinanceNETStandard.API.Converter;
using BinanceNETStandard.API.Models.Request.Interfaces;
using Newtonsoft.Json;
namespace BinanceNETStandard.API.Models.Request
{
/// <summary>
/// Request object used to retrieve exchange information
/// </summary>
... | 23.117647 | 60 | 0.740458 | [
"Apache-2.0"
] | Civeloo/BinanceSpotBot | BinanceNETStandard/Models/Request/ExchangeInfo.cs | 395 | C# |
using System.Diagnostics;
using System.Xml.Serialization;
using Infragistics.Win.UltraWinGrid;
namespace KaupischITC.InfragisticsControls.LayoutSerialization
{
/// <summary>
/// Stellt Layout-Informationen über eine Spalten-Zusammenfassung bereit
/// </summary>
[DebuggerDisplay("{ColumnKey} {SummaryType}... | 28.153846 | 77 | 0.699454 | [
"MIT"
] | Kaupisch-IT/KaupischIT.Shared | KaupischITC.Infragistics/LayoutSerialization/ColumnSummary.cs | 739 | 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.333333 | 104 | 0.598722 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/EventGrid/V20190201Preview/Inputs/NumberInAdvancedFilterArgs.cs | 1,408 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Memory;
namespace LiveSplit.EldenRing.Timer {
public interface ITimer {
TimeSpan UpdateGameTime(ProcessMemory processMemory);
}
}
| 21.692308 | 62 | 0.734043 | [
"MIT"
] | dwonisch/LiveSplit.EldenRing | LiveSplit.EldenRing/Timer/ITimer.cs | 284 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace AccessibilityInsights.SharedUx.Telemetry
{
/// <summary>
/// Container for a telemetry action and its proper... | 32.391304 | 113 | 0.671141 | [
"MIT"
] | Microsoft/accessibility-insights-windows | src/AccessibilityInsights.SharedUx/Telemetry/TelemetryEvent.cs | 725 | C# |
using App.Server.Hubs;
using App.Shared.Common;
using App.Shared.MessagePackObjects;
using Cysharp.Threading.Tasks;
using System;
using UnityEngine;
using UnityEngine.UI;
namespace App
{
/// <summary>
/// マッチング
/// </summary>
public class MatchingLoop : ILoop, IMatchingHubReceiver
{
/// <s... | 28.817708 | 183 | 0.525032 | [
"MIT"
] | y-tomita/UnityGame | LineDeleteGame/Assets/Scripts/App/Loop/MatchingLoop.cs | 5,831 | C# |
using Recipes.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recipes.Domain.Contracts
{
public interface ICommentService : IServiceBase<CommentModel>
{
}
}
| 18.785714 | 64 | 0.775665 | [
"MIT"
] | VangelIliev/Recipies | Recipies/Domain.Contracts/ICommentService.cs | 265 | 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.377778 | 150 | 0.677764 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/CloudWatchEvents/Generated/Model/Internal/MarshallTransformations/UpdateConnectionOAuthRequestParametersMarshaller.cs | 3,274 | 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: AssemblyTi... | 39.27027 | 85 | 0.730213 | [
"MIT"
] | mainframebot/csharp-datastructures-priorityqueue | MinPriorityQueueLesson/Properties/AssemblyInfo.cs | 1,456 | C# |
using System;
namespace Vertex.Transaction.Exceptions
{
public class TxSnapshotException : Exception
{
public TxSnapshotException(string actorId, long snapshotVersion, long backupSnapshotVersion)
{
this.ActorId = actorId;
this.SnapshotVersion = snapshotVersion;
... | 26.047619 | 100 | 0.656307 | [
"MIT"
] | Cloud33/Vertex | src/Vertex.Transaction/Exceptions/TxSnapshotException.cs | 549 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace memamjome.AppveyorVSPackage.Services.Impl
{
[Export(typeof(memamjome.AppveyorVSPackage.Services.IMessenger))]
internal class Messenger : memamj... | 26.064516 | 78 | 0.675743 | [
"MIT"
] | misamae/AppveyorVSPackage | AppveyorVSPackage/Services/Impl/Messenger.cs | 810 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OwlCore.Remoting;
using OwlCore.Extensions;
using System.Collections.Generic;
using System.Linq;
using OwlCore.Tests.Remoting.Transfer;
using OwlCore.Tests.Remoting.Mock;
namespace OwlCore.Tests.Remoting
{
/// <remarks>
/// These tests assume that the ... | 35.292683 | 116 | 0.682792 | [
"MIT"
] | Arlodotexe/OwlCore | tests/Remoting/MemberRemoteTests.cs | 1,449 | C# |
// <copyright file="HttpHeaderCodecTests.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System;
usi... | 40.2 | 113 | 0.667993 | [
"Apache-2.0"
] | DataDog/dd-trace-csharp | tracer/test/Datadog.Trace.OpenTracing.Tests/HttpHeaderCodecTests.cs | 3,015 | C# |
using System;
using Prowlin;
using FeuerwehrCloud.Plugin;
using Prowlin.Interfaces;
using System.IO;
using System.Reflection;
namespace FeuerwehrCloud.Output
{
public class Prowl : Plugin.IPlugin
{
#region IPlugin implementation
public event PluginEvent Event;
private FeuerwehrCloud.Plugin.IHost My;
public... | 20.425287 | 114 | 0.689364 | [
"MIT"
] | bhuebschen/feuerwehrcloud-deiva | FeuerwehrCloud.Output.Prowl/MyClass.cs | 1,779 | C# |
using System;
using System.Reflection;
using NUnit.Common;
using NUnitLite;
namespace coding_challenges_csharp
{
class Program
{
static void Main(string[] args)
{
new AutoRun(typeof(Program).GetTypeInfo().Assembly)
.Execute(args, new ExtendedTextWrapper(... | 21.705882 | 82 | 0.609756 | [
"MIT"
] | ashleybarrett/CodingChallenges-CSharp | Program.cs | 371 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Uno.Compiler.Backends.UnoDoc.ViewModels;
using Uno.Compiler.Backends.UnoDoc.ViewModels.MetaData;
namespace Uno.Compiler.Backends.UnoDoc.Rendering
{
public class TableOfContentsBuilder
{
private readonly DocumentViewModel _viewMod... | 50.432558 | 238 | 0.500784 | [
"MIT"
] | Nicero/uno | src/compiler/backend/unodoc/Rendering/TableOfContentsBuilder.cs | 10,845 | C# |
namespace Kenc.ACMELib.Exceptions.API
{
using System;
[Serializable]
[ACMEException("urn:ietf:params:acme:error:rejectedidentifier")]
public class RejectedIdentifierException : ACMEException
{
public RejectedIdentifierException(int status, string detail) : base(status, detail)
{
... | 24 | 92 | 0.684524 | [
"MIT"
] | Kencdk/Kenc.ACMELib | src/Libraries/ACMELib/Exceptions/API/RejectedIdentifierException.cs | 338 | 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;
using System.ComponentModel;
using System.Linq.CompilerServices;
using System.Linq.Expressions;
using... | 34.94958 | 137 | 0.627074 | [
"MIT"
] | Botcoin-com/reaqtor | Reaqtive/Core/Reaqtive.Quotation/Reaqtive/Expressions/DefaultExpressionPolicy.cs | 4,161 | C# |
namespace Telerik.Sitefinity.Frontend.Forms.Mvc.Models.Fields.SectionHeader
{
/// <summary>
/// Implements API for working with form section header elements.
/// </summary>
public class SectionHeaderModel : FormElementModel, ISectionHeaderModel
{
/// <inheritDocs />
public string Te... | 26 | 76 | 0.525199 | [
"Apache-2.0"
] | MrJustPeachy/feather-widgets | Telerik.Sitefinity.Frontend.Forms/Mvc/Models/Fields/SectionHeader/SectionHeaderModel.cs | 756 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class WizardCreate : ScriptableWizard
{
public Transform renderFromPosition;
public Cubemap cubemap;
void OnWizardUpdate()
{
helpString = "Select transform to render from and cubemap to re... | 27.210526 | 82 | 0.658607 | [
"MIT"
] | getker/UnityShaderLibrary | Assets/ShaderBook/10.2/Editor/WizardCreate.cs | 1,036 | C# |
using System.Windows;
using System.Windows.Controls;
namespace FarsiLibrary.WPF.Controls
{
public class FXMonthViewItem : ListBoxItem
{
static FXMonthViewItem()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(FXMonthViewItem), new FrameworkPropertyMetadata(typeof(FXMonthViewItem))... | 28.142857 | 134 | 0.651438 | [
"MIT"
] | HEskandari/FarsiLibrary | FarsiLibrary.WPF/Controls/MonthView/FXMonthViewItem.cs | 591 | C# |
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2022 @Olivier Lefebvre
using System;
using System.Collections.Generic;
using System.Linq;
using Entity = Aguacongas.IdentityServer.Store.Entity;
namespace Aguacongas.TheIdServer.BlazorApp.Pages.Client.Components
{
public partial class ClientSecrets
{
... | 36.5 | 260 | 0.720548 | [
"Apache-2.0"
] | LibertyEngineeringMovement/TheIdServer | src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Pages.Client/Components/ClientSecrets.razor.cs | 732 | C# |
using System.Collections.Generic;
namespace SeaBlog.Roles.Dto
{
public class GetRoleForEditOutput
{
public RoleEditDto Role { get; set; }
public List<FlatPermissionDto> Permissions { get; set; }
public List<string> GrantedPermissionNames { get; set; }
}
} | 22.692308 | 64 | 0.674576 | [
"MIT"
] | crybigsea/SeaBlog.ABP | aspnet-core/src/SeaBlog.Application/Roles/Dto/GetRoleForEditOutput.cs | 297 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Diagnostics.Runtime.Interop;
namespace MS.Dbg
{
public class DbgExceptionEventFilter : DbgEventFilter // TODO: IEquatable?
{
public uint ExceptionCode { get; private set; }
public string SecondComman... | 44.174312 | 103 | 0.52378 | [
"MIT"
] | jazzdelightsme/tmp_DbgShell2 | DbgProvider/public/Debugger/DbgExceptionEventFilter.cs | 9,632 | C# |
using System.IO;
namespace TeleSharp.TL
{
[TLObject(548253432)]
public class TLInputPeerChannel : TLAbsInputPeer
{
public override int Constructor
{
get
{
return 548253432;
}
}
public int ChannelId { get; set; }
pub... | 19.225 | 61 | 0.513654 | [
"MIT"
] | cobra91/TelegramCSharpForward | TeleSharp.TL/TL/TLInputPeerChannel.cs | 769 | C# |
using System;
using System.IO;
namespace Calamari.Common.Features.ConfigurationTransforms
{
public class XmlConfigTransformDefinition
{
readonly string definition;
public XmlConfigTransformDefinition(string definition)
{
this.definition = definition;
if (defini... | 32.844828 | 96 | 0.542782 | [
"Apache-2.0"
] | OctopusDeploy/Calamari | source/Calamari.Common/Features/ConfigurationTransforms/XmlConfigTransformDefinition.cs | 1,907 | C# |
namespace BotBase.Exceptions
{
public class CommandNotSupportedException : BotException
{
public override string Message => "this command does not exist";
}
}
| 22.5 | 72 | 0.705556 | [
"MIT"
] | Topinambur223606/BotBase | BotBase/Exceptions/CommandNotSupportedException.cs | 182 | C# |
using System.Threading.Tasks;
using ConfigureAwaitChecker.Lib;
using ConfigureAwaitChecker.Tests;
[CheckerTests.ExpectedResult(CheckerProblem.MissingConfigureAwaitFalse)]
[CodeFixTests.TestThis]
public class AwaitForEach_Missing
{
public async Task FooBar()
{
await foreach (var item in TestsBase.AsyncEnumerable()... | 22.2 | 72 | 0.804805 | [
"MIT"
] | cincuranet/ConfigureAwaitChecker | ConfigureAwaitChecker.Tests/TestClasses/AwaitForeach_Missing.cs | 335 | 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
*
... | 31.783333 | 84 | 0.635553 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Iotvideoindustry/V20201201/Models/DescribeChannelsByLiveRecordPlanResponse.cs | 2,063 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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 reg... | 25.330383 | 111 | 0.648306 | [
"MIT"
] | lbugnion/sample-2018-ndcsydney | Mvvm/XamBindingSample/XamBindingSample/XamBindingSample.Droid/Resources/Resource.Designer.cs | 8,587 | C# |
using YourBrand.ApiKeys.Application.Commands;
using MediatR;
namespace YourBrand.ApiKeys.Application;
public static class ServiceExtensions
{
public static IServiceCollection AddApplication(this IServiceCollection services, IConfiguration configuration)
{
services.AddMediatR(typeof(Check... | 23.375 | 116 | 0.745989 | [
"MIT"
] | marinasundstrom/YourBrand | ApiKeys/ApiKeys/Application/ServiceExtensions.cs | 376 | C# |
using System;
using SDRSharp.Radio;
namespace SDRSharp.DNR
{
public unsafe class NoiseFilter : FftProcessor
{
private const int WindowSize = 32;
private float _noiseThreshold;
private readonly UnsafeBuffer _gainBuffer;
private readonly float* _gainPtr;
private readon... | 27.469136 | 78 | 0.478652 | [
"MIT"
] | lukeattard/SDRSharpNG | DNR/NoiseFilter.cs | 2,227 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using EDziekanat.Core.Departments;
using EDziekanat.Core.Messages;
using EDziekanat.Core.Users;
namespace EDziekanat.Core.DeansOffices
{
public class DeansOffice : BaseEntity
{
public string Name { get; set; }
public string Des... | 31.826087 | 74 | 0.692623 | [
"MIT"
] | jendruss/EDziekanatAPI | src/EDziekanat.Core/DeansOffices/DeansOffice.cs | 734 | C# |
// ========================================
// Project Name : WodiLib
// File Name : ChoiceStartForkingRightKey.cs
//
// MIT License Copyright(c) 2019 kameske
// see LICENSE file
// ========================================
using System;
using System.ComponentModel;
using WodiLib.Project;
namespace Wodi... | 34.862745 | 110 | 0.559055 | [
"MIT"
] | kameske/WodiLib | WodiLib/WodiLib/Event/EventCommand/Implement/ChoiceStartForkingRightKey.cs | 1,820 | C# |
using Bonsai;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using OpenCV.Net;
using NationalInstruments.DAQmx;
using System.Runtime.InteropServices;
using System.Reactive.Disposables;
using System.Collections.ObjectModel;
using System.Compo... | 35.12963 | 127 | 0.566157 | [
"MIT"
] | bonsai-rx/daqmx | Bonsai.DAQmx/DigitalOutput.cs | 1,899 | C# |
using System;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text.RegularExpressions;
using Discord.WebSocket;
namespace SharpBot.Utility {
public static class TimeUtil {
/// <summary>
/// Date format used to convert time to a human-readable detailed form.
... | 38.064516 | 122 | 0.613559 | [
"MIT"
] | arrayofc/SharpBot | SharpBot/Utility/TimeUtil.cs | 2,362 | C# |
using Microsoft.Win32;
using MonoMod.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace MonoMod.Installer {
public class SteamFinder : GameFinder {
// "" -> "
public readonly static Regex Ba... | 37.126214 | 140 | 0.507061 | [
"MIT"
] | EverestAPI/Everest.Installer | src/Finders/SteamFinder.cs | 3,826 | C# |
namespace Cryptofolio.Infrastructure.Entities
{
/// <summary>
/// Models a transaction of type "Buy" or "Sell".
/// </summary>
public class BuyOrSellTransaction : Transaction
{
/// <summary>
/// Defines the transaction type:
/// - Buy
/// - Sell
/// </summary>... | 25.192308 | 53 | 0.520611 | [
"MIT"
] | fperronnet/cryptofolio | src/Cryptofolio.Infrastructure/Entities/BuyOrSellTransaction.cs | 655 | C# |
/*
* Copyright(c) 2018 Samsung Electronics Co., Ltd.
*
* 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 ... | 44.882587 | 234 | 0.605045 | [
"Apache-2.0"
] | sparrow74/TizenFX | src/Tizen.NUI/src/public/UIComponents/ScrollView.cs | 79,128 | C# |
using System;
using System.Collections;
using System.Globalization;
using System.Linq;
#if HAS_UNO
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
using _CultureInfo = System.String;
#else
using System.Windows;
using _CultureInfo = System.Globalization.CultureInfo;
using System.Windows.Data;
#endif
namespace Pac... | 28.162162 | 112 | 0.528791 | [
"MIT"
] | MarcelWolf1983/NuGetPackageExplorer | PackageExplorer/Converters/NullToVisibilityConverter.cs | 2,086 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Devices
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class DefaultAudioCaptureDeviceChangedEventArgs : global::Windows.Media.Devices.ID... | 35.971429 | 157 | 0.772836 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Devices/DefaultAudioCaptureDeviceChangedEventArgs.cs | 1,259 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Collections;
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Utilities;
using System.Collections.Generic;
using System.... | 45.71028 | 188 | 0.600014 | [
"Apache-2.0"
] | AdamSpeight2008/roslyn-1 | src/Compilers/CSharp/Portable/Symbols/MethodSymbolExtensions.cs | 14,675 | C# |
using System;
// ReSharper disable CheckNamespace
namespace TouchPortalSDK.Extensions.Attributes
{
public static partial class Data
{
[AttributeUsage(AttributeTargets.Parameter)]
public class TextAttribute : DataAttribute
{
public override string Type => "text";
... | 21.833333 | 63 | 0.641221 | [
"MIT"
] | oddbear/TouchPortalSDK.Extensions | TouchPortalSDK.Extensions.Attributes/Data/Data.TextAttribute.cs | 395 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | 40.567568 | 103 | 0.750833 | [
"MIT"
] | obrassard/ADO-Accelerator | PainlessADO/Properties/AssemblyInfo.cs | 1,526 | C# |
using System;
using System.Net;
using System.Net.Sockets;
using System.Security;
using System.Threading;
namespace ExitGames.Client.Photon
{
internal class SocketUdp : IPhotonSocket
{
private Socket sock;
private readonly object syncer = new object();
public SocketUdp(PeerBase npeer)
: base(npeer)
{
... | 22.46875 | 105 | 0.652295 | [
"Apache-2.0"
] | alerithe/guardian | Assembly-CSharp/ExitGames.Client.Photon/SocketUdp.cs | 3,595 | C# |
// The MIT License (MIT)
//
// Copyright (c) Andrew Armstrong/FacticiusVir 2019
//
// 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 r... | 40.866667 | 81 | 0.641272 | [
"MIT"
] | Y-Less/SharpVk | src/SharpVk/DynamicState.gen.cs | 6,130 | C# |
namespace SoftUniClone.Data
{
using Configurations;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Models;
public class SoftUniCloneDbContext : IdentityDbContext<User>
{
public DbSet<Course> Courses { get; set; }
public DbSe... | 29.027027 | 85 | 0.654562 | [
"MIT"
] | Shtereva/CSharp-MVC-ASP.Net-Core | SoftUniClone/SoftUniClone.Data/SoftUniCloneDbContext.cs | 1,076 | 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... | 28.160377 | 156 | 0.496147 | [
"ECL-2.0",
"Apache-2.0"
] | sacloud/pulumi-sakuracloud | sdk/dotnet/GetIcon.cs | 2,985 | C# |
using System;
using Unity.Lifetime;
using Unity.Policy;
using Unity.Storage;
namespace Unity
{
public partial class UnityContainer
{
/// <inheritdoc />
public partial class ContainerContext
{
#region Extension Context
public override UnityContainer Container { ... | 29.859155 | 114 | 0.578774 | [
"Apache-2.0"
] | danielp37/container | src/UnityContainer/Context/Context.cs | 2,122 | C# |
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Serializers;
using Chinook.Data;
using EasyLOB.Persistence;
namespace Chinook.Persistence
{
public static partial class ChinookMongoDBMap
{
public static void CustomerDocumentMap()
{
i... | 33.642857 | 78 | 0.569002 | [
"MIT"
] | EasyLOB/EasyLOB-Chinook-1 | Chinook.PersistenceMongoDB/Maps/CustomerDocumentMap.cs | 942 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrbitLayout : MonoBehaviour {
public GameObject prefab;
public int num = 4;
public float radius = 1.5f;
public Vector3 axis = Vector3.up;
// Use this for initialization
void Start () {
float angleDi... | 25.24 | 102 | 0.62599 | [
"MIT"
] | kaiware007/UnityVJShaderSlide20181108 | Assets/Scripts/OrbitLayout.cs | 633 | C# |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace FarseerPhysics.Common
{
public static class TextureConverter
{
//User contribution from Sickbattery
/// <summary>
/// TODO:
/// 1.) Das Array welches ich bekomme am besten in einen bool ar... | 34.712835 | 124 | 0.39094 | [
"MIT"
] | somethingnew2-0/Pinball | FarseerLibrary/Common/TextureConverter.cs | 37,598 | C# |
using System.Linq;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using $ext_safeprojectname$.Core.Data;
using $ext_safeprojectname$.Core.Service;
namespace $safeprojectname$
{
[TestClass]
public class CustomerServiceTests
{
[TestMethod]
... | 28.384615 | 123 | 0.658537 | [
"MIT"
] | miseeger/VisualStudio.Templates | Sources/AspDotNet Core WinAuth WebApi NgClient/NgWebApp.Test/CustomerServiceTests.cs | 738 | C# |
using System;
using System.Collections.Generic;
using SkiaSharp;
namespace Kaemika {
public enum Platform { Windows, macOS, Android, iOS, NONE }
public enum Noise { None = 0, SigmaRange = 1, Sigma = 2, CV = 3, SigmaSqRange = 4, SigmaSq = 5, Fano = 6 }
public class Error : Exception {
public Err... | 54.802469 | 272 | 0.613539 | [
"MIT"
] | luca-cardelli/KaemikaXM | Kaemika/GuiInterface.cs | 8,920 | C# |
namespace Default_WindowsFormsBlazorApp
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 35.423729 | 107 | 0.57799 | [
"Apache-2.0"
] | vincoss/blazor-samples | src/Tutorial_WindowsFormsBlazorApp/Form1.Designer.cs | 2,092 | C# |
namespace BroadcastPlugin.ConfigObjects
{
public class ConfigChaos
{
public ushort Duration{ get; set; }
public string Message { get; set; }
public bool OnlyForCdpAndChi { get; set; }
}
public class ConfigNtf
{
public ushort Duration { get; set; }
... | 33.605634 | 51 | 0.554065 | [
"MIT"
] | terracorra/BroadcastPlugin | Broadcast/ConfigObjects/ConfigTypes.cs | 2,388 | C# |
#pragma checksum "/app/dotnetapp/Views/Home/Privacy.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d8ddb6bffa5a9b264bf8f89038bf03c234083fd3"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_Privacy), @"mvc.... | 46.597015 | 168 | 0.732543 | [
"MIT"
] | speedsticko/project-starterkits | aspnetcore/dotnetapp/obj/Debug/netcoreapp2.2/Razor/Views/Home/Privacy.g.cshtml.cs | 3,122 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.