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
// dnlib: See LICENSE.txt for more info namespace dnlib.DotNet { /// <summary> /// Resolves tokens /// </summary> public interface ITokenResolver { /// <summary> /// Resolves a token /// </summary> /// <param name="token">The metadata token</param> /// <param name="gpContext">Generic parameter context</p...
35.703704
139
0.685685
[ "MIT" ]
0xd4d/dnlib
src/DotNet/ITokenResolver.cs
964
C#
// MIT License // // Copyright (c) 2016 Wojciech Nagórski // // 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...
36.560976
81
0.602402
[ "MIT" ]
JnsV/ExtendedXmlSerializer
test/ExtendedXmlSerializerTest/TestObject/TestClassPrimitiveTypesNullable.cs
3,001
C#
namespace SugCon.Website.Controllers { using Newtonsoft.Json; using Sitecore; using Sitecore.ContentSearch; using Sitecore.ContentSearch.Maintenance; using Sitecore.ContentSearch.Utilities; using Sitecore.Security.Accounts; using SugCon.Models.Notifications; using SugCon.Website.Events;...
40.0625
192
0.555605
[ "MIT" ]
avwolferen/SitecoreBot
src/SugCon.Website/Controllers/BotIndexController.cs
4,489
C#
[TestFixture] public class ClassANotClassATests { }
13.5
34
0.777778
[ "BSD-3-Clause" ]
MarkSandy/Resharper.TestCop
Project/Src/test/data/highlighting/TestClassNameWarning/ClassBHasClassATests.cs
54
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
42.44
121
0.640905
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.ApiGateway.V1/Google.Cloud.ApiGateway.V1.GeneratedSnippets/ApiGatewayServiceClient.ListApiConfigsResourceNamesSnippet.g.cs
3,183
C#
using System; using UIKit; using Foundation; using ObjCRuntime; using CoreGraphics; using Firebase.Core; namespace Firebase.CloudFunctions { // @interface FIRFunctions : NSObject [DisableDefaultCtor] [BaseType(typeof(NSObject), Name = "FIRFunctions")] interface CloudFunctions { // + (FIRFunctions *)functions;...
30.012987
144
0.74643
[ "MIT" ]
DigitallyImported/GoogleApisForiOSComponents
source/Firebase/CloudFunctions/ApiDefinition.cs
2,313
C#
#pragma checksum "C:\Users\Burak\Documents\GitHub\natParkiAPIwithNetMVC\ParkiWEB\Views\Home\Login.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e6a6fc8badbe981406bac568ecf7091f360b33ea" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute...
82.718615
360
0.729223
[ "MIT" ]
burakguler/natParkiAPIwithNetMVC
ParkiWEB/obj/Debug/netcoreapp3.1/Razor/Views/Home/Login.cshtml.g.cs
19,108
C#
using System; using System.Linq; using System.Collections.Generic; using UnityEngine; namespace EcoBuilder.Archie { public class animal_object : MonoBehaviour { [SerializeField] SkinnedMeshRenderer smr; [SerializeField] Animator anim; public SkinnedMeshRenderer Renderer { get { return ...
27.102041
84
0.55497
[ "MIT" ]
jxz12/EcoBuilder
Assets/Archie/Testing_Scenes/animal_object.cs
1,330
C#
namespace Frank.Libraries.Ubl; /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:...
39.642857
176
0.75045
[ "MIT" ]
frankhaugen/Frank.Extensions
src/Frank.Libraries.Ubl/UBL/UBLDocumentSignaturesType.cs
1,110
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 ...
21.015038
98
0.647943
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-ivision/Ivision/Model/V20190308/CreateProjectRequest.cs
2,795
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...
29.654545
106
0.679951
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Pinpoint/Generated/Model/UpdateTemplateActiveVersionResponse.cs
1,631
C#
using App.Shared.Commands; using System; namespace App.Domain.Commands.Request.Provider { public class DeleteProviderRequest : ICommand { public Guid Id { get; set; } } }
17.545455
49
0.683938
[ "MIT" ]
carlosrogerioinfo/Core-API
App.Domain/Commands/Request/Provider/DeleteProviderRequest.cs
195
C#
using System.Collections.Generic; namespace Roki.Web.Models { public class ChannelViewModel { public Guild Guild { get; set; } public List<Channel> Channels { get; set; } } }
20.3
51
0.64532
[ "MIT" ]
louzhang/roki
Roki.Web/Models/ViewModels.cs
203
C#
namespace Basic.IO { using System; /// <summary> /// Declares input and output operations. /// </summary> public interface IInputOutput { /// <summary> /// Occurs when the user breaks the program, f.e. when the user presses <c>Ctrl+C</c> or <c>Ctrl+Break</c>. /// </summ...
29.566038
115
0.529036
[ "Unlicense" ]
markshevchenko/basic
Basic/IO/IInputOutput.cs
1,569
C#
 using System; namespace LMS.Core.Models { /// <summary> /// Serialization class in place of the NameValueCollection pairs /// </summary> /// <remarks>This exists because things like a querystring can havle multiple values, they are not a dictionary</remarks> public struct NameValuePair { ...
28.478261
125
0.576336
[ "MIT" ]
RaynaldM/Shitsuke
LMS.Core/Models/BaseModels.cs
1,312
C#
using System.Collections.Generic; using APIS.WebScrapperLogic.Utils; namespace APIS.WebScrapperLogic.Interfaces { public interface IWebScrapper { bool CanWebscrape(string companyGLN, string productURL); WebScrappedData Webscrape(string hyperlink); WebScrappedData FindAndWebscrape(strin...
32.785714
95
0.755991
[ "Unlicense" ]
alexmanie/docker-chrome-selenium
APIS.WebScrapperLogic/Interfaces/IWebScrapper.cs
461
C#
using System; using Reinforced.Tecture.Testing; namespace Reinforced.Tecture.Features.Orm.Testing.Checks.Delete { public static class DeleteChecks { public static DeletePredicateCheck<T> Delete<T>(Func<T, bool> predicate, string explanation) => new DeletePredicateCheck<T>(predicate, explanation); ...
29.454545
156
0.753086
[ "MIT" ]
ForNeVeR/Reinforced.Tecture
Features/Reinforced.Tecture.Features.Orm/Testing/Checks/Delete/DeleteChecks.cs
326
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CinematicActionSetVariable : CinematicAction { private string mKey; private string mValue; public override string actionName { get { return "set"; } } public overri...
23.181818
93
0.671895
[ "Unlicense", "MIT" ]
bdsowers/cutiequest
Assets/Scripts/Core/Cinematic/CinematicActions/CinematicActionSetVariable.cs
767
C#
// This file is part of the re-linq project (relinq.codeplex.com) // Copyright (C) 2005-2009 rubicon informationstechnologie gmbh, www.rubicon.eu // // re-linq is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License as published by the // Free Software F...
39.773723
154
0.697926
[ "MIT" ]
rajcybage/BrightstarDB
src/portable/BrightstarDB.Portable/relinq/RelinqCore/Clauses/ResultOperators/AggregateResultOperator.cs
5,449
C#
using Promitor.Core.Scraping.Configuration.Serialization; using Promitor.Core.Scraping.Configuration.Serialization.v1.Model; using Promitor.Core.Scraping.Configuration.Serialization.v1.Model.ResourceTypes; using Promitor.Core.Scraping.Configuration.Serialization.v1.Providers; using Xunit; namespace Promitor.Scraper.T...
36.883721
103
0.686003
[ "MIT" ]
DaveOHenry/promitor
src/Promitor.Scraper.Tests.Unit/Serialization/v1/Providers/StorageAccountDeserializerTests.cs
1,588
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BrokenMOFatImageDump { class DirEnt { internal const int DirEntSize = 32; internal string FileName; internal string FileExt; internal b...
35.336634
116
0.508266
[ "MIT" ]
autumn009/d88explorer
BrokenMOFatImageDump/BrokenMOFatImageDump/Directory.cs
3,571
C#
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WAR...
42.043478
204
0.597208
[ "MIT" ]
Azure3bt/Xinq
Projects/Package/Sources/Xinq/Microsoft.VisualStudio.Shell/ProvideXmlEditorChooserDesignerViewAttribute.cs
7,738
C#
using System.IO; using System.Threading; using System.Threading.Tasks; namespace ThirdPartyLibraries.NuGet { public interface INuGetApi { Task<byte[]> ExtractSpecAsync(NuGetPackageId package, byte[] packageContent, CancellationToken token); NuGetSpec ParseSpec(Stream content); Task<s...
33.263158
118
0.757911
[ "MIT" ]
max-ieremenko/ThirdPartyLibraries
Sources/ThirdPartyLibraries.NuGet/INuGetApi.cs
634
C#
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; namespace puzzlegen.database { public class DBItem { private string _className; public string ClassName { get { return _className; } } private Dictionary<string, object> _properties; public bool ...
22.663793
72
0.670978
[ "MIT" ]
alect/Puzzledice
Unity/Sandwitch/Assets/puzzlegen/database/DBItem.cs
2,629
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Security.Policy { [Flags] public enum PolicyStatementAttribute { All = 3, Exclusive = 1, LevelFinal = 2, Nothing = 0, ...
21.666667
71
0.633846
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Security.Permissions/src/System/Security/Policy/PolicyStatementAttribute.cs
325
C#
//-------------------------------------------------------------------------------------------------- // <copyright file="ReleaseArtifactRepositoryTest.cs" company="Traeger Industry Components GmbH"> // This file is protected by Traeger Industry Components GmbH Copyright © 2019-2020. // </copyright> // <author>Fabia...
41.292576
139
0.521256
[ "MIT" ]
tiwalter/release-server
sources/ReleaseServer/ReleaseServer.WebApi.Test/Repositories/ReleaseArtifactRepositoryTest.cs
18,913
C#
using System; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; namespace webjobs_core_example { public class Jobs { public static void ListenOnQueue([QueueTrigger("testqueue")] string message, TraceWriter log) { log.Info($"Hello {message}"); } } }
27.454545
103
0.68543
[ "MIT" ]
christopheranderson/azure-webjobs-dotnet-core-sample
src/jobs/Jobs.cs
302
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...
50.606796
179
0.641727
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/MachineLearningServices/V20200301/PrivateEndpointConnection.cs
10,425
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [ExecuteInEditMode] public class Teste : MonoBehaviour { public Rect lifeBarRect; public Rect lifeBarLabelRect; public Rect lifeBarBackgroundRect; public Texture2D lifeBarBackground; public Texture2D lifeBar; public GameObject Pl...
23
155
0.714834
[ "MIT" ]
douglasciole/SimpleAI
Assets/SimpleAI/Scripts/Teste.cs
784
C#
using System.Threading.Tasks; namespace NpuRozklad.Telegram.LongLastingUserActions { public interface ILongLastingUserActionManager { Task UpsertUserAction(LongLastingUserActionArguments arguments); Task ClearUserAction(TelegramRozkladUser rozkladUser); Task<LongLastingUserActionArgumen...
36.181818
111
0.809045
[ "MIT" ]
matryosha/Npu-Rozklad-App
Src/NpuRozklad.Telegram/LongLastingUserActions/ILongLastingUserActionManager.cs
398
C#
using AnnoSavegameViewer.Serialization.Core; using System.Collections.Generic; namespace AnnoSavegameViewer.Structures.Savegame.Generated { public class OriginalShareOwnerList { [BinaryContent(Name = "value", NodeType = BinaryContentTypes.Node)] public OriginalShareOwnerListValue Value { get; set; } } }
26.666667
71
0.7875
[ "MIT" ]
brumiros/AnnoSavegameViewer
AnnoSavegameViewer/Structures/Savegame/Generated/NoContent/OriginalShareOwnerList.cs
320
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
52.563291
330
0.622607
[ "MIT" ]
Andrean/azure-powershell
src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs
32,591
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace pirates.GameObjects { /// <summary> /// Class for the FlagShip, a special BattleShip with minor differences. /// </summary> public sealed class FlagShip : BattleShip {...
28.015152
86
0.505138
[ "MIT" ]
ShiroDevC/Old_Code
c#/Pirates/src/GameObjects/FlagShip.cs
1,851
C#
using System; using System.Collections.Generic; using System.Text; using IKende.com.core; namespace Peanut.Mappings { /// <summary> /// 存储过程参数描述 /// </summary> [AttributeUsage(AttributeTargets.Property)] public class ProcParameterAttribute:Attribute { /// <summary> /// 参数名 ...
18.791667
55
0.443459
[ "MIT" ]
TracyHu/IKendeLib
Peanut/Peanut/Mappings/PorcParameterAttribute.cs
958
C#
using System; using System.Collections; using System.Collections.Generic; using System.Net.Http; using System.Text; namespace Couchbase.Search { /// <summary> /// The result of a search query. /// </summary> /// <seealso cref="Couchbase.Search.ISearchQueryResult" /> public class SearchQueryResult ...
30.023952
115
0.528121
[ "Apache-2.0" ]
Svizel/couchbase-net-client
Src/Couchbase/Search/SearchQueryResult.cs
5,016
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...
41.178082
189
0.622089
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Backup/Generated/Model/Internal/MarshallTransformations/GetBackupSelectionResponseUnmarshaller.cs
6,012
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...
43.38
195
0.631935
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Imagebuilder/Generated/Model/Internal/MarshallTransformations/ListImagePipelineImagesResponseUnmarshaller.cs
6,507
C#
using System.Collections.Generic; using Magicalizer.Data.Entities.Abstractions; namespace App.Data.Entities { public class Category : IEntity<int> { public int Id { get; set; } public string Name { get; set; } public virtual ICollection<Product> Products { get; set; } } }
22.538462
62
0.703072
[ "Apache-2.0" ]
Magicalizer/Magicalizer-Sample
App/Entities/Category.cs
295
C#
using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace KakuEditorTools { public abstract class WindowEditorBase<T> : EditorWindow where T : WindowEditorBase<T> { protected static string WindowTitle { get; set; } protected static bool IsUtility { get; se...
38.653571
258
0.556962
[ "MIT" ]
gdut-kaku/UIGameTools
UIGameTools/Assets/UnityTools/UGUITools/EditorTools/Editor/Base/WindowEditorBase.cs
11,445
C#
namespace LRS.NET.Core.Domain.Components { public interface IComponent {} }
25.333333
42
0.789474
[ "MIT" ]
m-sadegh-sh/LRS.NET
src/LRS.NET.Core/Domain/Components/IComponent.cs
76
C#
using System; using System.Reactive.Linq; namespace Shiny.BluetoothLE { public interface ICanRequestMtu : IPeripheral { IObservable<int> RequestMtu(int size); /// <summary> /// Fires when MTU size changes /// </summary> /// <returns>The mtu change requested.</returns> ...
26.073171
111
0.633302
[ "MIT" ]
Codelisk/shiny
src/Shiny.BluetoothLE/Feature_Mtu.cs
1,071
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace DataAccess { public class HistoryLogin { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] ...
25.384615
61
0.675758
[ "Apache-2.0" ]
nguyendev/DATN
Code/Models/HistoryLogin.cs
662
C#
namespace SpaceEngineers.Core.DataAccess.Orm.PostgreSql.Translation { using System.Linq; using System.Text; using AutoRegistration.Api.Attributes; using AutoRegistration.Api.Enumerations; using Basics; using CompositionRoot.Api.Abstractions.Container; using Sql.Translation; using Sql.Tra...
33.42623
95
0.554193
[ "MIT" ]
warning-explosive/Core
Modules/DataAccess.Orm.PostgreSql/Translation/ProjectionExpressionTranslator.cs
2,039
C#
/* * Author: © noblesigma * Project: NWNLogRotator * GitHub: https://github.com/noblesigma/NWNLogRotator * Date: 3/3/2021 * License: MIT * Purpose: This program is designed used alongside the Neverwinter Nights game, either Enhanced Edition, or 1.69. * This program does ...
38.231527
119
0.541812
[ "MIT" ]
noblesigma/NWNLogRotator
Classes/Settings.cs
7,764
C#
/** * Copyright 2019 Adobe Systems Incorporated. All rights reserved. * This file is licensed to you 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 * * Unl...
63.344114
1,289
0.628122
[ "Apache-2.0" ]
gabon/AdobeSignCSharpSDK
src/AdobeSign.Rest/Model.Agreements/AgreementCreationInfo.cs
48,971
C#
using System; using System.ComponentModel.DataAnnotations.Schema; namespace AppGM.Core { /// <summary> /// Representa el clima actual en un rol. /// </summary> public class ModeloClimaHorario : ModeloBase { /// <summary> /// Tipo de clima general en un rol. /// </summary> ...
27.844828
103
0.534365
[ "Unlicense" ]
ElGranNachito/AplicacionGM
AppGM/AppGMCore/Modelos/Datos/Juego/ModeloClimaHorario.cs
1,617
C#
#region using System; using System.Collections.Generic; using System.Net.Http; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.Owin.Infrastructure; using Microsoft.Owin.Logging; using Microsoft.Owin.Security; using Microsoft.Owin.Security.Infrastructure; using Newtonsoft.Json; using Newton...
33.99187
139
0.737025
[ "MIT" ]
AliEbadi/OwinOAuthProviders
src/Owin.Security.Providers.Podbean/PodbeanAuthenticationHandler.cs
8,364
C#
using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Mvc; using NerdStore.Core.Messages.CommonMessages.Notifications; namespace NerdStore.WebApp.MVC.Extensions { public class SummaryViewComponent : ViewComponent { private readonly DomainNotificationHandler _notifications; p...
31.96
96
0.713392
[ "MIT" ]
MatheusNCarvalho/Curso-Teste-De-Software
03 - Testes de Integracao/src/NerdStore.WebApp.MVC/Extensions/SummaryViewComponent.cs
801
C#
using System; using System.IO; using DjvuNet.Compression; using DjvuNet.Graphics; using DjvuNet.Interfaces; namespace DjvuNet.Wavelet { /// <summary> This class represents structured wavelette data.</summary> public class IWPixelMap : ICodec { #region Private Variables private IWCodec _cb...
27.483974
107
0.413761
[ "MIT" ]
fel88/CommonLibs
DjvuNet/Wavelet/Original_IWPixelMap.cs
8,575
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extens...
48.990654
211
0.631629
[ "Apache-2.0" ]
belav/aspnetcore
src/Http/Authentication.Core/src/AuthenticationSchemeProvider.cs
10,484
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Computing.cs" company="Naos Project"> // Copyright (c) Naos Project 2019. All rights reserved. // </copyright> // --------------------------------------------------------------...
41.925
188
0.47734
[ "MIT" ]
NaosFramework/Naos.Deployment
Naos.Deployment.Console/EnvironmentConfiguration/Computing.cs
3,356
C#
using NBitcoin.Crypto; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.BitcoinCore { /** Undo information for a CTxIn * * Contains the prevout's CTxOut being spent, and if this was the * last out...
18.685714
99
0.622324
[ "MIT" ]
knocte/NBitcoin
NBitcoin/BitcoinCore/BlockUndo.cs
3,272
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.Linq; using Microsoft.Practices.ServiceLocation; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Prism.Mef.Wpf.Tests { [TestClass] public class ...
37.952381
99
0.683814
[ "Apache-2.0" ]
aalice072/MVVMPrism
Source/Wpf/Prism.Mef.Wpf.Tests/MefServiceLocatorAdapterFixture.cs
3,188
C#
/* * Square Connect API * * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: developers@squareup.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; using System.Collec...
26.715867
94
0.505525
[ "Apache-2.0" ]
NimmoJustin/connect-csharp-sdk
src/Square.Connect.Test/Model/V1OrderTests.cs
7,240
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class MustCollectItem : MonoBehaviour { [SerializeField] private UnityEvent getMustCollectItem; private void OnTriggerEnter2D(Collider2D collision) { if (StageManager.Instanc...
30.333333
114
0.684458
[ "MIT" ]
Papyrustaro/UnityRocketGame
Assets/Scripts/StageManager/MustCollectItem.cs
639
C#
/* * This filePath is part of AceQL C# Client SDK. * AceQL C# Client SDK: Remote SQL access over HTTP with AceQL HTTP. * Copyright (C) 2021, KawanSoft SAS * (http://www.kawansoft.com). All rights reserved. * ...
39.483871
101
0.629085
[ "Apache-2.0" ]
kawansoft/AceQL.Client2
AceQLClient/src/Api.Util/VersionValues.cs
1,226
C#
using Ryujinx.Common; using Ryujinx.Graphics.Shader.IntermediateRepresentation; using Ryujinx.Graphics.Shader.StructuredIr; using Ryujinx.Graphics.Shader.Translation; using System; using System.Collections.Generic; using System.Linq; namespace Ryujinx.Graphics.Shader.CodeGen.Glsl { static class Declarations { ...
39.008865
147
0.541612
[ "MIT" ]
Shawnfr/Ryujinx
Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
22,001
C#
// Copyright (c) Quarrel. All rights reserved. namespace Quarrel.Helpers { /// <summary> /// Contains tools methods for putting values in "humanized" form. /// </summary> public static class Humanize { /// <summary> /// Converters a byte count to the most appropiate units. ...
27.12
86
0.432891
[ "Apache-2.0" ]
UWPCommunity/Quarrel
src/Quarrel/Helpers/Humanize.cs
1,358
C#
using System; using System.ComponentModel; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Util; namespace Circuit.Spice { public class ParameterAlias : Attribute { private string alias; public string Alias { ...
34.697917
128
0.564095
[ "MIT" ]
Auguschd/LiveSPICE
Circuit/Spice/Model.cs
3,333
C#
using System; namespace AntData.ORM.Mapping { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)] public sealed class NotNullAttribute : NullableAttribute { public NotNullAttribute() : base(false) { } public NotNullAttribute(string configuration) : base(configuration, false) { }...
17.157895
69
0.736196
[ "MIT" ]
yuzd/AntData.ORM
AntData/AntData.ORM/Mapping/NotNullAttribute.cs
328
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NBitcoin; using NBitcoin.Crypto; using Xels.Bitcoin.Base.Deployments; namespace Xels.Bitcoin.Features.Consensus.Rules.CommonRules { public class WitnessCommitmentsRule : Consen...
44.076923
156
0.541171
[ "MIT" ]
rahhh/FullNodeUI
XelsBitcoinFullNode/src/Xels.Bitcoin.Features.Consensus/Rules/CommonRules/WitnessCommitmentsRule.cs
6,303
C#
using Humanizer.Localisation; using Xunit; namespace Humanizer.Tests.Localisation.fiFI { [UseCulture("fi-FI")] public class DateHumanizeTests { [Theory] [InlineData(2, "2 päivää sitten")] [InlineData(1, "eilen")] public void DaysAgo(int days, string expected) ...
30.283333
81
0.567419
[ "MIT" ]
NehaOberoi92/Humanizer
src/Humanizer.Tests.Shared/Localisation/fi-FI/DateHumanizeTests.cs
1,763
C#
using System.Web.Http; using System.Web.Mvc; namespace DICOMcloud.Wado.Areas.HelpPage { public class HelpPageAreaRegistration : AreaRegistration { public override string AreaName { get { return "HelpPage"; } } public override ...
25.884615
94
0.564636
[ "Apache-2.0" ]
gitter-badger/DICOMcloud
DICOMcloud.Wado/Areas/HelpPage/HelpPageAreaRegistration.cs
673
C#
// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.Collections.Generic; public class DemoProject1Target : TargetRules { public DemoProject1Target( TargetInfo Target) : base(Target) { Type = TargetType.Game; DefaultBuildSettings = BuildSettingsVersion.V2; ExtraMod...
25.466667
64
0.73822
[ "MIT" ]
gamedevfun/unreal_demo
Source/DemoProject1.Target.cs
382
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ksmedia.h(8063,1) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct AUDIO_EFFECT_TYPE_SPEAKER_FILL { } }
23.727273
88
0.743295
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/AUDIO_EFFECT_TYPE_SPEAKER_FILL.cs
263
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EasyAbp.EShop.Products.Products; using EasyAbp.EShop.Products.Products.Dtos; using EasyAbp.EShop.Products.Web.Pages.EShop.Products.Products.ProductSku.ViewModels; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNet...
35.705882
117
0.66145
[ "Apache-2.0" ]
p041911070/EShop
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Web/Pages/EShop/Products/Products/ProductSku/CreateModal.cshtml.cs
2,428
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.387097
151
0.581614
[ "MIT" ]
djeada/Csharp-recipes
src/WpfDB_Project/WpfDataBase/Properties/Settings.Designer.cs
1,068
C#
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using LinqToDB; using NUnit.Framework; namespace Tests.xUpdate { [TestFixture] [Order(10000)] public class CreateTempTableTests : TestBase { class IDTable { public int ID; } [Test] public vo...
22.97048
93
0.590522
[ "MIT" ]
LiveFly/linq2db
Tests/Linq/Update/CreateTempTableTests.cs
5,957
C#
using System.Data.Entity.ModelConfiguration; using Wiz.Gringotts.UIWeb.Models.Organizations; namespace Wiz.Gringotts.UIWeb.Data.Overrides { public class OrganizationConfiguration : EntityTypeConfiguration<Organization> { public OrganizationConfiguration() { this.HasMan...
28.904762
82
0.546952
[ "MIT" ]
NotMyself/Gringotts
src/UIWeb/Data/Overrides/OrganizationConfiguration.cs
609
C#
using Microsoft.AspNet.Identity; using OnlineStore.DataProvider.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OnlineStore.DataProvider.Identity { public class ApplicationUserRoleManager : RoleManager<ApplicationUserRole> ...
25.222222
102
0.764317
[ "MIT" ]
RedDiamond69/Carnivorous-plants-store
Source/OnlineStore.DataProvider/Identity/ApplicationUserRoleManager.cs
456
C#
using UBaseline.Shared.Node; namespace Uintra.Features.Comments.Models { public class CommentsPanelModel : NodeModel { } }
17
47
0.727941
[ "MIT" ]
Uintra/Uintra
src/Uintra/Features/Comments/Models/CommentsPanelModel.cs
138
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
44.571429
156
0.617788
[ "MIT" ]
stankovski/azure-sdk-tools
src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/PaasCmdletInfo/NewAzureServiceDiagnosticsExtensionConfigCmdletInfo.cs
2,443
C#
using System; using AutoMapper; using Core.Entities; using Google.Apis.YouTube.v3.Data; using Channel = Google.Apis.YouTube.v3.Data.Channel; namespace Infrastructure.Mappings { public class DataMappingProfile : Profile { public DataMappingProfile() { CreateMap<PlaylistItem, VideoResult>() .ForMember(dest...
49.727273
125
0.697745
[ "MIT" ]
sailingchannels/data
Infrastructure/Mappings/DataMappingProfile.cs
1,643
C#
// un-batching functionality encapsulated into one class. // -> less complexity // -> easy to test // // includes timestamp for tick batching. // -> allows NetworkTransform etc. to use timestamp without including it in // every single message using System; using System.Collections.Generic; namespace Mirror { pu...
36.923077
148
0.547727
[ "MPL-2.0" ]
danyow/Card-Game-Simulator
Assets/Mirror/Runtime/Batching/Unbatcher.cs
5,280
C#
namespace ServiceWatcherWebRole.Areas.HelpPage.ModelDescriptions { public class CollectionModelDescription : ModelDescription { public ModelDescription ElementDescription { get; set; } } }
30.571429
65
0.742991
[ "MIT" ]
brakmic/ServiceWatcher
ServiceWatcherWebRole/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs
214
C#
namespace SFA.Apprenticeships.Infrastructure.Communication.Configuration { public class CommunicationConfiguration { public bool IsEnabled { get; set; } public string CandidateSiteDomainName { get; set; } public string RecruitSiteDomainName { get; set; } public string ManageS...
25.555556
73
0.676087
[ "MIT" ]
BugsUK/FindApprenticeship
src/SFA.Apprenticeships.Infrastructure.Communication/Configuration/CommunicationConfiguration.cs
462
C#
namespace LH.CommandLine.UnitTests.OptionsParser.Options { public partial class WhenParsingUsingInvalidOptionsDefinition { public class OptionsWithOnlyNonZeroPositionalArgs { [Argument(1)] public string SomeArg { get; set; } } } }
26.454545
65
0.652921
[ "MIT" ]
lholota/LH.CommandLine
tests/LH.CommandLine.UnitTests/OptionsParser/Options/OptionsWithOnlyNonZeroPositionalArgs.cs
293
C#
namespace EIDSS.Reports.BaseControls { partial class ReportView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components; /// <summary> /// Clean up any resources being used. /// </sum...
56.074968
186
0.647708
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v5/vb/EIDSS/EIDSS.Reports/BaseControls/ReportView.designer.cs
44,131
C#
// Copyright (c) 2015 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 or agreed t...
36.574018
145
0.517512
[ "Apache-2.0" ]
NCacheDev/NCache
Integration/MemCached/ProxyServer/src/Alachisoft.NCache.Integrations.Memcached.ProxyServer/Parsing/BinaryProtocolParser.cs
12,106
C#
//Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Xml; using System.Xml.Schema; using System.Xml.Linq; using System.Collections.Generic; using System.CodeDom; using System.Diagnostics; namespace Xml.Schema.Linq.CodeGen { internal abstract class TypePropertyBuilder...
39.855491
153
0.624656
[ "MIT" ]
omatrot/LinqToEdmx
LinqToXsd/Src/PropertyBuilder.cs
6,895
C#
/* * Copyright 2018 Randy Lynn, Zach Jones. 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 Liense at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
45.408451
109
0.657568
[ "Apache-2.0" ]
randyklex/caffeine.net
Caffeine.Cache/Interfaces/IExpiration.cs
3,226
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; namespace Aiursoft.Gateway.Migrations { public partial class AddBindTimeForThirdParty : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<DateTime>( na...
29.64
94
0.605938
[ "MIT" ]
AiursoftWeb/Infrastructures
src/WebServices/Basic/Gateway/Migrations/20191023101519_AddBindTimeForThirdParty.cs
743
C#
#if !UNITY_METRO using System; using System.Collections; using System.Collections.Generic; using System.Text; using UtyRx.InternalUtil; namespace UtyRx { public static partial class Scheduler { public static readonly IScheduler ThreadPool = new ThreadPoolScheduler(); class ThreadPoolSchedule...
29.248731
139
0.405762
[ "Apache-2.0" ]
reinterpretcat/csharp-libs
utyrx/UtyRx/Schedulers/Scheduler.ThreadPool.cs
5,764
C#
using UnityEngine; using System.Collections; using AssetBundles.Manager; public class LoadVariants : MonoBehaviour { const string variantSceneAssetBundle = "variants/variant-scene"; const string variantSceneName = "VariantScene"; private string[] activeVariants; private bool bundlesLoaded; // used to remove t...
26.988764
119
0.721482
[ "MIT" ]
hiroki-o/SimpleABGTExample
Assets/AssetBundleSample/Scripts/LoadVariants.cs
2,404
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 System.Collections; using NetOffice; namespace NetOffice.ExcelApi { ///<summary> /// Interface IPoi...
31.683962
193
0.690636
[ "MIT" ]
Engineerumair/NetOffice
Source/Excel/Interfaces/IPoints.cs
6,719
C#
//----------------------------------------------------------------------- // <copyright file="Dial180South.xaml.cs" company="David Black"> // Copyright 2008 David Black // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
37.16
130
0.55436
[ "Apache-2.0" ]
dotnetprojects/Dashboarding
Codeplex.Dashboarding/Dial180South.xaml.cs
3,718
C#
using DevExpress.ExpressApp.Model; namespace Xpand.Extensions.XAF.ModelExtensions { public static partial class ModelExtensions { public static IModelSources Sources(this IModelApplication application) => ((IModelSources)application); } }
36.428571
112
0.780392
[ "Apache-2.0" ]
eXpandFramework/DevExpress.XAF
src/Extensions/Xpand.Extensions.XAF/ModelExtensions/Sources.cs
255
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
39.292683
108
0.697703
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/dialogflow/v2beta1/google-cloud-dialogflow-v2beta1-csharp/Google.Cloud.Dialogflow.V2beta1.StandaloneSnippets/ConversationsClient.CreateConversationAsyncSnippet.g.cs
1,611
C#
namespace SLW.ClientBase.Mixer.Video { public enum CanvasStyle : byte { Empty, Image, Video, String } }
13.727273
37
0.516556
[ "BSD-2-Clause" ]
7956968/gb28181-sip
GB28181.Client/Player/Mixer/Video/CanvasStyle.cs
153
C#
using Autofac; using Company.BLL; using Company.IBLL; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Company.BLLContainer { public class Container { /// <summary> /// IOC 容器 /// </summary> public st...
24.074074
96
0.504615
[ "MIT" ]
Huzc15717/MVC_EF_DB
Company.BLLContainer/Container.cs
1,344
C#
using System.IO; using Veldrid; namespace Toe.ContentPipeline.VeldridMesh { internal interface IStreamAccessor { VertexElementFormat VertexElementFormat { get; } VertexElementSemantic VertexElementSemantic { get; } int Count { get; } void Write(int index, BinaryWriter stream); ...
25.153846
60
0.69419
[ "MIT" ]
gleblebedev/TinyOpenEngine
src/Toe.ContentPipeline.VeldridMesh/IStreamAccessor.cs
329
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Xml.Serialization; using NewLife.Collections; using NewLife.Reflection; namespace NewLife.Serialization { /// <summary>二进制名值对</summary...
31.463731
114
0.468341
[ "MIT" ]
Gavin-Peking/X
NewLife.Core/Serialization/Binary/BinaryPair.cs
12,801
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.open.mini.aliminiabilityprod.jsapi.query /// </summary> public class AlipayOpenMiniAliminiabilityprodJsapiQueryRequest : IAlipayRequest...
23.185484
135
0.556522
[ "MIT" ]
lzw316/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenMiniAliminiabilityprodJsapiQueryRequest.cs
2,889
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.ContainerService.Fluent { using Microsoft.Azure.Management.ContainerService.Fluent.ContainerService.Definition; using ...
42.550218
266
0.637726
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/ContainerService/Domain/InterfaceImpl/ContainerServiceAgentPoolImpl.cs
9,744
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
33.676923
94
0.576062
[ "MIT" ]
andrewcampkin/squidex
backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/AppContributorsTests.cs
2,192
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace aWhere.Api.Business { public class Weather { #region Fields public const string WEATHER_ENDPOINT = "/v2/weather/fields/"; ...
26.040323
79
0.578198
[ "MIT" ]
aWhereAPI/API-Code-Samples
c#/aWhere.Api.CodeSample/aWhere.Api.Business/Weather.cs
3,231
C#
/* This file was generated and should not be modified directly */ using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.Common; using Bam.Net.Data; namespace Bam.Net.Services.DataReplication.Data.Dao { public class DataPointQuery: Query<DataPointColumns, DataPoint...
35.742857
179
0.718625
[ "MIT" ]
BryanApellanes/bam.net.shared
Services/DataReplication/Data/Generated_Dao/DataPointQuery.cs
1,251
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Dynamics365.UIAutomation.Api.UCI; namespace Microsoft.Dynamics365.UIAutomation.Sample.UCI { [TestClass] public class OpenNavigationUci: TestsBase...
35.072993
114
0.578564
[ "MIT" ]
chauhanrupesh/CRM
Microsoft.Dynamics365.UIAutomation.Sample/UCI/Navigation/OpenNavigation.cs
4,807
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 System.Runtime.InteropServices { public enum VarEnum { VT_EMPTY = 0, VT_NULL = 1, ...
23.818182
71
0.50687
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/VarEnum.cs
1,310
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.Enti...
59.813084
113
0.670625
[ "Apache-2.0" ]
belav/efcore
src/EFCore/ChangeTracking/Internal/IInternalEntityEntryNotifier.cs
6,400
C#