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 |
|---|---|---|---|---|---|---|---|---|
// FastNoise.cs
//
// MIT License
//
// Copyright(c) 2017 Jordan Peck
//
// 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 ... | 38.08681 | 476 | 0.654758 | [
"MIT"
] | Matistjati/Console-game-engine-game | UncoalEngine/Uncoal/Map generating/Fastnoise.cs | 90,382 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.ReverseProxy.Signals
{
/// <summary>
/// Dummy value which can be used as a type parameter with <see cref="Signal{T}"/>
/// to create a value-less signal, useful to propagate notification events.
/// </summar... | 26.318182 | 86 | 0.601036 | [
"MIT"
] | JasonCoombs/reverse-proxy | src/ReverseProxy/Signals/Unit.cs | 579 | C# |
namespace DankInventory.Data
{
public class License : DankDynamicObject
{
public int Id { get; set; }
public string Name { get; set; }
public string Uri { get; set; }
public decimal Cost { get; set; }
}
} | 18.071429 | 44 | 0.56917 | [
"Apache-2.0"
] | nerdymishka/gainz | dotnet/src/Apps/DankInventory.Data/Data/License.cs | 253 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Gitdate;
using System.Diagnostics;
using System.Text.RegularExpressions;
using YoutubeExtractor;
using Google.Apis.Services;
using Google.Apis.YouTube.v3;
using Google.Apis.YouTub... | 30.328221 | 111 | 0.64428 | [
"Unlicense"
] | cartman300/Plync | Plync/Program.cs | 9,889 | C# |
using BFF.ViewModel.ViewModels.ForModels;
using GongSolutions.Wpf.DragDrop;
using System;
using System.Threading;
using System.Windows;
namespace BFF.View.Wpf.DropHandler
{
public class MergingPayeeViewModelsDropHandler : IDropTarget
{
private static readonly Lazy<MergingPayeeViewModelsDropHandler> La... | 34.114286 | 176 | 0.656616 | [
"MIT"
] | Yeah69/BFF | View.Wpf/DropHandler/MergingPayeeViewModelsDropHandler.cs | 1,196 | C# |
using Restaurant.Abstractions.ViewModels;
namespace Restaurant.Abstractions.Subscribers
{
/// <summary>
/// Subscriber for IBasketItemViewModel
/// </summary>
public interface IBasketItemViewModelSubscriber : ISubscriber<IBasketItemViewModel>
{
}
} | 24.818182 | 87 | 0.739927 | [
"MIT"
] | nhatphuongb1/Restaurant-App | src/Client/Restaurant.Client/Restaurant.Abstractions/Subscribers/IBasketItemViewModelSubscriber.cs | 273 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace Corium3DGI.Utils
{
public class RadToDegConverter : IValueConverter
{
public object Convert(object val, Type targetType, object arg, System.Globaliza... | 26.695652 | 116 | 0.677524 | [
"BSD-3-Clause"
] | Synergy91/Corium3D | Corium3DGI/Utils/RadToDegConverter.cs | 616 | C# |
using Managers;
using UnityEngine;
using UnityEngine.UI;
namespace Components {
/// <summary>
/// A simple description of what is chapter (a name, and a yarn script)
/// </summary>
[System.Serializable]
public class Chapter {
/// <summary>
/// The name of this chapter.
/// <... | 39.589744 | 118 | 0.57351 | [
"MIT"
] | Urbanotopus/urbanotopus | Assets/Scripts/Components/ChapterManager.cs | 6,176 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Linq;
namespace Library
{
public partial class MaintainBooksForm : Library.ParentForm
{
LibraryEntity context = new LibraryE... | 31.632353 | 104 | 0.558345 | [
"MIT"
] | GuoHM/Library | library/MaintainBooksForm.cs | 2,153 | C# |
#if !NETSTANDARD13
/*
* 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 ... | 37.938144 | 150 | 0.65625 | [
"Apache-2.0"
] | orinem/aws-sdk-net | sdk/src/Services/DeviceFarm/Generated/Model/_bcl45+netstandard/ListArtifactsPaginator.cs | 3,680 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using Unity.Netcode.RuntimeTests;
using Unity.Netcode;
using Debug = UnityEngine.Debug;
namespace TestProject.RuntimeTests
{
public class MultiClientConnectionApprov... | 40.12013 | 154 | 0.627499 | [
"MIT"
] | Briancoughlin/com.unity.netcode.gameobjects | testproject/Assets/Tests/Runtime/MultiClientConnectionApproval.cs | 12,357 | C# |
using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
namespace SharpDPAPI
{
public class Crypto
{
public static string KerberosPasswordHash(Interop.KERB_ETYPE etype, string password, string salt = "", int count = 4096)
... | 39.64726 | 176 | 0.527166 | [
"BSD-3-Clause"
] | Bl4d3666/SharpMapExec | SharpMapExec/Projects/SharpDPAPI/lib/Crypto.cs | 11,579 | C# |
namespace Light.Data
{
internal class LightConditionDataFieldInfo : LightDataFieldInfo, ISupportNotDefine, IDataFieldInfoConvert
{
private readonly object _ifTrue;
private readonly object _ifFalse;
private readonly QueryExpression _query;
private bool _isNot;
public LightConditionDataFieldInfo (QueryEx... | 31.305556 | 106 | 0.73425 | [
"MIT"
] | aquilahkj/Light.Data2 | src/Light.Data/DataField/LightConditionDataFieldInfo.cs | 2,256 | 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 Markdig.Renderers.Normalize;
using Markdig.Syntax.Inlines;
namespace NuGet.Services.Messaging.Email.Internal
{
/// <summary>
/// A Plain... | 32.25 | 111 | 0.710078 | [
"Apache-2.0"
] | DalavanCloud/ServerCommon | src/NuGet.Services.Messaging.Email/Internal/PlainTextEmphasisInlineRenderer.cs | 647 | 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.ComponentModel.Composition.Primitives;
namespace System.ComponentModel.Composition.Hosting
{
public static class CompositionConstants
{
private const st... | 50.609756 | 96 | 0.752289 | [
"MIT"
] | belav/runtime | src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/CompositionConstants.cs | 2,075 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using UnityEngine;
using System.Text.RegularExpressions;
using System.Linq;
namespace Stratus
{
/// <summary>
/// Encloses a string. For example, "dog" -> "<dog>"
/// </summary>
public enum StratusStringEnclosure
{
//... | 27.444234 | 166 | 0.625982 | [
"MIT"
] | Azurelol/Stratus-Core | Runtime/Extensions/StratusStringExtensions.cs | 14,518 | C# |
using RedisBlue.Interfaces;
using RedisBlue.Models;
using StackExchange.Redis;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace RedisBlue.Services
{
internal class Const... | 25 | 99 | 0.668889 | [
"MIT"
] | danielgerlag/redisblue | RedisBlue/Services/ExpressionResolvers/ConstantResolver.cs | 902 | 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... | 65.733333 | 440 | 0.694388 | [
"MIT"
] | Agazoth/azure-powershell | src/Databricks/generated/api/Models/Api20210401Preview/GroupIdInformationProperties.PowerShell.cs | 11,653 | C# |
/*=================================\
* ArduinoFileBrowser\Program.cs
*
* The Coestaris licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
*
* Created: 06.08.2017 20:09
* Last Edited: 09.09.2017 21:10:45
*=================================*/
using System;
us... | 23.703704 | 65 | 0.5875 | [
"MIT"
] | Coestaris/PlotterControl | Tools/ArduinoFileBrowser/Program.cs | 640 | C# |
using System;
using System.ComponentModel;
using DotNetVault.Attributes;
using JetBrains.Annotations;
namespace LaundryMachine.LaundryCode
{
[VaultSafe]
public readonly struct ErrorRegistrationStatus : IEquatable<ErrorRegistrationStatus>,
IComparable<ErrorRegistrationStatus>
{
#region Sta... | 47.539063 | 155 | 0.650616 | [
"MIT-0",
"MIT"
] | JTOne123/DotNetVault | ExampleLaundryMachine/LaundryMachine/LaundryCode/ErrorRegistrationStatus.cs | 6,087 | C# |
// <auto-generated> - Template:SqliteModelData, Version:1.1, Id:c5caad15-b3be-4443-87d8-7cabde59f7b0
using SQLite;
namespace MSC.CM.Xam.ModelData.CM
{
[Table("SessionLike")]
public partial class SessionLike
{
public string CreatedBy { get; set; }
public System.DateTime CreatedUtcDate { get; set; }
public int ... | 31.814815 | 111 | 0.7078 | [
"Apache-2.0"
] | MSCTek/ConferenceMate | src/MSC.CM.Xam/ModelData/SessionLike.cs | 859 | 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... | 32.495098 | 124 | 0.593151 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/CustomerProfiles/Generated/Model/AppflowIntegrationWorkflowStep.cs | 6,629 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 37.72 | 153 | 0.581831 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/CalendarEventsCollectionRequestBuilder.cs | 2,829 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Affinda.API.Models
{
public partial class Components7CqvqpSchemasInvoicedataPropertiesInvoicenumberAllof2
{
inter... | 33.304348 | 183 | 0.539164 | [
"MIT"
] | affinda/affinda-dotnet | AffindaAPI/AffindaAPI/Models/Components7CqvqpSchemasInvoicedataPropertiesInvoicenumberAllof2.Serialization.cs | 1,532 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ICSharpCode.CodeConverter.Tests.TestRunners;
using Xunit;
namespace ICSharpCode.CodeConverter.Tests.CSharp.MissingSemanticModelInfo
{
public class StatementTests : ConverterTestBase
... | 31.859649 | 154 | 0.686123 | [
"MIT"
] | BrianFreemanAtlanta/CodeConverter | Tests/CSharp/MissingSemanticModelInfo/StatementTests.cs | 1,762 | C# |
// ReSharper disable once CheckNamespace
namespace Fluxera.Utilities.Extensions
{
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using Guards;
using JetBrains.Annotations;
[PublicAPI]
public static partial class AssemblyExtensions
{
/// <summary>
/// Gets the content of the g... | 25.97561 | 108 | 0.705164 | [
"MIT"
] | fluxera/Fluxera.Utilities | src/Fluxera.Utilities/Extensions/Assembly/GetResourceAsStringAsync.cs | 1,067 | C# |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace PhysicalResolvePoC.Interop
{
class Win32Api
{
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern int FormatMessage(
Win32Const.FormatMessageFlags dwFlags,
... | 30 | 83 | 0.652564 | [
"BSD-3-Clause"
] | daem0nc0re/AtomicSyscall | SyscallPoCs/PhysicalResolvePoC/Interop/Win32Api.cs | 782 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using NewLife.Log;
using NewLife.Threading;
namespace NewLife.Net.Handlers
{
/// <summary>消息匹配队列接口。用于把响应数据包配对到请求包</summary>
public interface IMatchQueue
{
/// <summary>加入请求队列</summary>
/// <param name="owner">拥... | 33.417989 | 124 | 0.457251 | [
"MIT"
] | NewLifeX/X | NewLife.Core/Net/Handlers/IMatchQueue.cs | 6,904 | C# |
using Uno.Extensions;
using Uno.MsBuildTasks.Utils;
using Uno.MsBuildTasks.Utils.XamlPathParser;
using Uno.UI.SourceGenerators.XamlGenerator.Utils;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Syst... | 26.38403 | 137 | 0.698131 | [
"Apache-2.0"
] | dansiegel/Uno | src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileGenerator.Reflection.cs | 20,819 | 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... | 33.440678 | 110 | 0.673594 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/WAFRegional/Generated/Model/GetRegexPatternSetRequest.cs | 1,973 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace SvgToPng.Config
{
public class ConversionProfile
{
public ColorConversion[] ColorConversions { get; set; }
public Output[] Output { get; set; }
public string OutputDirectory { get; set; }
public string... | 24.6875 | 63 | 0.643038 | [
"MIT"
] | Inrego/SvgToPng | SvgToPng/Config/ConversionProfile.cs | 397 | C# |
// Copyright © 2017, Meta Company. All rights reserved.
//
// Redistribution and use of this software (the "Software") in binary form, without modification, is
// permitted provided that the following conditions are met:
//
// 1. Redistributions of the unmodified Software in binary form must reproduce the abo... | 37.347518 | 110 | 0.638245 | [
"MIT"
] | jerryMeng100/Masquerade-Meta | MetaTesting/Assets/MetaSDK/Meta/Mouse/Scripts/PlaybackInputWrapper.cs | 5,275 | 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("6. ... | 38.054054 | 84 | 0.747869 | [
"MIT"
] | boggroZZdev/SoftUniHomeWork | TechModule/ProgrammingFundamentals/4.Programming-Fundamentals-Data-types-and-Variables/6. stringsAndObjects/Properties/AssemblyInfo.cs | 1,411 | C# |
/*using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using PactNet.Mocks.MockHttpService;
using PactNet.Mocks.MockHttpService.Models;
using System.Threading.Tasks;
using Xunit;
namespace PactNet.Tests.IntegrationTests
{
public class PactBuilderFailureIntegrationTests : IClass... | 37.677966 | 165 | 0.573549 | [
"MIT"
] | chad-tw/pact-net | tests/PactNet.Abstractions.Tests/IntegrationTests/PactBuilderFailureIntegrationTests.cs | 4,446 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
namespace AtroFree.Services
{
public interface IEasyBluetoothService
{
/// <summary>
/// Indica si el dispositivo soporta conexión por Bluetooth.
/// </summary>
bool IsSupported { get; }
/// <summary>
... | 35.797101 | 158 | 0.624291 | [
"MIT"
] | JafetMeza/AtroFree | Sciodesk.AtroFree/AtroFree/AtroFree/Services/IEasyBluetoothService.cs | 2,487 | C# |
// 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/.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ServiceStack.Authentication.... | 35.040816 | 118 | 0.647059 | [
"MPL-2.0"
] | MacLeanElectrical/servicestack-authentication-identityserver | src/ServiceStack.Authentication.IdentityServer/Clients/RefreshTokenClient.cs | 1,719 | C# |
#region Copyright & License
// Copyright © 2012 - 2021 François Chabot
//
// 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 r... | 40.516129 | 149 | 0.715499 | [
"Apache-2.0"
] | emmanuelbenitez/Be.Stateless.BizTalk.Dsl.Binding | src/Be.Stateless.BizTalk.Dsl.Binding.Tests/Dsl/Binding/Adapter/WcfNetTcpAdapter.InboundFixture.cs | 3,772 | C# |
using System;
using UILayouTaro;
using UnityEngine;
using UnityEngine.UI;
public class AsyncButtonElement : LTAsyncElement, ILayoutableRect
{
public override LTElementType GetLTElementType()
{
return LTElementType.AsyncButton;
}
public Image Image;
public Action OnTapped;
public stat... | 25.075 | 69 | 0.662014 | [
"MIT"
] | sassembla/LayouTaro | Assets/LayouTaro/LayouTaroElements/AsyncButtonElement.cs | 1,135 | C# |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x85d4-613b4c55")]
public void Method_0000_85d4()
{
ii(0x85d4, 4); mov(memw[ds, 0xd66], gs); /* m... | 51.448276 | 100 | 0.41689 | [
"Apache-2.0"
] | mikhail-khalizev/max | source/MikhailKhalizev.Max/source/Program/Auto/z-0000-85d4.cs | 1,492 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace quieropizza.web
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.Register... | 21.526316 | 60 | 0.689487 | [
"MIT"
] | karolyn1998/quieropizza | quieropizza/quieropizza.web/Global.asax.cs | 411 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using AutoMapper;
using PhotoMSK.Data;
using PhotoMSK.Data.Enums;
using PhotoMSK.Data.Models;
using PhotoMSK.Data.Models.Attachments;
using PhotoMSK.ViewModels.Attachments;
using PhotoMSK.ViewModels.I... | 34.877419 | 162 | 0.585646 | [
"MIT"
] | MarkusMokler/photomsmsk-by | PhotoMSK/Core/PhotoMSK.ViewModels/Realisation/WallService.cs | 5,409 | C# |
using System.Diagnostics;
namespace ThirdPartyLibraries.Repository.Template
{
[DebuggerDisplay("{Name}")]
public sealed class RootReadMePackageContext
{
public string Source { get; set; }
public string Name { get; set; }
public string Version { get; set; }
public string ... | 23.25 | 61 | 0.623656 | [
"MIT"
] | max-ieremenko/ThirdPartyLibraries | Sources/ThirdPartyLibraries.Repository/Template/RootReadMePackageContext.cs | 653 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FirstViewerWebApp
{
/// <summary>
/// Model class required to deserialize the JSON response
/// </summary>
public class Models
{
public class AccessToken
{
public string token_type { ge... | 24.305556 | 60 | 0.597714 | [
"MIT"
] | GetSomeRest/view.and.data-simplest-aspnet | FirstViewerWebApp/FirstViewerWebApp/Models.cs | 877 | C# |
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia;
using Avalonia.VisualTree;
using Avalonia.Controls;
using ReactiveUI;
namespace Avalonia.ReactiveUI
{
/// <summary>
/// A ReactiveUI <see cref="UserControl"/> that implements the <see cref="IViewFor{TViewModel}"/> inte... | 33.835821 | 117 | 0.619762 | [
"MIT"
] | 0x90d/Avalonia | src/Avalonia.ReactiveUI/ReactiveUserControl.cs | 2,267 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiClass(nativeType: typeof(aws.DataAwsWafregionalRateBasedRule), fullyQualifiedName: "aws.DataAwsWafregionalRateBasedRule", parametersJson: "[{\"name\":\"scope\",\"type\":{\"fqn\":\"constructs.Construct\"}},{\"name\"... | 47.796296 | 358 | 0.65711 | [
"MIT"
] | scottenriquez/cdktf-alpha-csharp-testing | resources/.gen/aws/aws/DataAwsWafregionalRateBasedRule.cs | 2,581 | 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>
//--... | 43.84375 | 190 | 0.614754 | [
"MIT"
] | s2quake/JSSoft.Font | JSSoft.Fonts.ConsoleHost/Properties/Resources.Designer.cs | 2,808 | C# |
using System.Numerics;
namespace GameSpec.Cry.Formats.Core.Chunks
{
/// <summary>
/// Geometry info contains all the vertex, color, normal, UV, tangent, index, etc. Basically if you have a Node chunk with a Mesh and Submesh, this will contain the summary of all
/// the datastream chunks that contai... | 68.892857 | 185 | 0.636599 | [
"MIT"
] | bclnet/GameSpec | Cry/GameSpec.Cry/Formats/Core/Chunks/GeometryInfo.cs | 1,931 | C# |
using Cosmos.Domain.ChangeTracking;
using Cosmos.Domain.EntityDescriptors;
namespace Cosmos.Domain.Core
{
/// <summary>
/// Interface for entity
/// </summary>
public interface IEntity : IDomainObject
{
/// <summary>
/// Init
/// </summary>
void Init();
}
/... | 25.833333 | 93 | 0.597419 | [
"MIT"
] | alexinea/Cosmos.Standard | src/Cosmos.Extensions.Domain/Cosmos/Domain/Core/IEntity.cs | 777 | C# |
using System.Text.RegularExpressions;
using NUnit.Framework;
using SharpTestsEx;
using Toggle.Net.Configuration;
using Toggle.Net.Providers.TextFile;
using Toggle.Net.Specifications;
using Toggle.Net.Tests.Stubs;
namespace Toggle.Net.Tests.TextFile
{
public class RegExTest
{
[Test]
public void ShouldHandleMatch... | 27.140845 | 101 | 0.71095 | [
"MIT"
] | JTOne123/Toggle.Net | code/Toggle.Net.Tests/TextFile/RegExTest.cs | 1,929 | C# |
/*
Copyright (C) 2014 Alexandros Andre Chaaraoui
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... | 32.551724 | 141 | 0.464588 | [
"Apache-2.0"
] | Marechal-L/BagOfKeyPoses | BagOfKeyPoses_Library/Util/SimpleDTW.cs | 6,610 | C# |
// Copyright (c) 2018, Rene Lergner - wpinternals.net - @Heathcliff74xda
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the r... | 44.458824 | 299 | 0.59394 | [
"MIT"
] | dung11112003/Patcher | Patcher/MainPatcher.cs | 7,560 | C# |
namespace CTA.Rules.Models.Tokens
{
public class UsingDirectiveToken : NodeToken
{
public override bool Equals(object obj)
{
var token = (UsingDirectiveToken)obj;
return token.Key == this.Key;
}
public override int GetHashCode()
{
ret... | 22.8125 | 49 | 0.553425 | [
"Apache-2.0"
] | QPC-database/cta | src/CTA.Rules.Models/Tokens/Usingdirectivetoken.cs | 367 | C# |
extern alias legacy;
using System;
using System.Web.DynamicData;
using System.Web.Hosting;
using System.Web.Routing;
using Gcpe.Hub.Properties;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
namespace Gcpe.Hub
{
public class Global : System.Web.HttpApplication
{
priva... | 41.261364 | 211 | 0.633572 | [
"Apache-2.0"
] | AlessiaYChen/gcpe-hub | Hub.Legacy/Gcpe.Hub.Legacy.Website/Global.asax.cs | 7,266 | C# |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\ksmedia.h(1507,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct KSRTAUDIO_HWREGISTER
{
public IntPtr Register;
public uint W... | 25.647059 | 89 | 0.665138 | [
"MIT"
] | Steph55/DirectN | DirectN/DirectN/Generated/KSRTAUDIO_HWREGISTER.cs | 438 | C# |
using Json.Logic.Rules;
using NUnit.Framework;
namespace Json.Logic.Tests
{
public class MultiplyTests
{
[Test]
public void MultiplyNumbersReturnsSum()
{
var rule = new MultiplyRule(4, 5);
var actual = rule.Apply();
JsonAssert.AreEquivalent(20, actual);
}
[Test]
public void MultiplyNonNumberTh... | 17.84 | 57 | 0.683857 | [
"MIT"
] | ConnectionMaster/json-everything | JsonLogic.Tests/MultiplyTests.cs | 446 | C# |
/*
* Overture API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collectio... | 54.844311 | 687 | 0.653783 | [
"MIT"
] | Yaksa-ca/eShopOnWeb | src/Yaksa.OrckestraCommerce.Client/Model/MembershipConfiguration.cs | 18,318 | C# |
using Newtonsoft.Json;
using System;
using System.IO;
namespace DevilDaggersAssetEditor.User
{
[JsonObject(MemberSerialization.OptIn)]
public class UserSettings
{
public const string PathDefault = @"C:\Program Files (x86)\Steam\steamapps\common\devildaggers";
private const string _fileName = "settings.json";
... | 29.564103 | 155 | 0.75889 | [
"Unlicense"
] | NoahStolk/DevilDaggersAssetEditor | DevilDaggersAssetEditor/User/UserSettings.cs | 1,153 | C# |
#pragma checksum "C:\Users\Matt\Documents\GitHub\SpartaHack2016-Windows\SpartaHack\SpartaHack\HomePage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "7C0BBD6C8B5E8B6B602CD08A3CA804A0"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by... | 40.986486 | 185 | 0.534784 | [
"MIT"
] | SpartaHack/SpartaHack-Windows | 2016/SpartaHack/SpartaHack/obj/ARM/Debug/HomePage.g.cs | 3,035 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using System.Windows.Media;
namespace ExerciceMultiplications.MVVM
{
public class NullableBooleanToColorConverter : IValueConverter
{
/// <summary>
/// Convertir un boolean nullable... | 27.924528 | 124 | 0.525 | [
"MIT"
] | nmariot/Multiplications | ExerciceMultiplications.MVVM/NullableBooleanToColorConverter.cs | 1,482 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | 38.837838 | 85 | 0.727209 | [
"MIT"
] | MBulli/Envar-Editor | EnvarEditor/Properties/AssemblyInfo.cs | 1,440 | C# |
namespace SrkCsv
{
using SrkCsv.Internals;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
/// <summary>
/// Basic CSV reader.
/// </summary>
public class CsvRe... | 33.097264 | 146 | 0.377078 | [
"Unlicense"
] | JTOne123/SrkCsv | src/SrkCsv/CsvReader.cs | 10,891 | C# |
namespace XPuzzleCP.Data;
public class XPuzzleSpaceInfo : IBasicSpace
{
public Vector Vector { get; set; }
public string Text { get; set; } = "";
public string Color { get; set; } = cs.Transparent;
public void ClearSpace()
{
Color = cs.Transparent;
Text = "";
}
public bool I... | 24.5 | 55 | 0.602041 | [
"MIT"
] | musictopia2/GamingPackXV3 | CP/Games/XPuzzleCP/Data/XPuzzleSpaceInfo.cs | 394 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 33.607595 | 203 | 0.636911 | [
"ECL-2.0",
"Apache-2.0"
] | adnang/pulumi-azure | sdk/dotnet/Lb/GetBackendAddressPool.cs | 2,655 | C# |
namespace Toggl.Core.Interactors
{
public enum PushNotificationSyncSourceState
{
Foreground,
Background
}
}
| 15.111111 | 47 | 0.661765 | [
"BSD-3-Clause"
] | MULXCODE/mobileapp | Toggl.Core/Interactors/Sync/PushNotificationSyncSourceState.cs | 136 | C# |
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2021 @Olivier Lefebvre
using Aguacongas.IdentityServer.Abstractions;
using Aguacongas.IdentityServer.Store;
using Aguacongas.IdentityServer.Store.Entity;
using System;
namespace Aguacongas.IdentityServer.Admin.Services
{
/// <summary>
/// Gets a one time t... | 32.533333 | 87 | 0.608607 | [
"Apache-2.0"
] | Magicianred/TheIdServer | src/IdentityServer/Aguacongas.IdentityServer.Admin/Services/OneTimeTokenService.cs | 1,466 | C# |
using System.Collections.ObjectModel;
using Prism.Events;
using CodeMovement.EbcdicCompare.Models.Constant;
using CodeMovement.EbcdicCompare.Models.Request;
using CodeMovement.EbcdicCompare.Models.Result;
using CodeMovement.EbcdicCompare.Models.ViewModel;
using CodeMovement.EbcdicCompare.Services;
using CodeMovement.E... | 40.215517 | 115 | 0.681029 | [
"Apache-2.0"
] | cmoresid/ebcdic-compare-tool | CodeMovement.EbcdicCompare.Presentation/Controller/EbcdicFileContentRegionController.cs | 4,667 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFabr... | 58.277778 | 118 | 0.699714 | [
"MIT"
] | Microsoft/service-fabric-services-and-actors-dotnet | src/Microsoft.ServiceFabric.Actors/Runtime/Migration/MigrationTelemetryConstants.cs | 1,049 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using AutherizationAuthentication.Data;
namespace AutherizationAuthenticat... | 34.95082 | 151 | 0.634146 | [
"MIT"
] | sofani/sofani_codeNET | WebApplication70-486/AutherizationAuthentication/Pages/Account/Manage/Disable2fa.cshtml.cs | 2,132 | C# |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using MonoGame.Utilities;
using System;
namespace Microsoft.Xna.Framework.Content
{
internal class MultiArrayReader<T> : ContentTypeReader... | 31.321429 | 91 | 0.511593 | [
"MIT"
] | sl8rw/CS581_MonoGame_Addons | MonoGame.Framework/Content/ContentReaders/MultiArrayReader.cs | 2,633 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;
using System.Xml.XPath;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using... | 29.249443 | 121 | 0.594685 | [
"MIT"
] | ConnectionMaster/Umbraco-CMS | src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlPublishedContent.cs | 13,133 | C# |
namespace Bitbucket.Net.Models.Core.Projects
{
public enum PullRequestFromTypes
{
Comment,
Activity
}
}
| 14.777778 | 45 | 0.631579 | [
"MIT"
] | ADHUI/Bitbucket.Net | src/Bitbucket.Net/Models/Core/Projects/PullRequestFromTypes.cs | 135 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 39.145455 | 203 | 0.585893 | [
"ECL-2.0",
"Apache-2.0"
] | RafalSumislawski/pulumi-aws | sdk/dotnet/DirectConnect/TransitVirtualInterface.cs | 15,071 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//code was edited remotely
//vs update
//code to call feature1
... | 17.666667 | 39 | 0.58221 | [
"MIT"
] | 4thworldsoldier/Gitest | ConsoleApp1/ConsoleApp1/Program.cs | 373 | C# |
using Excalibur.Cross.ViewModels;
using System;
namespace MyThaiStar.Core.ViewModels
{
public class BookTableViewModel : BaseViewModel
{
#region private
private DateTime _startDate;
private DateTime _minStartDate;
private DateTime _bookingTime;
private int _ass... | 20.911111 | 56 | 0.540914 | [
"Apache-2.0"
] | devonfw/devon4x | Samples/Standard/MyThaiStar/Excalibur/Excalibur/ViewModels/BookTableViewModel.cs | 943 | C# |
using System;
using System.Collections.Generic;
using System.Text;
#if IOS || MACCATALYST
using PlatformView = UIKit.UIMenu;
#elif MONOANDROID
using PlatformView = Android.Views.View;
#elif WINDOWS
using PlatformView = Microsoft.UI.Xaml.Controls.MenuFlyoutSubItem;
#elif NETSTANDARD || (NET6_0 && !IOS && !ANDROID)
usin... | 29.116279 | 168 | 0.771965 | [
"MIT"
] | GabrieleMessina/maui | src/Core/src/Handlers/MenuFlyoutSubItem/MenuFlyoutSubItemHandler.cs | 2,506 | C# |
namespace CoAPnet.Client
{
public enum CoapResponseStatusCode
{
Empty = 0,
Created = 201,
Deleted = 202,
Valid = 203,
Changed = 204,
Content = 205,
BadRequest = 400,
Unauthorized = 401,
BadOption = 402,
Forbidden = 403,
N... | 21.424242 | 39 | 0.553041 | [
"MIT"
] | SeppPenner/CoAPnet | Source/CoAPnet/Client/CoapResponseStatusCode.cs | 709 | C# |
namespace IupMetadata
{
public enum NumberedAttribute : int
{
No = 0,
OneID = 1,
TwoIDs = 2
}
} | 11.666667 | 36 | 0.628571 | [
"Unlicense"
] | batiati/IUPMetadata | src/IupMetadata/NumberedAttribute.cs | 107 | C# |
#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you kno... | 117.756141 | 615 | 0.835839 | [
"Apache-2.0"
] | cece95/GGJ2020-EarthBuilders | Assets/Wwise/Deployment/API/Generated/Windows/AkSoundEnginePINVOKE_Windows.cs | 263,656 | C# |
using MBN;
using MBN.Modules;
using System;
using System.Threading;
namespace Examples
{
class Program
{
static void Main()
{
Test7Seg();
Thread.Sleep(Timeout.Infinite);
}
private static void Test7Seg()
{
var seg =... | 24.864865 | 114 | 0.446739 | [
"Apache-2.0"
] | MBNSoftware/MBN-TinyCLR | Examples/UT-X-7SegClick/Program.cs | 922 | 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;
using System.Device.I2c;
namespace Iot.Device.SenseHat
{
/// <summary>
/// SenseHAT - Joystick
/// </summary>
public class SenseHatJoystick : IDisposa... | 26.98 | 90 | 0.52891 | [
"MIT"
] | AU-tomata/iot | src/devices/SenseHat/SenseHatJoystick.cs | 2,700 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WrongAndGood : MonoBehaviour
{
public bool correctAnswer;
void Start()
{
correctAnswer = false;
}
// Update is called once per frame
void Update()
{
}
}
| 15.05 | 41 | 0.627907 | [
"Apache-2.0"
] | Yes-Brothers-Co/KingFrog | Assets/Script/Interactions/WrongAndGood.cs | 303 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Mastersign.Bench.PropertyCollections
{
/// <summary>
/// This interface describes an object, which stores grouped properties.
/// It is a combination of <see cref="IGroupedPropertySource"/> and <see cref="IGroupedPropertyTarget"/... | 43.4375 | 109 | 0.623381 | [
"MIT"
] | winbench/bench | BenchManager/BenchLib/PropertyCollections/IGroupedPropertyCollection.cs | 2,782 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UncommonSense.CBreeze.Automation
{
public static class ParameterSetNames
{
public const string AddWithID = "AddWithID";
public const string AddWithoutID = "AddWithoutID... | 33.125 | 102 | 0.65 | [
"MIT"
] | FSharpCSharp/UncommonSense.CBreeze | CBreeze/UncommonSense.CBreeze.Automation/ParameterSetNames.cs | 1,062 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;
public class CameraController : MonoBehaviour
{
public static CameraController Main;
public static Camera Camera; //Static access to our Camera (because Camera.main is expensive)
Transfor... | 31.407895 | 113 | 0.758693 | [
"MIT"
] | pheonise/Basic-Character-Controller | Assets/Scripts/Characters/CameraController.cs | 2,389 | C# |
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace KeyVaultBuild.Features.Transformation
{
public class TransformKeys
{
private readonly ISecretService _secretService;
private static readonly Regex KeyRegex = new Regex(@"(?<keyvault>\#{keyvault:[a-zA-Z0-9:\-]*})", Re... | 33.088235 | 180 | 0.642667 | [
"MIT"
] | brendankowitz/KeyVaultBuild | src/KeyVaultBuild.Core/Features/Transformation/TransformKeys.cs | 1,127 | C# |
using System;
using System.Threading.Tasks;
using Reinforced.Tecture.Channels;
using Reinforced.Tecture.Channels.Multiplexer;
using Reinforced.Tecture.Commands;
using Reinforced.Tecture.Query;
using Reinforced.Tecture.Tracing.Commands;
using Reinforced.Tecture.Tracing.Commands.Cycles;
// ReSharper disable ArrangeAcces... | 35.727273 | 141 | 0.639949 | [
"MIT"
] | fjod/Reinforced.Tecture | Reinforced.Tecture/Services/TectureServiceBase.cs | 3,932 | C# |
// <copyright file="Constants.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Shifts.Integration.API.Common
{
/// <summary>
/// This class models the constants being used.
/// </summary>
public static class Constants
{
///... | 34.076087 | 108 | 0.603828 | [
"MIT"
] | Andy65/Microsoft-Teams-Shifts-WFM-Connectors | Kronos-Shifts-Connector/Microsoft.Teams.Shifts.Integration/Microsoft.Teams.Shifts.Integration.API/Common/Constants.cs | 3,137 | 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("de... | 37.972973 | 84 | 0.745196 | [
"Apache-2.0"
] | deveel/deveeldb-log4net | src/deveeldb-log4net/Properties/AssemblyInfo.cs | 1,408 | C# |
using System.IO;
using Marten.Schema;
using Marten.Storage;
namespace Marten.Events
{
// SAMPLE: AppendEventFunction
public class AppendEventFunction : Function
{
private readonly EventGraph _events;
public AppendEventFunction(EventGraph events) : base(new DbObjectName(events.DatabaseSchem... | 31.423913 | 202 | 0.675199 | [
"MIT"
] | pauleck/marten | src/Marten/Events/AppendEventFunction.cs | 2,891 | C# |
#if WITH_EDITOR
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
/// <summary>The Slot for the USizeBoxSlot, contains the widget displayed in a button's single slot</summary>
public partial class USizeBoxSlot
{
static readonly i... | 36.173077 | 147 | 0.779904 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/USizeBoxSlot_FixSize.cs | 1,881 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Manager : MonoBehaviour {
public static Manager Instance { set; get; }
public Text l1Time;
public Text l2Time;
public Text l3Time;
public Text l4Time;
public Text l5Time;
p... | 25.696552 | 77 | 0.610038 | [
"MIT"
] | razein97/Game-Projects | tumball/Assets/Scripts/Manager.cs | 3,728 | 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... | 49.627938 | 147 | 0.650151 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/test/Services/AccessAnalyzer/UnitTests/Generated/Marshalling/AccessAnalyzerMarshallingTests.cs | 263,971 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
us... | 26.827586 | 94 | 0.661954 | [
"MIT"
] | Coding4FunProjects/Coding4FunToolk | source/Coding4Fun.Toolkit.Test.WindowsStore/Samples/Color/ColorPicker.xaml.cs | 1,558 | 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.Reflection;
using Xunit;
namespace System.Text.RegularExpressions.Tests
{
public class RegexReductionTests
{
// These tests depend on using reflection t... | 50.081553 | 240 | 0.432111 | [
"MIT"
] | 3DCloud/runtime | src/libraries/System.Text.RegularExpressions/tests/RegexReductionTests.cs | 25,792 | C# |
#region Mr. Advice
// Mr. Advice
// A simple post build weaving package
// http://mradvice.arxone.com/
// Released under MIT license http://opensource.org/licenses/mit-license.php
#endregion
namespace ArxOne.MrAdvice.IO
{
using System.Diagnostics;
using System.IO;
using StitcherBoy.Logging;
... | 32.564103 | 113 | 0.629921 | [
"MIT"
] | ArxOne/MrAdvice | MrAdvice.Weaver/IO/FileLogging.cs | 1,272 | C# |
using System;
using System.Collections.Generic;
namespace Weikio.TypeGenerator.Delegates
{
public class DelegateCache
{
public static Dictionary<Guid, MulticastDelegate> Cache = new Dictionary<Guid, MulticastDelegate>();
public static Guid Add(MulticastDelegate multicastDelegate)
{
... | 22.791667 | 108 | 0.617916 | [
"MIT"
] | t-andre/TypeGenerator | src/Weikio.TypeGenerator/Delegates/DelegateCache.cs | 549 | C# |
using FileTypeChecker;
using FileTypeChecker.Abstracts;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using Scholarships.Data;
using Scholarships.Models.Forms;
us... | 38.300595 | 213 | 0.502992 | [
"MIT"
] | eahs/Scholarships | ADSBackend/Controllers/AnswerGroupController.cs | 12,871 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Singularis.Specification.Definition;
using Singularis.Specification.Definition.Query;
using Singularis.Specification.Demo.Models;
namespace Singularis.Specification.Demo.Specifications
{
class UserWithRelatedObjects : Specification<User>
{
p... | 22.772727 | 54 | 0.740519 | [
"Apache-2.0"
] | SingularisLab/singularis.specification | src/Singularis.Specification/Singularis.Specification.Demo/Specifications/UserWithRelatedObjects.cs | 503 | C# |
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace MyGame.Example
{
using global::System;
using global::System.Collections.Generic;
using global::FlatBuffers;
public struct TypeAliases : IFlatbufferObject
{
private Table __p;
public ByteBuffe... | 52.548077 | 230 | 0.668893 | [
"Apache-2.0"
] | khoitd1997/flatbuffers | tests/MyGame/Example/TypeAliases.cs | 10,930 | C# |
using Microsoft.EntityFrameworkCore;
using Simu.App.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Simu.Data.Context
{
public class MeuDbContext : DbContext
{
public MeuDbContext(DbContextOptions options) : base(opt... | 30.484848 | 88 | 0.642147 | [
"MIT"
] | ericksalec/SimuPoscomp | src/Simu.Data/Context/MeuDbContext.cs | 1,008 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.