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 |
|---|---|---|---|---|---|---|---|---|
// 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.Security.Permissions
{
[Serializable]
public sealed partial class StrongNameIdentityPermis... | 50.73913 | 107 | 0.727506 | [
"MIT"
] | Aevitas/corefx | src/System.Security.Permissions/src/System/Security/Permissions/StrongNameIdentityPermission.cs | 1,169 | 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;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using NUnit.Framework;
usin... | 44.91635 | 181 | 0.570727 | [
"MIT"
] | 02Naitsirk/osu | osu.Game/Tests/Beatmaps/BeatmapConversionTest.cs | 11,553 | C# |
using System.Windows;
namespace MaterialDesignThemes.Wpf
{
public static class HintAssist
{
#region UseFloating
public static readonly DependencyProperty IsFloatingProperty = DependencyProperty.RegisterAttached(
"IsFloating",
typeof(bool),
typeof(HintAssist... | 32.348485 | 111 | 0.606557 | [
"MIT"
] | 4sami/MaterialDesignInXamlToolkit | MaterialDesignThemes.Wpf/HintAssist.cs | 4,272 | C# |
using System.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.OpenApi.Models;
using Newtonsoft.Json.Linq;
using openapi_to_terraform.Generator.azurerm.v2_45_1.GeneratorModels;
namespace openapi_to_terraform.Generator.azurerm.v2_45_1.Generators
{
public class OperationGenerator
{
... | 46.882353 | 170 | 0.692597 | [
"MIT"
] | awaldow/openapi-to-terraform | openapi-to-terraform.Generator/azurerm/v2_45_1/Generators/OperationGenerator.cs | 1,594 | C# |
using System;
namespace Microsoft.Maui.Essentials
{
/// <include file="../../docs/Microsoft.Maui.Essentials/DeviceInfo.xml" path="Type[@FullName='Microsoft.Maui.Essentials.DeviceInfo']/Docs" />
public static partial class DeviceInfo
{
/// <include file="../../docs/Microsoft.Maui.Essentials/DeviceInfo.xml" path="/... | 51.25 | 142 | 0.701109 | [
"MIT"
] | andres-gimenez/maui | src/Essentials/src/DeviceInfo/DeviceInfo.shared.cs | 2,255 | C# |
namespace LVLTool
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 61.748377 | 179 | 0.656335 | [
"MIT"
] | BAD-AL/LVLTool | MainForm.Designer.cs | 38,039 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Storage
{
public partial class AzureStorageBlobIncrementalCopyCancelTask : ExternalProcessTaskBase<AzureStorageBlobIncrementalCopyCance... | 34.695035 | 356 | 0.596893 | [
"MIT"
] | flubu-core/FlubuCore.Azure | FlubuCore.Azure/Tasks/Storage/AzureStorageBlobIncrementalCopyCancelTask.cs | 4,892 | C# |
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
// Copyright (C) Leszek Pomianowski and WPF UI Contributors.
// All Rights Reserved.
using System;
using System.Linq;
using System... | 42.005 | 138 | 0.467206 | [
"MIT"
] | MajorXAML/wpfui | WPFUI/Syntax/Highlighter.cs | 8,403 | C# |
// <copyright company="Aspose Pty Ltd">
// Copyright (C) 2011-2021 GroupDocs. All Rights Reserved.
// </copyright>
namespace GroupDocs.Metadata.Examples.CSharp.AdvancedUsage.ManagingMetadataForSpecificFormats.Document.WordProcessing
{
using System;
using Formats.Document;
/// <summary>
/// This exa... | 35.068966 | 129 | 0.660767 | [
"MIT"
] | groupdocs-metadata/GroupDocs.Metadata-for-.NET | Examples/GroupDocs.Metadata.Examples.CSharp/AdvancedUsage/ManagingMetadataForSpecificFormats/Document/WordProcessing/WordProcessingReadFileFormatProperties.cs | 1,019 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using GoldBadgeConsoleChallengeClasses;
using System.Collections.Generic;
namespace GoldBadgeConsoleChallengeTests
{
[TestClass]
public class IngredientTest
{
Ingredient avocado = new Ingredient("Avocado", 0.75m, true, true, true, t... | 29.826087 | 120 | 0.609815 | [
"Unlicense",
"MIT"
] | johncaseymcd/GoldBadgeConsoleChallenges | GoldBadgeConsoleAppTests/KomodoCafe_IngredientTests.cs | 2,060 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using Shared.Everywhere;
[assembly: AssemblyTitle(AssemblyInfoContainer.AssemblyName)]
[assembly: AssemblyDescription("")]
[assembly: ComVisible(false)]
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation... | 46.846154 | 97 | 0.860427 | [
"MIT"
] | alxcp/ABCat | ABCat/Properties/AssemblyInfo.cs | 611 | C# |
/*
* Copyright (C) 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 31.836735 | 75 | 0.751282 | [
"MIT"
] | Kaktus606/Fifteen | Assets/GooglePlayGames/Platforms/Native/PInvoke/RealtimeRoomConfig.cs | 1,560 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<... | 48.650794 | 1,368 | 0.610875 | [
"MIT"
] | Kusnaditjung/MimDms | src/Dms.Ambulance.V2100/Generated/COCD_TP146224GB01ObservationMediaTemplateId.cs | 9,195 | C# |
using System.Collections.Generic;
namespace Disqord
{
/// <summary>
/// Represents a row component which is a parent to multiple child components.
/// </summary>
public interface IRowComponent : IComponent, IEnumerable<IComponent>
{
/// <summary>
/// Gets the chil... | 27.875 | 87 | 0.605381 | [
"MIT"
] | Neuheit/Diqnod | src/Disqord.Core/Entities/Core/Interactions/Components/IRowComponent.cs | 448 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using ESnail.Utilities;
using ESnail.Device;
namespace ESnail.Device.Adapters.USB
{
//! single endpoint usb device adapter
public abstract class SingleEndPointUSBDeviceAdapter : SingleDeviceAdapter
{
protected System.String m_strUS... | 29.904255 | 113 | 0.387407 | [
"Apache-2.0"
] | GorgonMeducer/Embedded-Development-Gadgets | ESDevice/Adapters/SingleDeviceAdapter/SingleEndPointUSBDevice.cs | 2,813 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Collections.Concurrent;
using System.Reflection;
namespace SqlBulkHelpers
{
public class SqlBulkHelpersObjectMapper
{
public DataTable ConvertEntitiesToDataTable<T>(IEnumerable<T> entityList, SqlBulkHel... | 47.256757 | 150 | 0.61853 | [
"MIT"
] | cajuncoding/SqlBulkHelpers | NetStandard.SqlBulkHelpers/SqlBulkHelpers/QueryProcessing/SqlBulkHelpersObjectMapper.cs | 3,499 | C# |
using J2N.Text;
using YAF.Lucene.Net.Support;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using JCG = J2N.Collections.Generic;
namespace YAF.Lucene.Net.Index
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or mo... | 42.480537 | 314 | 0.512955 | [
"Apache-2.0"
] | Spinks90/YAFNET | yafsrc/Lucene.Net/Lucene.Net/Index/TieredMergePolicy.cs | 30,906 | C# |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace TasksAndState
{
public class Test
{
private const int Elements = 200000;
private static int _globalSum;
private static void AddFunction()
{
_globalSum += Data.Default.Value;
}
... | 24.491071 | 84 | 0.429457 | [
"MIT"
] | dinazil/look-mommy-no-gc | Demos/05_Lambdas/TasksAndState/TasksAndState/Program.cs | 2,745 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls
{
#if false || false || false || false || false
#if false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public enum ContentDialogPlacement
{
// Skip... | 31.75 | 92 | 0.75 | [
"Apache-2.0"
] | JTOne123/uno | src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/ContentDialogPlacement.cs | 508 | C# |
namespace DOAN
{
partial class FrmReportSoLuongSPBan
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... | 56.648069 | 164 | 0.637169 | [
"Apache-2.0"
] | anckc96/PMQL_Karaoke | DOAN/FrmReportSoLuongSPBan.Designer.cs | 13,250 | C# |
using UnityEngine;
namespace Crosstales.FB.Util
{
/// <summary>Various helper functions.</summary>
public abstract class Helper : Common.Util.BaseHelper
{
#region Static properties
/// <summary>Checks if the current platform is supported.</summary>
/// <returns>True if the curren... | 25.541667 | 75 | 0.60522 | [
"MIT"
] | atalantus/BwInf36_Runde02 | Seminararbeit - Abgabe - 01.11.2018/Aufgabe 3 - Quo vadis, Quax/Projekt Dateien/Assets/Plugins/crosstales/FileBrowser/Scripts/Util/Helper.cs | 616 | C# |
using ReactNative.Bridge;
using ReactNative.DevSupport;
using ReactNative.Modules.Core;
using ReactNative.Modules.DevSupport;
using ReactNative.Tracing;
using ReactNative.UIManager;
using ReactNative.UIManager.Events;
using System;
using System.Collections.Generic;
namespace ReactNative
{
/// <summary... | 40.932584 | 202 | 0.618721 | [
"Apache-2.0"
] | neelimabhukya/readypolicy-ui | node_modules/react-native-windows/ReactWindows/ReactNative/CoreModulesPackage.cs | 3,645 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design.Serialization;
us... | 37.985782 | 149 | 0.621959 | [
"MIT"
] | GrabYourPitchforks/winforms | src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ColumnHeaderConverterTests.cs | 8,017 | C# |
using System
using OpenQA.Selenium
using OpenQA.Selenium.Chrome
using System.Threading
using System.Collections.Generic
using System.Collections.ObjectModel
using OpenQA.Selenium.Support.UI
namespace c__test
{
class UI
{
const string LOGIN_URL = "https://rxce.in/#login"
const string MAIN_PAGE_URL = "https:... | 25.962791 | 99 | 0.601576 | [
"Apache-2.0"
] | Mukeshka/new | UI.cs | 5,582 | C# |
/*
Copyright 2019 - 2021 Inetum
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 37.046154 | 182 | 0.539452 | [
"Apache-2.0"
] | Gfi-Innovation/UMI3D-SDK | UMI3D-SDK/Assets/UMI3D SDK/Common/Collaboration/Runtime/Networking/UMI3DAuthenticator.cs | 7,226 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Reverse_Polish_Notation
{
class oneadd
{
//this function will take the postfix expression then solve that expression according to the one address mode
public void evaluate(string postexp, string infix)
... | 39.54878 | 243 | 0.385754 | [
"Unlicense"
] | benjaminngarambe/Project004 | Reverse Polish Notation/oneadd.cs | 3,243 | C# |
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
using System;
using System.Collections.Generic;
using System.Text;
namespace Havit.Blazor.Components.Web
{
/// <summary>
/// Build render fragments for specific scenarios.
/// </summary>
public static class RenderFragmentBuild... | 26.609756 | 116 | 0.694775 | [
"MIT"
] | havit/Havit.Blazor | Havit.Blazor.Components.Web/RenderFragmentBuilder.cs | 1,093 | C# |
using Microsoft.EntityFrameworkCore;
using NerdStore.Core.Interfaces.UnitOfWork;
using NerdStore.Core.Mediator;
using NerdStore.Core.Messages;
using NerdStore.Payments.Business.Entities;
using NerdStore.Payments.Data.Extensions;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace NerdStore.Paymen... | 33.666667 | 123 | 0.601898 | [
"MIT"
] | fesnarriaga/courses | desenvolvedor-io/06_dominios-ricos/NerdStore/src/NerdStore.Payments.Data/Context/PaymentsContext.cs | 2,426 | C# |
using System;
using System.Collections.Generic;
namespace SplunkTracing
{
public sealed class Reference : IEquatable<Reference>
{
public SpanContext Context { get; }
public string ReferenceType { get; }
public Reference(SpanContext context, string referenceType)
{
... | 31.512821 | 108 | 0.616762 | [
"MIT"
] | splnkit/splunk-tracer-csharp | src/SplunkTracing/Reference.cs | 1,229 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Bigvgames.Models.ManageViewModels
{
public class VerifyPhoneNumberViewModel
{
[Required]
public string Code { get; set; }
[Required]
... | 21.6 | 47 | 0.673611 | [
"Apache-2.0"
] | BIGVGAMES/bigvgames.com | Models/ManageViewModels/VerifyPhoneNumberViewModel.cs | 432 | 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... | 58.238898 | 648 | 0.673472 | [
"Apache-2.0"
] | Singh400/aws-sdk-net | sdk/src/Services/Lambda/Generated/_bcl35/AmazonLambdaClient.cs | 245,244 | 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... | 31.728814 | 104 | 0.669338 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/src/Services/CloudWatchEvents/Generated/Model/ListTagsForResourceRequest.cs | 1,872 | C# |
#version 430
layout(local_size_x = 32, local_size_y = 32) in;
layout (std430, binding = 0) buffer position {
vec4 p[];
};
layout (std430, binding = 1) buffer velocity {
vec4 v[];
};
layout (std430, binding = 2) readonly buffer mass {
float m[];
};
uniform int size;
const float dt = 0.00005f;
const float G = ... | 17.462963 | 77 | 0.622481 | [
"MIT"
] | EKALEB/TinyEngine | examples/16_Gravity/shader/gravity.cs | 943 | C# |
//Copyright (c) Service Stack LLC. All Rights Reserved.
//License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Web;
using Funq;
using ServiceStack.Logg... | 30.869919 | 161 | 0.482047 | [
"Apache-2.0"
] | FernandoPinheiro/ServiceStack | src/ServiceStack/Host/AspNet/AspNetRequest.cs | 11,023 | C# |
using System;
namespace eShoppingSimple.Shippings.Domain.Contracts
{
/// <summary>
/// Data interface of an order
/// </summary>
public interface IOrder
{
/// <summary>
/// Id of the order
/// </summary>
Guid Id { get; }
}
}
| 16.705882 | 52 | 0.53169 | [
"MIT"
] | apirker/eShoppingSimple | eShoppingSimple.Shippings.Domain/Contracts/IOrder.cs | 286 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoftbankBillingSpecDownloader.IO
{
/// <summary>
/// 区切り文字形式での書き込み機能を提供します。
/// </summary>
public class SeparatedValuesWriter : IDisposable
{
#re... | 30.196653 | 119 | 0.542469 | [
"MIT"
] | xin9le/SoftbankBillingSpecDownloader | SoftbankBillingSpecDownloader/IO/SeparatedValuesWriter.cs | 8,693 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CGALDotNetGeometry.Numerics;
namespace CGALDotNet.Polygons
{
public static class PolygonWithHoles2Extension
{
public static GameObject ToUnityMesh(this PolygonWithHoles2 poly, string name, Vector3 position, Material ... | 26.619048 | 123 | 0.571556 | [
"MIT"
] | Scrawk/CGALDotNetUnity | Assets/CGALDotNet/Extensions/PolygonWithHoles2Extension.cs | 1,118 | C# |
namespace SignalR.Proximity
{
internal interface IConnectionBuilder<TContract> : IServicesBuilder
{
IConnection<TContract> Build();
}
}
| 19.625 | 71 | 0.700637 | [
"MIT"
] | chrisfactory/SignalR.Proximity | src/SignalR.Proximity/Builder/Container/ProximityEndPoint/ProximityConnection/IConnectionBuilder.cs | 159 | C# |
using RabbitMQ.Next.Publisher.Abstractions;
namespace RabbitMQ.Next.Publisher.Initializers
{
public class PriorityInitializer : IMessageInitializer
{
private readonly byte priority;
public PriorityInitializer(byte priority)
{
this.priority = priority;
}
pub... | 26.058824 | 78 | 0.677201 | [
"MIT"
] | sanych-sun/RabbitMQ.Next | src/RabbitMQ.Next.Publisher/Initializers/PriorityInitializer.cs | 443 | 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.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;... | 56.274403 | 147 | 0.642049 | [
"Apache-2.0"
] | carlreid/efcore | src/EFCore/Metadata/Internal/EntityType.cs | 299,211 | 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.Windows.Forms
{
using System.Diagnostics;
using System;
/// <summary>
/// <pa... | 24.6 | 90 | 0.541759 | [
"MIT"
] | Bhaskers-Blu-Org2/winforms | src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestInfo.cs | 1,355 | C# |
using System;
using System.Threading.Tasks;
using CompaniesHouse.Response.Officers;
using NUnit.Framework;
namespace CompaniesHouse.IntegrationTests.Tests.OfficerTests
{
public abstract class OfficersTestBase
{
protected CompaniesHouseClient _client;
protected CompaniesHouseClientResponse<Offi... | 24.413793 | 67 | 0.65678 | [
"MIT"
] | SreejithNair/CompaniesHouse.NET | src/CompaniesHouse.IntegrationTests/Tests/OfficerTests/OfficersTestBase.cs | 710 | C# |
using Copa.Domain.Copa.FasesCopa;
using Copa.Domain.Copa.Partidas;
using Copa.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Copa.Domain.Copa.DefinicaoPartidas
{
[RegraFaseCopa(EnumFaseCopa.Final)]
public class RegraDefinicaoPartidaFinal : IReg... | 27.888889 | 139 | 0.752988 | [
"MIT"
] | JDouglasMendes/Copa | desafio-a-copa-server/Copa/Copa.Domain/Copa/DefinicaoPartidas/RegraDefinicaoPartidaFinal.cs | 504 | 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 System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Reflection.Metadata;
using System.Reflectio... | 45.002242 | 190 | 0.604952 | [
"MIT"
] | Ollon/MSBuildTemplates | src/Microsoft.CodeAnalysis.SyntaxTree/MetadataReference/AssemblyMetadata.cs | 20,073 | C# |
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... | 29.817955 | 167 | 0.663963 | [
"MIT"
] | saludnqn/Empadronamiento | DalSic/generated/PnCalculaPrecio.cs | 11,957 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace HousingTenant.Business.Library.Models
{
public class ComplaintRequest : ARequest
{
public IPerson Accused { get; set; }
public override int CompareTo(ARequest other)
{
if(other != null && ... | 36.078947 | 186 | 0.557987 | [
"MIT"
] | revaturelabs/housing-tenant | HousingTenant.Business/HousingTenant.Business.Library/Models/ComplaintRequest.cs | 1,373 | C# |
using banditoth.Forms.RecurrenceToolkit.Logging.Enumerations;
using SQLite;
using System;
using System.Collections.Generic;
using System.Text;
namespace banditoth.Forms.RecurrenceToolkit.Logging.SQLite.Entities
{
public class Log
{
[AutoIncrement]
[PrimaryKey]
public long Id { get; set; }
public DateTime D... | 19.136364 | 67 | 0.738717 | [
"MIT"
] | banditoth/Forms.RecurrenceToolkit | banditoth.Forms.RecurrenceToolkit/banditoth.Forms.RecurrenceToolkit.Logging.SQLite/Entities/Log.cs | 423 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using Cosmos.IL2CPU.Plugs;
namespace Cosmos.Core.Plugs.System.IO
{
[Plug(TargetName = "System.IO.PathHelper")]
[SuppressMessage("ReSharper", "InconsistentNaming")]
public static class PathHelperImpl
{
public static unsafe v... | 41.614754 | 138 | 0.608627 | [
"BSD-3-Clause"
] | ERamaM/Cosmos | source/Cosmos.Core.Plugs/System/IO/PathHelperImpl.cs | 5,079 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 85.582278 | 373 | 0.709658 | [
"MIT"
] | Agazoth/azure-powershell | src/DataProtection/generated/api/Support/Month.Completer.cs | 6,683 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace RPEx
{
public static class Class1
{
public Class1()
{
var dateStr = Expression.Parameter(typeof(IObservable<bool>));
var dateStr2 = Expression.Parameter(typeof(bool));
//var asDateT... | 31.20155 | 149 | 0.613665 | [
"MIT"
] | tmknakamu/RPEx | RPEx/RPEx/Class1.cs | 4,027 | C# |
using java.lang;
public class GenericClass2<T> {
public T get(T t) {
return t;
}
public static string test(string s) {
return new GenericClass2<string>().get(s);
}
} | 16 | 44 | 0.670455 | [
"Apache-2.0"
] | monoman/cnatural-language | tests/resources/ObjectModelTest/sources/GenericClass2.stab.cs | 176 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ch04_01VertexSkinning
{
public partial class Form1 : Form
{
public Form1()
... | 18.095238 | 37 | 0.692105 | [
"MIT"
] | AndreGuimRua/Direct3D-Rendering-Cookbook | Ch04_01VertexSkinning/Form1.cs | 382 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using U_System.External.GitHub.Internal;
using U_System.External.Plugin;
using U_System.UX;
namespace U_System.Core.Plugins.Models
{
public class Plugin : Vie... | 41.544304 | 131 | 0.638026 | [
"MIT"
] | WinterStudios/U-System | U-System.Core/Plugins/Models/Plugin.cs | 3,284 | 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... | 36.170543 | 147 | 0.609087 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/ApplicationInsights/Generated/Model/Internal/MarshallTransformations/CreateLogPatternRequestMarshaller.cs | 4,666 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using LASI.Content;
using LASI.Utilities;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
namespace LASI.WebApp.Controllers.Helpers
{
public static class FileU... | 38.870968 | 129 | 0.714523 | [
"MIT"
] | aluanhaddad/LASI | LASI.WebApp/Controllers/Helpers/FileUploadHelper.cs | 1,207 | C# |
//using Magicodes.ExporterAndImporter.Core.Models;
//using System;
//using System.Collections.Generic;
//using System.Text;
//using System.Threading.Tasks;
//namespace ExcelDemo
//{
// /// <summary>
// /// 导入
// /// </summary>
// public interface IImporter
// {
// /// <summary>
// ///... | 29.081081 | 93 | 0.513011 | [
"MIT"
] | zhaobingwang/sample | Demo/Magicodes.IE.Demo/ExcelDemo/IImporter.cs | 1,132 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Agri.Models.Configuration
{
public class SoilTestPotassiumKelownaRange : Versionable
{
public SoilTestPotassiumKelownaRange()
{
SoilTestPotassiumRecommendations = new List<SoilTestPotassiumReco... | 31.5 | 99 | 0.67619 | [
"Apache-2.0"
] | bcgov/agri-nmp | app/Agri.Models/Configuration/SoilTestPotassiumKelownaRange.cs | 632 | C# |
using System;
using System.Security.Claims;
using Newtonsoft.Json;
using Prime.Models;
namespace Prime.ViewModels.Parties
{
public class AuthorizedUserViewModel : IUserBoundModel
{
public int Id { get; set; }
public Guid UserId { get; set; }
public string FirstName { get; set; }
... | 36.9 | 68 | 0.6486 | [
"Apache-2.0"
] | WadeBarnes/moh-prime | prime-dotnet-webapi/ViewModels/Parties/AuthorizedUserViewModel.cs | 1,107 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dicom.Network {
public class DicomNEventReportResponse : DicomResponse {
public DicomNEventReportResponse(DicomDataset command) : base(command) {
}
public DicomNEventReportResponse(DicomNEventReportRequest request,... | 32.972222 | 114 | 0.727043 | [
"BSD-3-Clause"
] | chunhuxiao/fo-dicom | DICOM/Network/DicomNEventReportResponse.cs | 1,189 | C# |
// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis.
// For more info see: https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2108
// <auto-generated/>
// Copyright (c) Nate McMaster.
// Licensed under the Apache License, Version 2.0. See License.txt in the project... | 41.769231 | 131 | 0.70442 | [
"MIT"
] | nseedio/nseed | lab/SeedingWeedingOutAndDestroyingStartup/NSeed/ThirdParty/CommandLineUtils/Validation/IOptionValidator.cs | 1,086 | C# |
namespace OpenTracing.Propagation
{
/// <summary>
/// Format instances control the behavior of <see cref="ITracer.Inject{TCarrier}"/> and
/// <see cref="ITracer.Extract{TCarrier}"/> (and also constrain the type of the carrier parameter to same). Most
/// OpenTracing users will only reference the <see c... | 40.684211 | 116 | 0.670116 | [
"Apache-2.0"
] | Falco20019/opentracing-csharp | src/OpenTracing/Propagation/IFormat.cs | 775 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using LinearAlgebra;
namespace MathVectorTests
{
[TestClass]
public class MathVectorTest
{
[TestMethod]
public void TestDimensions()
{
var vector = new MathVector(new double[] { 1, 0, 3, 5 });
... | 29.019313 | 99 | 0.521408 | [
"MIT"
] | ThirstB1ood/MathVector_CSharp | MathVectorTests/UnitTest1.cs | 13,525 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace SMBMessageParser.Models.NetworkStruct.Close
{
class CloseResponse : SMB2Body
{
readonly ushort _StructureSize = 60;
ushort _Flags;
readonly uint _Reserved = 0;
DateTimeOffset _CreationTime;
Dat... | 45.866667 | 112 | 0.636628 | [
"MIT"
] | tlsnns/NTLMClient | NTLMTest/SMBMessageParser/Models/NetworkStruct/Close/CloseResponse.cs | 2,754 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.REALPERSON.Models
{
/**
* Model for initing client
*/
public class Config : TeaModel {
/// <summary>
/// accesskey id
///... | 26.097222 | 57 | 0.524215 | [
"MIT"
] | alipay/antchain-openapi-prod-sdk | realperson/csharp/core/Models/Config.cs | 3,874 | C# |
#region License
// Copyright (c) 2014
#endregion
namespace VEF.Interfaces.Services
{
/// <summary>
/// Interface ILoggerService - used for logging in the application
/// </summary>
public interface IOutputService
{
object TBStreamWriter { get; set; }
/// <summary>
/// Get... | 21.045455 | 70 | 0.583153 | [
"MIT"
] | devxkh/FrankE | Editor/VEF/VEF.XForms/Interface/Services/IOutputService.cs | 463 | C# |
// (c) Copyright Microsoft Corporation.
// This source is subject to [###LICENSE_NAME###].
// Please see [###LICENSE_LINK###] for details.
// All other rights reserved.
using System;
using System.Diagnostics;
using System.Globalization;
using System.Windows;
using System.Windows.Markup;
namespace Microsoft.Windows.C... | 31.547945 | 143 | 0.513569 | [
"MIT"
] | danielhidalgojunior/zrageadminpanel | WpfToolkit/Calendar/Microsoft/Windows/Controls/DateTimeHelper.cs | 9,214 | C# |
// Copyright 2007-2010 The Apache Software Foundation.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless req... | 29.319149 | 105 | 0.642235 | [
"Apache-2.0"
] | claycephas/MassTransit | src/MassTransit.Tests/Serialization/GivenASimpleMessage.cs | 2,756 | C# |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... | 27.118182 | 235 | 0.614147 | [
"MIT"
] | zxsean/DCET | Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapPathfindingAstarWorkItemWrapWrapWrapWrapWrap.cs | 2,985 | C# |
using System;
using System.Collections.Concurrent;
using System.Text;
using Microsoft.Extensions.DependencyInjection;
using OpenIddict.Abstractions;
using OrchardCore.OpenId.YesSql.Models;
using OrchardCore.OpenId.YesSql.Stores;
namespace OrchardCore.OpenId.YesSql.Resolvers
{
/// <inheritdoc/>
public class Ope... | 42.666667 | 119 | 0.649671 | [
"BSD-3-Clause"
] | 1051324354/OrchardCore | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Resolvers/OpenIdApplicationStoreResolver.cs | 2,432 | C# |
// <auto-generated />
using System;
using EventCloud.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace EventCloud.Migrations
{
[DbContext... | 33.518764 | 125 | 0.459233 | [
"MIT"
] | andreeko28/eventcloud | aspnet-core-angular/aspnet-core/src/EventCloud.EntityFrameworkCore/Migrations/EventCloudDbContextModelSnapshot.cs | 45,554 | C# |
using UnityEngine;
namespace traVRsal.SDK
{
public class JointHelper : MonoBehaviour
{
public bool lockXPosition = true;
public bool lockYPosition = true;
public bool lockZPosition = true;
public bool lockXRotation = true;
public bool lockYRotation = true;
publ... | 32.734694 | 225 | 0.619701 | [
"MIT"
] | WetzoldStudios/traVRsal-sdk | Runtime/Logic/Interactions/JointHelper.cs | 1,606 | 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;
namespace Microsoft.Azure.SignalR.Management
{
/// <summary>
/// A builder for configuring <see cref="IServiceManager"/> instances.
/// </su... | 36.833333 | 105 | 0.638009 | [
"MIT"
] | KKhurin/azure-signalr | src/Microsoft.Azure.SignalR.Management/ServiceManagerBuilder.cs | 1,328 | C# |
using LiNGS.Common.Network;
using LiNGS.Server.Network;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LiNGS.Server.Aggregator
{
internal class BufferedNetworkMessage
{
public NetworkMessage Message { get; set; }
public DateTime FirstMessageData... | 31.085106 | 101 | 0.639973 | [
"MIT"
] | valterc/lings | LiNGSServer/Aggregator/BufferedNetworkMessage.cs | 1,463 | C# |
using Affecto.Mapping.AutoMapper;
using AutoMapper;
namespace Affecto.AuditTrail.Querying.Mapping
{
internal class AuditTrailFilterMapper : OneWayMapper<Model.AuditTrailFilter, Store.Model.AuditTrailFilter>
{
protected override void ConfigureMaps()
{
Mapper.CreateMap<Model.AuditTra... | 48.652174 | 111 | 0.753351 | [
"MIT"
] | affecto/dotnet-AuditTrailService | AuditTrail.Querying/Mapping/AuditTrailFilterMapper.cs | 1,121 | C# |
//
// This file was auto-generated using the ChilliConnect SDK Generator.
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tag Games Ltd
//
// 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... | 36.456311 | 126 | 0.717443 | [
"MIT"
] | ChilliConnect/Samples | UnitySamples/CharacterGacha/Assets/ChilliConnect/GeneratedSource/Requests/GetInventoryRequest.cs | 3,755 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using SFA.DAS.ApplyService.Application.Apply;
using SFA.DAS.ApplyService.Application.Apply.Assessor;
using SFA.DAS.ApplyService.Application.Apply.Gateway;
using SFA.DAS.ApplyService... | 45.920635 | 207 | 0.71552 | [
"MIT"
] | uk-gov-mirror/SkillsFundingAgency.das-apply-service | src/SFA.DAS.ApplyService.Application.UnitTests/Handlers/UpdateGatewayReviewStatusAsClarificationHandlerTests/UpdateGatewayReviewStatusAsClarificationHandlerTests.cs | 2,895 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("TryReadAPI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyP... | 25.648649 | 56 | 0.713383 | [
"MIT"
] | theMoudou/DataBindControls | DataBindControls/TryReadAPI/Properties/AssemblyInfo.cs | 1,274 | C# |
namespace MiniUML.View.Views.ResizeAdorner.Thumbs
{
using System.Windows.Controls.Primitives;
/// <summary>
/// A move thumb can be used to move a shape on the canvas.
/// (This thumb is not yet used in this implementation)
///
/// The resize adorner view design is baed on
/// http://www.codeproject.co... | 30.461538 | 99 | 0.658586 | [
"MIT"
] | Dirkster99/Edi | MiniUML/MiniUML.View/Views/ResizeAdorner/Thumbs/MoveThumb.cs | 1,982 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using Xunit;
namespace System.Diagnostics.Tests
{
pub... | 31.704545 | 148 | 0.532855 | [
"MIT"
] | 06needhamt/runtime | src/libraries/System.Runtime.Extensions/tests/System/Diagnostics/Stopwatch.cs | 4,185 | C# |
// MIT License
//
// Copyright (c) 2009-2017 Luca Piccioni
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, cop... | 34.316667 | 81 | 0.771734 | [
"MIT"
] | GiantBlargg/OpenGL.Net | OpenGL.Net/EXT/Egl.EXT_create_context_robustness.cs | 2,059 | C# |
namespace RTCV.UI
{
partial class UI_CanvasForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... | 36.274194 | 128 | 0.553579 | [
"MIT"
] | fossabot/RTCV | Source/Tests/GlitchHarvester/UI_CanvasForm.Designer.cs | 2,251 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TransportSystem.Data.Dbcontexts;
... | 37.346512 | 125 | 0.466654 | [
"MIT"
] | richardnwonah/TransportSystem.App | TransportSystem.Data/Migrations/20210610083510_initt.Designer.cs | 16,061 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Devices.Usb
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class UsbDeviceClass
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global... | 35.838235 | 153 | 0.748461 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.Usb/UsbDeviceClass.cs | 2,437 | 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
*
... | 29.75 | 83 | 0.662338 | [
"Apache-2.0"
] | ImEdisonJiang/tencentcloud-sdk-dotnet | TencentCloud/Redis/V20180412/Models/DescribeAutoBackupConfigRequest.cs | 1,313 | C# |
using Perpetuum.Accounting.Characters;
using Perpetuum.Data;
using Perpetuum.Host.Requests;
using Perpetuum.Services.Channels;
namespace Perpetuum.RequestHandlers.Channels
{
public class ChannelKick : IRequestHandler
{
private readonly IChannelManager _channelManager;
public ChannelKick(IChan... | 34.088235 | 88 | 0.618637 | [
"MIT"
] | LoyalServant/PerpetuumServerCore | Perpetuum.RequestHandlers/Channels/ChannelKick.cs | 1,161 | C# |
//Write a program that compares two text files line by line and prints the number of lines that are the same and the number of lines that are different.
//Assume the files have equal number of lines.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
us... | 33.041667 | 153 | 0.485498 | [
"MIT"
] | ztodorova/Telerik-Academy | C#-part2/TextFiles/04.CompareTextFiles/Program.cs | 1,588 | C# |
namespace ZazasCleaningService.Web.ViewModels.Votes
{
public class VoteResponseViewModel
{
public int VotesCount { get; set; }
}
}
| 19 | 52 | 0.684211 | [
"MIT"
] | TihomirIvanovIvanov/ZazasCleaningService | ZazasCleaningService/Web/ZazasCleaningService.Web.ViewModels/Votes/VoteResponseViewModel.cs | 154 | 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;
using System.Net;
using System.Linq;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.Text;
using Microsoft.Protocols.T... | 39.578885 | 233 | 0.577581 | [
"MIT"
] | MinLiSH/WindowsProtocolTestSuites | ProtocolTestManager/Plugins/RDPServerPlugin/RDPServerPlugin/Detector/RDPDetector.cs | 33,365 | C# |
namespace Brewery.ProjectTool.Commands;
internal interface IToolCommand
{
void Run();
} | 15.5 | 40 | 0.763441 | [
"MIT"
] | Valax321/Brewery | src/ProjectTool/Commands/IToolCommand.cs | 95 | C# |
singleton Material(OccStone_01_OccStone001DIF)
{
mapTo = "OccStone001DIF";
diffuseMap[0] = "Occ_Stone_001_DIF";
normalMap[0] = "Occ_Stone_001_NRM";
specular[0] = "0.9 0.9 0.9 1";
specularPower[0] = "10";
translucentBlendOp = "None";
};
| 23.181818 | 46 | 0.670588 | [
"CC0-1.0"
] | Torque3D-Games-Demos/T3D_Ron_Demos | data/FPSGameplay/cave/art/shapes/Cave_Rocks/OccStone_01/materials.cs | 255 | C# |
public sealed class TestAttribute : JCMG.EntitasRedux.ContextAttribute
{
public TestAttribute() : base("Test") { }
}
| 23.6 | 70 | 0.754237 | [
"MIT"
] | MaxShwachko/entitas-redux-modified | Unity/Assets/JCMG/EntitasRedux/Scripts/Editor/Tests/Generated/Test/TestAttribute.cs | 118 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Foundation.Metadata.Annotations;
namespace Foundation.Metadata.Conventions
{
public class RelationshipDiscoveryConvention : IEntityConvention
{
public const string NAVIGATION_CANDIDATES_ANNOTATION_NAME = ... | 48.653125 | 202 | 0.574475 | [
"MIT"
] | lecaillon/Foundation | src/Foundation/Metadata/Conventions/RelationshipDiscoveryConvention.cs | 15,571 | C# |
/*******************************************************************************
* You may amend and distribute as you like, but don't remove this header!
*
* EPPlus provides server-side generation of Excel 2007/2010 spreadsheets.
* See https://github.com/JanKallman/EPPlus for details.
*
* Copyright (C) 2011 Ja... | 43.118421 | 132 | 0.575832 | [
"MIT"
] | Afonsof91/Magicodes.IE | src/EPPlus/EPPlus/FormulaParsing/ExpressionGraph/CompileResultFactory.cs | 3,280 | 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.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Th... | 43.719424 | 190 | 0.632714 | [
"MIT"
] | AlexanderSemenyak/roslyn | src/EditorFeatures/Core/Shared/Preview/PreviewSolutionCrawlerRegistrationService.cs | 6,079 | C# |
using System.Collections.Generic;
using CloudFlare.Client.Api.Accounts.Subscriptions;
using CloudFlare.Client.Test.Helpers;
using FluentAssertions;
using Xunit;
namespace CloudFlare.Client.Test.Serialization
{
public class ComponentValueTest
{
[Fact]
public void TestSerialization()
{
... | 27.105263 | 133 | 0.681553 | [
"MIT"
] | UmbHost/CloudFlare.Client | CloudFlare.Client.Test/Serialization/ComponentValueTest.cs | 517 | C# |
using SpeccyCommon;
namespace Speccy
{
public class ULA_Plus : IODevice
{
public event ULAOutEventHandler ULAOutEvent;
public bool Responded { get; set; }
// Following values taken from generic colour palette from ULA plus site
public int[] Palette = new int[64] { 0x000000, 0x... | 38.425926 | 124 | 0.436867 | [
"MIT"
] | ArjunNair/Zero-Emulator | Ziggy/Speccy/Devices/ULA_Plus.cs | 4,152 | 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.Data.Common;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace System.Data.Odbc
{
... | 38.751004 | 170 | 0.521712 | [
"MIT"
] | AustinWise/runtime | src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcHandle.cs | 9,649 | C# |
using System;
using System.Collections.Generic;
using NextGenSoftware.OASIS.API.Core.Enums;
using NextGenSoftware.OASIS.API.Core.Helpers;
using NextGenSoftware.OASIS.API.Core.Objects;
namespace NextGenSoftware.OASIS.API.Providers.MongoDBOASIS.Entities
{
public class AvatarDetail : Holon
{
public string... | 62.362319 | 738 | 0.636765 | [
"CC0-1.0"
] | neurip/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK | NextGenSoftware.OASIS.API.Providers.MongoOASIS/Entities/AvatarDetail.cs | 4,303 | C# |
using System.Collections.Generic;
using Mod;
using UnityEngine;
namespace Photon
{
public class PhotonStream
{
private byte currentItem;
internal List<object> data;
private bool write;
public PhotonStream(bool write, object[] incomingData)
{
this.write = wri... | 25.753488 | 100 | 0.427488 | [
"Apache-2.0"
] | ITALIA195/Shelter | Shelter/Photon/PhotonStream.cs | 5,537 | C# |
// Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
usin... | 36.952381 | 118 | 0.609021 | [
"MIT"
] | djewsbury/XLE | Samples/Legacy/ModelViewer/MainForm.cs | 3,882 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.