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.Collections; using System.Collections.Generic; using UnityEngine; using Vuforia; public class btSetaCimaScript : MonoBehaviour, IVirtualButtonEventHandler { private GameObject btSetaCima; private GameObject placaCima; // Use this for initialization void Start() { ...
24.96875
94
0.69587
[ "Apache-2.0" ]
wellisonraul/PIBIC
JogosDasSetas/Assets/btSetaCimaScript.cs
801
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using System....
54.102665
242
0.595745
[ "MIT" ]
Microsoft/BuildXL
Public/Src/Engine/UnitTests/Scheduler/PipExecutorTest.cs
192,876
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Management.Automation; using System.Net; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace PowerShellCourse { [Cmdlet(VerbsCommon.Get, "SnowReport")] public class GetSnowReportCommand :...
25.538462
140
0.621988
[ "MIT" ]
psymonn/myPowerShell
Sample Modules/extending-powershell/materials/4-extending-powershell-m3-output-exercise-files/after/GetSnowReportCommand.cs
1,330
C#
using ChromeCast.Classes; using ChromeCast.Device.Classes; using ChromeCast.Device.Log.Interfaces; using ChromeCast.Device.ProtocolBuffer; using System.Text.Json; using System; using System.Threading.Tasks; namespace ChromeCast.Device.Application { public class DeviceCommunication { private DeviceStat...
45.613793
148
0.568189
[ "MIT" ]
SamDel/ChromeCast-Device
Source/ChromeCast.Device/Application/DeviceCommunication.cs
6,616
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
30.468085
109
0.615223
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Devices/V20200831Preview/Inputs/SharedAccessSignatureAuthorizationRuleArgs.cs
1,432
C#
using Steamworks; using System; using System.Collections; using UnityEngine; namespace Mirror.FizzySteam { public abstract class LegacyCommon { private EP2PSend[] channels; private int internal_ch => channels.Length; protected enum InternalMessages : byte { CONNECT, ACCEPT_CONNECT, ...
30.711409
204
0.664336
[ "MIT" ]
BrendanRobins97/MirrorTesting
Assets/Mirror/FizzySteamyMirror/LegacyCommon.cs
4,578
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2017 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtaini...
51.526946
274
0.534883
[ "MIT" ]
TaviTruman/dotnetrdf
Libraries/dotNetRDF/Writing/JsonLdWriter.cs
25,817
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...
26.0625
107
0.58705
[ "Apache-2.0" ]
motoko89/aws-sdk-net-xamarin
sdk/src/Services/Inspector/Generated/AmazonInspectorConfig.cs
2,085
C#
using System; using System.Collections.Generic; using System.Linq; using System.Drawing; using System.Timers; using MonoMac.Foundation; using MonoMac.AppKit; using MonoMac.CoreAnimation; using MonoMac.CoreGraphics; namespace GlossyClock { public partial class ClockView : MonoMac.AppKit.NSView { CALayer backgroun...
24.586777
111
0.70521
[ "MIT" ]
kangaroo/monomac
samples/GlossyClock/ClockView.cs
2,975
C#
namespace Machete.X12Schema.V5010 { using X12; public interface T304 : X12Layout { Segment<GS> FunctionalGroupHeader { get; } Segment<ST> TransactionSetHeader { get; } Segment<B2> BeginningShipmentInformationTransaction { get; } Segment<B2A> SetPu...
27.873418
72
0.564941
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Layouts/T304.cs
2,202
C#
/* MapleLib - A general-purpose MapleStory library * Copyright (C) 2009, 2010, 2015 Snow and haha01haha01 * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Lice...
28.946188
129
0.665066
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
369MJ/Harepacker-resurrected
MapleLib/PacketLib/Monitor.cs
6,457
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.IO; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using...
40.493592
126
0.590516
[ "Apache-2.0" ]
aneequrrehman/Mvc
test/Microsoft.AspNetCore.Mvc.IntegrationTests/ComplexTypeModelBinderIntegrationTest.cs
110,588
C#
using AutoMapper; using DotNetCqrsDemo.Domain.Commands; using DotNetCqrsDemo.Domain.Events; using DotNetCqrsDemo.Domain.ReadModel; using DotNetCqrsDemo.Web.Commands.Requests.Locations; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DotNetCqrsDemo.Web.Command...
32.48
142
0.714286
[ "MIT" ]
LambertW/DotNetCqrsDemo
DotNetCqrsDemo.Web.Commands/AutoMapperConfig/LocationProfile.cs
814
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...
41.536232
148
0.623168
[ "MIT" ]
3quanfeng/azure-powershell
src/HDInsight/HDInsight/Models/Management/AzureHDInsightCapabilities.cs
2,800
C#
using NSubstitute; using Received = NSubstitute.Received; namespace TestStack.Seleno.Tests.Configuration.SelenoApplication { class When_disposing_initialised_seleno_application : SelenoApplicationSpecification { public void Given_initialised_seleno_application() { SUT.Init...
27.25
89
0.587156
[ "MIT" ]
Sorrell-Solutions/TestStack.Seleno
src/TestStack.Seleno.Tests/Configuration/SelenoApplication/When_disposing_initialised_seleno_application.cs
738
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace Hanssens.Net.Extensions { public partial class Reflection { /// <summary> /// Determines if the *Type* of an object instance is nullable, /// regardless ...
29.527778
106
0.566322
[ "MIT" ]
hanssens/extensions
src/Hanssens.Net/Extensions/Reflection/IsNullableType.cs
1,065
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.QuickUI; namespace QuickUIDemo { public static class DemoApp { public static Page GetMainPage () { var result = new NavigationPage (new WelcomePage ()); return result; } } public class DataPage : Conte...
25.430108
109
0.6537
[ "MIT" ]
Samples-Playgrounds/Samples.Xamarin.Forms
diverse/forum-samples/02-NavigationWithContentPages/iOS/DemoApp.cs
2,367
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.068966
153
0.624685
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IAndroidManagedStoreAccountEnterpriseSettingsCompleteSignupRequestBuilder.cs
1,191
C#
using System; using CryptoExchange.Net.Converters; using Kraken.Net.Converters; using Newtonsoft.Json; namespace Kraken.Net.Objects { /// <summary> /// Ledger entry info /// </summary> public class KrakenLedgerEntry { /// <summary> /// Reference id /// </summary> [J...
27.781818
80
0.533377
[ "MIT" ]
JKorf/Kraken.Net
Kraken.Net/Objects/KrakenLedgerEntry.cs
1,530
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.5
153
0.646084
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IManagedAppRegistrationIntendedPoliciesCollectionPage.cs
1,328
C#
using System; using System.Windows; using System.Windows.Interactivity; using ColorFinder.Models; using ColorFinder.ViewModels; using ColorFinder.Views; using Microsoft.Practices.Prism.Interactivity.InteractionRequest; namespace ColorFinder.TriggerActions { /// <summary> /// スポイトウィンドウを表示します。 /// </summary...
35.181818
160
0.687339
[ "MIT" ]
aridai/ColorFinder
TriggerActions/ShowDropperDialogAction.cs
1,195
C#
namespace YifySharp { public class YifyResponse<T> { /// <summary> /// The status of the API call, will be either 'ok' or 'error' /// </summary> public string Status { get; set; } /// <summary> /// The status message of the API call /// </summary> ...
25.05
70
0.510978
[ "MIT" ]
JohnTheGr8/YifySharp
src/YifySharp/Response.cs
503
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("An...
38.162162
84
0.746459
[ "Apache-2.0", "MIT" ]
frankfralick/Dynamo
test/Libraries/AnalysisTests/Properties/AssemblyInfo.cs
1,415
C#
 namespace Eastern.Protocol.Operations { internal class CommandPayload { internal CommandPayloadType Type { get; set; } internal string Language { get; set; } internal string Text { get; set; } internal int NonTextLimit { get; set; } internal string FetchPlan { ...
28.5
55
0.60401
[ "MIT" ]
yojimbo87/Eastern
src/Eastern/Protocol/Operations/CommandPayload.cs
401
C#
using System; using System.Linq; using System.Linq.Expressions; using EasySql.Infrastructure; using EasySql.Query.SqlExpressions; namespace EasySql.Query { public class QueryTranslator : ExpressionVisitor, IQueryTranslator { private readonly QueryExpression _queryExpression = new QueryExpression(); ...
35.778584
178
0.537841
[ "MIT" ]
jxnkwlp/EasySql
src/EasySql.Core/Query/QueryTranslator.cs
19,716
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Security.Principal; using CMS.Base; using CMS.DataEngine; using CMS.EventLog; using CMS.Helpers; using CMS.MacroEngine; using CMS.Membership; using CMS.UIControls; public partial class CMSModules_Sys...
35.092537
187
0.577152
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/System/Macros/System_Macros.aspx.cs
11,758
C#
namespace Papabytes.Cronofy.NetCore { using Requests; using System; using System.Collections.Generic; using System.Linq; /// <summary> /// Builder for Sequence request. /// </summary> public sealed class SequenceRequestBuilder : IBuilder<SequencedAvailabilityRequest.SequenceRequest> ...
32.705747
113
0.536304
[ "MIT" ]
Toky0/cronofy-csharp
src/Papabytes.Cronofy.NetCore/SequenceRequestBuilder.cs
14,227
C#
using System; using System.Collections.Generic; using System.Text; namespace binance.dex.sdk.model { public class BlockTrade { /*blockTime long timestamp of a block fee string total fee collected height long block height trade[Trade]*/ } }
17.2
37
0.736434
[ "MIT" ]
AYCHEX/aex.cSDK
src/model/BlockTrade.cs
260
C#
// // Klak - Utilities for creative coding with Unity // // Copyright (C) 2016 Keijiro Takahashi // // 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 l...
30.835821
80
0.675702
[ "MIT" ]
mrayy/Embodied-Driven-Design
Embodied-Driven Design/Assets/Libraries/Klak/Wiring/Output/MaterialFloatOut.cs
2,066
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18408 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.290323
151
0.580433
[ "MIT" ]
jgvicke/ZedGraph_SineWave
Properties/Settings.Designer.cs
1,065
C#
using System.Collections.Generic; using TransactionSimulator.DataModels; namespace TransactionSimulator.Services { internal interface ITransactionDataReader { IEnumerable<Transaction> ReadTransactions(); } }
20.909091
52
0.773913
[ "MIT" ]
JohnnyFayad/mldotnet-real-time-data-streaming-workshop
src/real-time-data-streaming/transaction-simulator/TransactionSimulator/TransactionSimulator/Services/ITransactionDataReader.cs
232
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
35.972222
153
0.5861
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IDeviceManagementPartnerRequestBuilder.cs
1,295
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2020 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
32
91
0.565228
[ "MIT" ]
blackwork/dotnetrdf
Libraries/dotNetRDF/Parsing/PositionInfo.cs
4,032
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Text; using Newtonsoft.Json; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; // Microsoft.CodeAnalysis.ISourceG...
34.024129
182
0.57001
[ "MIT" ]
genkokudo/BlizzardHaunt
src/Utils/BlazorBoilerplate.SourceGenerator/EntityGenerator.cs
13,711
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("Lee...
38.108108
84
0.749645
[ "MIT" ]
yanglr/LeetCodeOJ
csharp-leetcode/vs projects/leetcode191-NumberOf1/Leetcode191-NumberOf1/Properties/AssemblyInfo.cs
1,413
C#
namespace SourceControlSystem.Data { using System; using System.Data.Entity; using System.Linq; public class EfGenericRepository<T> : IRepository<T> where T : class { public EfGenericRepository(ISourceControlSystemDbContext context) { if (context == null) { ...
24.75
119
0.491841
[ "MIT" ]
EmilMitev/Telerik-Academy
Single Page Applications/Exam/SourceControlSystem-Server/Data/SourceControlSystem.Data/EfGenericRepository.cs
2,576
C#
using System.Collections.Generic; namespace Kore.Plugins.Messaging.Forums.Models { public class ForumGroupModel { public ForumGroupModel() { this.Forums = new List<ForumRowModel>(); } public int Id { get; set; } public string Name { get; set; ...
21.85
57
0.562929
[ "MIT" ]
artinite21/KoreCMS
Plugins/Kore.Plugins.Messaging.Forums/Models/ForumGroupModel.cs
439
C#
using System; using System.Collections.Generic; using System.Linq; using ZWave.Channel.Protocol; namespace ZWave.CommandClasses { public class ThermostatModeSupportedValuesReport : NodeReport { public readonly ThermostatModeValue[] SupportedModes; internal ThermostatModeSupportedValuesReport(...
30.3125
158
0.55189
[ "MIT" ]
MiTheFreeman/ZWave4Net
ZWave/CommandClasses/ThermostatModeSupportedValuesReport.cs
1,457
C#
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using EasyAbp.EShop.Plugins.Coupons.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Volo.Abp.Domain.Repositories.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore;...
40.28
155
0.666832
[ "MIT" ]
EasyAbp/EShop
plugins/Coupons/src/EasyAbp.EShop.Plugins.Coupons.EntityFrameworkCore/EasyAbp/EShop/Plugins/Coupons/Coupons/CouponRepository.cs
2,014
C#
using Microsoft.CodeAnalysis; using System.Collections.Immutable; using Microsoft.CodeAnalysis.CodeFixes; using System.Threading.Tasks; using System.Linq; namespace RefactoringEssentials.CSharp.Diagnostics { [ExportCodeFixProvider(LanguageNames.CSharp), System.Composition.Shared] public class UnusedAnonymousM...
38.219512
170
0.683472
[ "MIT" ]
Wagnerp/RefactoringEssentials
RefactoringEssentials/CSharp/Diagnostics/Synced/RedundanciesInCode/UnusedAnonymousMethodSignatureCodeFixProvider.cs
1,567
C#
using System.Net.Http; using System.Threading; using System.Threading.Tasks; using BlazorShared; using Microsoft.Extensions.Diagnostics.HealthChecks; using Microsoft.Extensions.Options; namespace Microsoft.eShopWeb.Web.HealthChecks; public class ApiHealthCheck : IHealthCheck { private readonly BaseUrlConfigurati...
33.628571
87
0.736619
[ "MIT" ]
10088/eShopOnWeb
src/Web/HealthChecks/ApiHealthCheck.cs
1,179
C#
// <copyright file="Server.cs" company="Mozilla"> // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, you can obtain one at http://mozilla.org/MPL/2.0/. // </copyright> using System.Collections.Generic; using Newtonsoft.Json;...
34.65625
195
0.600541
[ "MPL-2.0" ]
Callek/guardian-vpn-windows
ui/src/JSONStructures/Server/Server.cs
2,220
C#
//------------------------------------------------------------------------------ // <auto-generated> // 這段程式碼是由工具產生的。 // 執行階段版本:4.0.30319.42000 // // 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, // 變更將會遺失。 // </auto-generated> //------------------------------------------------------------------------------ names...
38.609375
180
0.591663
[ "MIT" ]
n696395/AutoCheckInOut
AutoCheckIn/Properties/Resources.Designer.cs
2,853
C#
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.Cryptography; using System.Text; namespace Neo.UnitTests.Cryptography { [TestClass] public class UT_Murmur128 { [TestMethod] public void TestGetHashSize() { Murmur128 murmur128 = new Mu...
33
107
0.649351
[ "MIT" ]
Ashuaidehao/neo
tests/neo.UnitTests/Cryptography/UT_Murmur128.cs
1,155
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 JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal; using Microsoft.EntityFrameworkCore.Storage; using Micro...
46.87013
128
0.751455
[ "Apache-2.0" ]
vadzimpm/EntityFramework
src/EFCore.SqlServer/Metadata/Conventions/SqlServerConventionSetBuilder.cs
3,609
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace aspnetcoreUseMySqlEFCore.Migrations { public partial class test : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
29.5
71
0.532839
[ "MIT" ]
yiyungent/demos
netcore/aspnetcoreUseMySqlEFCore/aspnetcoreUseMySqlEFCore/Migrations/20180822162556_test.cs
946
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Win32.SafeHandles; using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Advapi32 { ...
34.529412
156
0.776831
[ "MIT" ]
MatthewJohn/runtime
src/libraries/Common/src/Interop/Windows/Advapi32/Interop.QueryServiceConfig.cs
587
C#
/* * Copyright 2012-2017 The Pkcs11Interop Project * * 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 app...
35.57554
110
0.529221
[ "Apache-2.0" ]
arkkadin/pkcs11Interop
src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI41/_12_DigestTest.cs
4,945
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
43.058824
160
0.758652
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Pricing/Properties/AssemblyInfo.cs
2,196
C#
using LanguageExt; using System; using System.Linq; using System.Reactive.Concurrency; using System.Reactive.Linq; using static LanguageExt.Prelude; namespace Echo { public static partial class Process { /// <summary> /// Publish a message for any listening subscribers /// </summary> ...
51.287449
157
0.620066
[ "MIT" ]
OlduwanSteve/echo-process
Echo.Process/Prelude_PubSub.cs
12,670
C#
#if UNITY_EDITOR using UnityEngine; using NUnit.Framework; using UnityEditor.TestTools.TestRunner.Api; namespace Miscreant.Lifecycle.RuntimeTests { using TestUtils; /// <summary> /// Editor-only class. Logs a list of all PLAY mode tests each time any play mode test is run in the editor. /// </summary> [SetUpF...
23.060606
112
0.718791
[ "MIT" ]
Bunderant/unity-miscreant-lifecycle
Tests/Runtime/Scripts/TestLogger_PlayMode.cs
763
C#
using System; using HotChocolate.Language; using HotChocolate.Types.Descriptors; using HotChocolate.Types.Filters.Conventions; namespace HotChocolate.Types.Filters { public class ObjectFilterOperationDescriptor<TObject> : ObjectFilterOperationDescriptor , IObjectFilterOperationDescriptor<TObject> ...
32.776699
92
0.591528
[ "MIT" ]
DaanAcohen/hotchocolate
src/HotChocolate/Filters/src/Types.Filters/Object/ObjectFilterOperationDescriptor~1.cs
3,376
C#
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.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.apa...
58.954301
1,311
0.636952
[ "Apache-2.0" ]
AhmerRaza/Google-Dotnet-Samples
Samples/Compute Engine API/beta/HealthChecksSample.cs
21,933
C#
using System; using System.Net.Http; using ResultFunctional.Models.Enums; using ResultFunctional.Models.Implementations.Errors; using ResultFunctional.Models.Implementations.Errors.AuthorizeErrors; using ResultFunctional.Models.Implementations.Errors.Base; using ResultFunctional.Models.Implementations.Errors.CommonEr...
36.456432
122
0.6458
[ "MIT" ]
rubilnik4/ResultFunctional
ResultFunctionalXUnit/Models/Errors/ErrorResultFactoryTest.cs
9,246
C#
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
48.020202
125
0.700463
[ "Apache-2.0" ]
econmed/ImageServer20
Ris/Application/Common/Admin/NoteCategoryAdmin/INoteCategoryAdminService.cs
4,756
C#
// Copyright (c) MASA Stack All rights reserved. // Licensed under the MIT License. See LICENSE.txt in the project root for license information. namespace Masa.Contrib.Storage.ObjectStorage.Aliyun; /// <summary> /// For internal use, structure may change at any time /// </summary> public interface ICredentialProvider...
27.2
95
0.754902
[ "MIT" ]
Sky-nt/MASA.Contrib
src/Storage/Masa.Contrib.Storage.ObjectStorage.Aliyun/ICredentialProvider.cs
408
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Razor.Language; using Microsoft.CodeAnalysis.Razor; using Microsoft.CodeAnalysis.Razor.ProjectSystem; namespa...
36.787879
163
0.73888
[ "Apache-2.0" ]
Chatina73/AspNetCore-Tooling
src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test.Common/TestProjectSnapshotProjectEngineFactory.cs
1,216
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.ServiceModel; namespace Workday.Payroll { [GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = false)] public ...
29.28
155
0.81694
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Payroll/Get_Period_SchedulesOutput.cs
732
C#
using API; using PxStat.Data; using System.Collections.Generic; using System.Data; namespace PxStat.System.Navigation { /// <summary> /// Creates the mandatory Release Keywords. These are based on fields in the Matrix and associated entities /// </summary> internal class Keyword_Release_BSO_CreateMand...
44.292857
163
0.583454
[ "MIT" ]
CSOIreland/PxStat
server/PxStat/Entities/System/Navigation/Keyword_Release/BSO/Keyword_Release_BSO_CreateMandatory.cs
6,203
C#
using System; using System.Diagnostics; using System.IO; using System.Security.Cryptography; using SeguraChain_Lib.Blockchain.Setting; using SeguraChain_Lib.Utility; namespace SeguraChain_Lib.Algorithm { public class ClassAes { /// <summary> /// AES Settings. /// </summary> pu...
35.414634
156
0.495351
[ "MIT" ]
Xirobod/segurachain
SeguraChain/SeguraChain-Lib/Algorithm/ClassAes.cs
5,810
C#
namespace libMC.NET.Entities { public class Block { public int Id; public string Name; public int X; public int Y; public int Z; public int Cx; public int Cz; public Block(int id, int x, int y, int z,int cx, int cz) { Id = id; X ...
22.300268
63
0.42943
[ "BSD-3-Clause" ]
umby24/libMC.NET
Entities/Block.cs
8,320
C#
using System; using UnityEditor; namespace Entitas.VisualDebugging.Unity.Editor { public class CharTypeDrawer : ITypeDrawer { public bool HandlesType(Type type) { return type == typeof(char); } public object DrawAndGetNewValue(Type memberType, string memberName, object value,...
27.944444
107
0.646123
[ "MIT" ]
ADADebug/Entitas-CSharp
Addons/Entitas.VisualDebugging.Unity.Editor/Entitas.VisualDebugging.Unity.Editor/Entity/TypeDrawer/CharTypeDrawer.cs
503
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShadyNagy.DapperManager.Tests.Constants { internal static class DatabaseConstants { internal static string CONNECTION_STRING = "Database=TestDatabase;Server=.\\SQLEXPRESS;Trusted_Conne...
24.285714
117
0.797059
[ "MIT" ]
ShadyNagy/ShadyNagy.DapperManager
tests/ShadyNagy.DapperManager.Tests/Constants/DatabaseConstants.cs
342
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated...
34.615385
149
0.514815
[ "BSD-3-Clause" ]
StaMa-StateMachine/StaMa
Samples/netmf/SampleSimpleStateMachineNETMF/Resources.Designer.cs
1,350
C#
/* * API v1 * * DocSpring is a service that helps you fill out and sign PDF templates. * * OpenAPI spec version: v1 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using Syste...
34.579618
169
0.565297
[ "MIT" ]
DocSpring/docspring-csharp
src/DocSpring.Client/Model/ListSubmissionsResponse.cs
5,429
C#
// // System.Runtime.InteropServices.ArrayWithOffset.cs // // Author: // Miguel de Icaza (miguel@ximian.com) // // (C) Novell, Inc. http://www.ximian.com // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this soft...
25.159574
73
0.702326
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/corlib/System.Runtime.InteropServices/ArrayWithOffset.cs
2,365
C#
 using Acr.UserDialogs; using MeuCondominio.Services; using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace MeuCondominio { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class BoardPage : ContentPage { ViewModels.BoardViewModel vm; public BoardPage () { Initia...
26.238095
119
0.547489
[ "MIT" ]
idenardi/meucondominio
MeuCondominio/MeuCondominio/BoardPage.xaml.cs
1,656
C#
using Common; namespace Gamekit3D.Network { public partial class Incoming { private void OnRecvDie(IChannel channel, Message message) { SSpriteDie msg = message as SSpriteDie; NetworkEntity target = networkEntities[msg.entityId]; target.behavior.Die(); ...
22.2
65
0.615616
[ "Apache-2.0" ]
Scottdyt/3DGamekitWeb
Frontend/Assets/3DGamekit/Scripts/Network/Incoming/OnRecvDie.cs
335
C#
/* * Module ID:<ExcelAddIn4> * Function:<OutputContainer> * Author:Peter.uhm (yanb@shinetechchina.com) * Modify date:2016.04 * Modify date:2016.09 * Version : 2.0.0.2 */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Li...
67.280488
640
0.551165
[ "MIT" ]
aaronuhmgmailcom/Financel
PDFView(32bit Office) v2/PDFView(32bit Office) v2/PDFView(32bit Office) v2/Backup/OutputContainer.cs
220,692
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; using Clifton.Core.Assertions; using Clifton.Core.ExtensionMethods; using Clifton.Core.Semantics; using Clifton.Core.ModuleManagement; using Clifton.Core.ServiceManagement; namespace SemanticPublisherSubscriber...
34.80303
118
0.640401
[ "MIT" ]
cliftonm/clifton
demos/SemanticPublisherSubscriber/Bootstrap.cs
2,299
C#
using log4net.Core; using System; using System.Globalization; using System.IO; namespace log4net.Layout.Pattern { /// <summary> /// Converter to output the relative time of the event /// </summary> /// <remarks> /// <para> /// Converter to output the time of the event relative to the start of the program. /// <...
36.0625
129
0.707106
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/SourceQuest4.5/log4net/log4net.Layout.Pattern/RelativeTimePatternConverter.cs
1,731
C#
namespace ComponentTests { using System.Collections.Generic; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using WebApi; ///...
35.5625
111
0.611599
[ "Apache-2.0" ]
gfragoso/clean-architecture-manga
test/ComponentTests/CustomWebApplicationFactory.cs
1,138
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 Microsoft.ML.Core.Data; using Microsoft.ML.Runtime.CommandLine; using Microsoft.ML.Runtime.Data; using Microso...
47.683304
210
0.514125
[ "MIT" ]
forcesk/machinelearning
src/Microsoft.ML.FastTree/FastTree.cs
163,363
C#
/** * @file TestSuite.cs * @author Longwei Lai<lailongwei@126.com> * @date 2016/01/25 * @version 1.0 * * @brief */ using System; using System.Collections.Generic; using System.Text; using llbc; using System.Reflection; namespace csllbc_testsuite { class Program { static void Main(stri...
22
60
0.580579
[ "MIT" ]
caochunxi/llbc
wrap/csllbc/testsuite/TestSuite.cs
970
C#
using Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Persistence.Configuration { public class ConfiguracionTelefono : IEntityT...
33.5
108
0.566379
[ "MIT" ]
NSysX/NSysWeb
NSysWeb/src/Infraestructure/Persistence/Configuration/ConfiguracionTelefono.cs
2,548
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; using System; using System.Reflection; using NUnit.Framework; using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using System.Threading.Tasks; namespace Azure.Identity.Tests { public cl...
42.230769
189
0.678
[ "MIT" ]
AWESOME-S-MINDSET/azure-sdk-for-net
sdk/identity/Azure.Identity/tests/EnvironmentCredentialProviderTests.cs
4,943
C#
// <copyright file="Executable.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to yo...
41.501587
173
0.583952
[ "Apache-2.0" ]
Acidburn0zzz/selenium
dotnet/src/webdriver/Firefox/Internal/Executable.cs
13,073
C#
using ConversionHelper; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using BEPUphysics.Entities; namespace GettingStartedDemo { /// <summary> /// Component that draws a model following the position and orientation of a BEPUphysics entity. /// </summary> public class EntityMod...
39.894737
124
0.60686
[ "Apache-2.0" ]
KakCAT/bepuphysics1
Documentation/Isolated Demos/GettingStartedDemo/EntityModel.cs
3,034
C#
namespace Charlotte { partial class TestFortewaveWin { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージ リソースが破棄される場合 true、破棄されない場合は false です。</param> ...
36.85
147
0.710719
[ "MIT" ]
stackprobe/UnrealRemoco
UnrealClient/UnrealClient/TestFortewaveWin.Designer.cs
4,073
C#
using System; using UnityEngine; using UnityEngine.Playables; using UnityEngine.Timeline; namespace Timeline.Samples { // A clip for the timeline dilation track. [Serializable] public class TimeDilationPlayableAsset : PlayableAsset, ITimelineClipAsset { // Using a template for the playable beha...
34.666667
106
0.682692
[ "MIT" ]
2PUEG-VRIK/UnityEscapeGame
2P-UnityEscapeGame/Library/PackageCache/com.unity.timeline@1.5.6/Samples~/Customization/TimeDilation/TimeDilationPlayableAsset.cs
1,144
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.Testing; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Testing; using Microsoft.CodeAnalysis.Testing.Verifiers; using System.Threading; using System.Threading.Tasks; namespace BitwiseToSh...
44.47541
136
0.78474
[ "MIT" ]
electricessence/Bitwise2ShortcutAnalyzer
BitwiseToShortCircuitAnalyzer/BitwiseToShortCircuitAnalyzer.Test/Verifiers/CSharpCodeFixVerifier`2.cs
2,715
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using Microsoft.Win32.SafeHandles; using System.Net.Security; using System.Security.Cryptography.X509Certificates; namespace System.Net { internal stat...
36.335329
151
0.529664
[ "MIT" ]
Ali-YousefiTelori/runtime
src/libraries/System.Net.Security/src/System/Net/CertificateValidationPal.Unix.cs
6,068
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Pickup : MonoBehaviour { private Inventory inventory; private SpriteRenderer spriteRenderer; private BoxCollider2D boxCollider; public int itemIndex; public string itemName; priv...
27.942623
130
0.646524
[ "MIT" ]
hwelsters/farm-game
Assets/Scripts/Pickup.cs
3,411
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace jQueryDatatableServerSideNetCore22.Data.Migrations { public partial class Init : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrati...
39.95
122
0.562578
[ "MIT" ]
AlanLaiTw/jQuery-datatable-server-side-net-core
src/jQueryDatatableServerSideNetCore22/Data/Migrations/20190407193327_Init.cs
1,600
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 16.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
23.188811
142
0.523748
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/NotEqual/Complete2__objs/Int16/NullableInt32/TestSet_504__param__01__VV.cs
13,266
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2017. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 13 Swallows Close, // Mornington, Vic 3931...
38.655738
155
0.573261
[ "BSD-3-Clause" ]
ALMMa/Krypton
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/View Draw/ViewDrawDateTimeButton.cs
9,435
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace RunWebserverHere { public partial class InstallUninstallForm : Fo...
40.693878
180
0.638917
[ "MIT" ]
wgraham17/run-webserver-here
RunWebserverHere/RunWebserverHere/InstallUninstallForm.cs
1,996
C#
using GVFS.Common.NamedPipes; using GVFS.Common.Tracing; using System; using System.Diagnostics; using System.Threading; namespace GVFS.Common { public partial class GVFSLock { private readonly object acquisitionLock = new object(); private readonly ITracer tracer; private r...
38.027027
134
0.537055
[ "MIT" ]
yijunyu/VFSForGit
GVFS/GVFS.Common/GVFSLock.cs
15,477
C#
using RRModels; using System; using System.ComponentModel.DataAnnotations; namespace RRWebUI.Models { public class ReviewVM { public ReviewVM() { } public ReviewVM(int restaurantId) { RestauranId = restaurantId; } public ReviewVM(Review rev...
19.970588
47
0.549337
[ "MIT" ]
210503-Reston-NET/Cooks-and-Crooks-Hackathon
RRWebUI/Models/ReviewVM.cs
681
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Med...
30.595588
158
0.550108
[ "MIT" ]
WallbangJocrod/HumanResourcesSM
HumanResourcesSM/HumanResourcesSM/Windows/DepartamentoDG.xaml.cs
4,165
C#
// Copyright © 2018 Contingent Games. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publi...
42.411765
150
0.68516
[ "MIT" ]
Enumer8/Anim8orTransl8or
Gui/Properties/Settings.Designer.cs
2,166
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using NServiceBus; using Reservations.Messages.Commands; using ServiceComposer.AspNetCore; using System; using System.Threading.Tasks; namespace Reservations.ViewModelComposition { class ReservationsCheckoutPostHandler : IHandleRequests { ...
39.322034
98
0.638793
[ "MIT" ]
mauroservienti/welcome-to-the-state-machine-demos
src/Reservations.ViewModelComposition/ReservationsCheckoutPostHandler.cs
2,322
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.Search.Tests { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; us...
49.101796
188
0.560659
[ "MIT" ]
Skycloudmedua/azure-sdk-for-net
src/SDKs/Search/DataPlane/Search.Tests/Tests/CustomAnalyzerTests.cs
41,002
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazorServerDemoApp { public class Program { p...
25.962963
70
0.649073
[ "MIT" ]
jyotish1977/BlazorScheduler
BlazorServerDemoApp/Program.cs
701
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NDtw.Preprocessing; using NDtw.FeatureVector; namespace NDtw { public class SeriesVariable { private readonly IList<FeatureVector<IFeatureVectorsData>> _x; private readonly IList<FeatureVector<IFeatureV...
29.135135
178
0.591837
[ "BSD-3-Clause" ]
ourochan/candescantNUI
NDtw/SeriesVariable.cs
2,158
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using SalesApp.Core.Logging; using SalesApp.Core.Services.Database.Models; namespace SalesApp.Core.Services.Database { public class QueryRunner { private ILog Logger = LogManager.Get(typeof(QueryRunner)); public Que...
26.404255
87
0.476229
[ "Apache-2.0" ]
mkopadev/salesapp
SalesApp.Core/Services/Database/QueryRunner.cs
1,243
C#
using System; using System.Collections.Generic; namespace DurandalAuth.Domain.Models { public partial class gb_fp_waste_liq_data { public decimal bod5_wastewater { get; set; } public decimal bod5_wastewater_entry { get; set; } public decimal ch4_bod5 { get; set; } public decimal...
35.363636
66
0.655527
[ "MIT" ]
benitazz/AlcmSolutions
DurandalAuth.Domain/Models/gb_fp_waste_liq_data.cs
778
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Web.Script.Serialization; using System.Xml.Serialization; using NewLife; using NewLife.Collections; using NewLife.Log; using NewLife.Reflection; using NewLife.Threadin...
33.780451
165
0.483707
[ "MIT" ]
NewLifeX/X
XCode/Membership/菜单.Biz.cs
24,534
C#
using System; using System.Linq; using System.Net; using System.Threading.Tasks; using Elastic.Xunit.XunitPlumbing; using Elasticsearch.Net; using Elasticsearch.Net.Specification.CatApi; using FluentAssertions; using Nest; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Domain; namespace Tests.Reproduce { ...
30.588235
123
0.800962
[ "Apache-2.0" ]
adamralph/elasticsearch-net
tests/Tests.Reproduce/GithubIssue4243.cs
1,040
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowPlayer : MonoBehaviour { public Transform player; public Vector3 offset; // Start is called before the first frame update void Start() { } // Update is called once per frame voi...
24.259259
65
0.654962
[ "MIT" ]
alexvidzup/Sphereov0.3
Assets/Scripts/FollowPlayer.cs
657
C#