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.
//
// (C) 2001 Ximian, Inc. http://www.ximian.com
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
// Copyright 2013 Xamarin, Inc (http://www.xamarin.com)
//
// Permis... | 35.124756 | 156 | 0.569232 | [
"MIT"
] | 333fred/runtime | src/mono/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs | 18,019 | C# |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Json.Schema;
/// <summary>
/// Handles `multipleOf`.
/// </summary>
[SchemaKeyword(Name)]
[SchemaDraft(Draft.Draft6)]
[SchemaDraft(Draft.Draft7)]
[SchemaDraft(Draft.Draft201909)]
[SchemaDraft(Draft.Draft202012)]
[Vocabulary(Vocabul... | 31.929293 | 135 | 0.743119 | [
"MIT"
] | beachwalker/json-everything | JsonSchema/MultipleOfKeyword.cs | 3,163 | C# |
using Structure.Sketching.Tests.Formats.BaseClasses;
using System.IO;
using Xunit;
namespace Structure.Sketching.Tests.Formats.Jpeg
{
public class JpegFormat : FormatTestBase
{
public override string ExpectedDirectory => "./ExpectedResults/Formats/Jpg/";
public override string Input... | 35.358974 | 93 | 0.583031 | [
"Apache-2.0"
] | JaCraig/Structure.Sketching | Structure.Sketching.Tests/Formats/Jpeg/JpegFormat.cs | 1,381 | C# |
/*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License... | 36.966667 | 101 | 0.627142 | [
"Apache-2.0"
] | 5u5hma/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/ImportExport/AmazonImportExportClientCmdlet.cs | 2,218 | C# |
namespace SoManyBooksSoLittleTime.Services
{
using System.Threading.Tasks;
public interface IGoodreadsScraperService
{
Task PopulateDbWithBooksAsync(int booksCount);
}
}
| 19.6 | 54 | 0.739796 | [
"MIT"
] | RadostinaPetrova/SoManyBooksSoLittleTime | Services/SoManyBooksSoLittleTime.Services/IGoodReadsScraperService.cs | 198 | C# |
using Volo.Abp.Threading;
namespace BookStore
{
public static class BookStoreGlobalFeatureConfigurator
{
private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();
public static void Configure()
{
OneTimeRunner.Run(() =>
{
/* You... | 31.416667 | 99 | 0.562334 | [
"MIT"
] | 271943794/abp-samples | BlazorPageUniTest/src/BookStore.Domain.Shared/BookStoreGlobalFeatureConfigurator.cs | 756 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using Robust.Shared.Serialization.Manager.Attributes;
namespace OpenDreamShared.Interface {
public class InterfaceDescriptor {
public List<WindowDescriptor> WindowDescriptors;
public List<MacroSetDescriptor> MacroSetDescripto... | 35.28 | 176 | 0.741497 | [
"MIT"
] | DamianX/OpenDream | OpenDreamShared/Interface/InterfaceDescriptor.cs | 884 | C# |
/*
* Copyright (c) 2020 ETH Zürich, Educational Development and Technology (LET)
*
* 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;
namespace Sa... | 28.616667 | 133 | 0.668608 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | 20162026/seb-win-refactoring | SafeExamBrowser.Lockdown.Contracts/IFeatureConfiguration.cs | 1,720 | 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("5.... | 38.027027 | 84 | 0.741294 | [
"MIT"
] | Roskataa/Telerik-Homework-C-Part-1 | Operators and expresions/Operators and Expressions/05. Third Digit is/Properties/AssemblyInfo.cs | 1,410 | C# |
using MinecraftMappings.Internal.Textures.Block;
namespace MinecraftMappings.Minecraft.Bedrock.Textures.Block
{
public class GlassBlack : BedrockBlockTexture
{
public GlassBlack() : base("Glass Black")
{
AddVersion("glass_black")
.MapsToJavaBlock<Java.Textures.Block... | 25.785714 | 74 | 0.65928 | [
"MIT"
] | null511/MinecraftMappings.NET | MinecraftMappings.NET/Minecraft/Bedrock/Textures/Block/GlassBlack.cs | 363 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using projeto_pratica_api.Data;
using projeto_pratica_api.models;
namespace projeto_pratica_api.Controllers
{
[Route("/mapa")]
[ApiController]
public class PaisesController : Controller
{
public IRep... | 27.122449 | 80 | 0.544771 | [
"MIT"
] | Platinamaster1/-_PROJECT---COTUCA | projeto_pratica_api/Controllers/PaisesController.cs | 1,329 | C# |
using ModernWpf.Controls;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
namespace DGP.Genshin.Control.Infrastructure.CachedImage
{
[TypeConverter(typeo... | 32.416667 | 133 | 0.587933 | [
"MIT"
] | CzHUV/Snap.Genshin | DGP.Genshin/Control/Infrastructure/CachedImage/CachedIconElementBase.cs | 6,615 | C# |
using System;
using AVFoundation;
using Foundation;
using Photos;
using UIKit;
namespace Softeq.ImagePicker.Media.Delegates
{
public class VideoCaptureDelegate : AVCaptureFileOutputRecordingDelegate
{
private nint? _backgroundRecordingId;
private readonly Action _didStart;
p... | 39.146667 | 134 | 0.583447 | [
"MIT"
] | JKLumirithmic/ImagePicker-xamarin-ios | Softeq.ImagePicker/Media/Delegates/VideoCaptureDelegate.cs | 5,872 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Ecs.V2.Model
{
/// <summary>
/// 更新云服务器Body体。
/// </summary>
public cl... | 32.173077 | 142 | 0.501793 | [
"Apache-2.0"
] | Huaweicloud-SDK/huaweicloud-sdk-net-v3 | Services/Ecs/V2/Model/UpdateServerOption.cs | 3,696 | C# |
using System;
namespace POETradeHelper.ItemSearch.Exceptions
{
public class ParserException : Exception
{
protected string ItemString { get; }
public ParserException(string itemString) : this(itemString, null, null)
{
}
public ParserException(string itemString, string... | 30.228571 | 130 | 0.649338 | [
"Apache-2.0",
"MIT"
] | alueck/POE-TradeHelper | Source/POETradeHelper.ItemSearch/Exceptions/ParserException.cs | 1,060 | 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>
//--... | 38.486111 | 173 | 0.601949 | [
"MIT"
] | ShashangkaShekhar/Windows-FormPrinting | WFPrint/Properties/Resources.Designer.cs | 2,773 | C# |
namespace BattleshipLiteCP.Logic;
public class BattleshipCollection : IBoardCollection<ShipInfo>
{
private readonly BoardCollection<ShipInfo> _privateBoard;
public ShipInfo this[int row, int column]
{
get
{
return _privateBoard[row, column];
}
}
public ShipInfo t... | 25.302326 | 79 | 0.625 | [
"MIT"
] | musictopia2/GamingPackXV3 | CP/Games/BattleshipLiteCP/Logic/BattleshipCollection.cs | 1,090 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 40.69697 | 153 | 0.626955 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/ediscovery/requests/INoncustodialDataSourceRequestBuilder.cs | 2,686 | C# |
using System;
using System.Threading;
namespace SystemDot.Messaging.Batching
{
public class Batch : Disposable
{
static readonly ThreadLocal<Batch> current = new ThreadLocal<Batch>();
bool completed;
public static Batch GetCurrent()
{
return current.Value;
}... | 20.509804 | 78 | 0.528681 | [
"Apache-2.0"
] | SystemDot/SystemDotServiceBus | SystemDotMessaging/Projects/SystemDot.Messaging/Batching/Batch.cs | 1,046 | C# |
using System;
using System.Collections.Generic;
namespace Blackjack
{
public class Hand
{
private readonly List<Card> _cards = new List<Card>(12);
private int _cachedTotal = 0;
public Card AddCard(Card card)
{
_cards.Add(card);
_cachedTotal = 0;
... | 24.882353 | 64 | 0.429669 | [
"Unlicense"
] | AMKballer/basic-computer-games | 10 Blackjack/csharp/Hand.cs | 1,692 | C# |
namespace Gu.Wpf.NumericInput
{
using System.Runtime.CompilerServices;
using System.Windows;
/// <summary>
/// Resource keys for <see cref="NumericBox"/>
/// </summary>
public static partial class NumericBox
{
public static ResourceKey IncreaseGeometryKey { get; } = CreateKey();
... | 35.333333 | 94 | 0.687893 | [
"MIT"
] | forki/Gu.Wpf.NumericInput | Gu.Wpf.NumericInput/Boxes/NumericBox.Keys.cs | 1,274 | C# |
using System.IO;
namespace MatrixIO.IO.Bmff.Boxes
{
/// <summary>
/// Movie Extends Header Box ("mehd")
/// </summary>
[Box("mehd", "Movie Extends Header Box")]
public sealed class MovieExtendsHeaderBox : FullBox
{
public MovieExtendsHeaderBox()
: base() { }
public... | 25.36 | 100 | 0.525237 | [
"MIT"
] | NiklasArbin/bmff | MatrixIO.IO.Bmff/IO/Bmff/Boxes/MovieExtendsHeaderBox.cs | 1,270 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Funq;
using ServiceStack;
using ServiceStack.Configuration;
using Chinook.ServiceInterface;
namespace Chinook
{
... | 32.18 | 122 | 0.65693 | [
"MIT"
] | alexeidzoto/demo-devexpress | stack/db/chinook/Chinook/Startup.cs | 1,609 | C# |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\mfidl.h(18377,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[Guid("c5bc37d6-75c7-46a1-a132-81b5f723c20f"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IMFMediaStream2 : IMFMediaStre... | 43.682927 | 225 | 0.653825 | [
"MIT"
] | bbday/DirectN | DirectN/DirectN/Generated/IMFMediaStream2.cs | 1,793 | 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.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
namespace System.Data
{
/// <... | 39.019802 | 142 | 0.558741 | [
"MIT"
] | belav/runtime | src/libraries/System.Data.Common/src/System/Data/LinqDataView.cs | 11,823 | 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... | 37.639785 | 150 | 0.578203 | [
"Apache-2.0"
] | sebtelko/pulumi-azure-native | sdk/dotnet/Automation/V20151031/AutomationAccount.cs | 7,001 | C# |
using UnityEngine;
using UnityEngine.Events;
public class ProjectileBase : MonoBehaviour
{
public GameObject owner { get; private set; }
public Vector3 initialPosition { get; private set; }
public Vector3 initialDirection { get; private set; }
public Vector3 inheritedMuzzleVelocity { get; priv... | 29.428571 | 66 | 0.657767 | [
"MIT"
] | IPFPS/ipfps | Assets/FPS/Scripts/ProjectileBase.cs | 826 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006-2019, All rights reserved.
// The software and associated documentation supplied hereunder are the
// propri... | 37.210526 | 157 | 0.599717 | [
"BSD-3-Clause"
] | Smurf-IV/Krypton-Toolkit-Suite-NET-Core | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/ButtonSpec/ButtonSpecRemapByContentCache.cs | 2,831 | C# |
// -----------------------------------------------------------------------
// <copyright file="IListPriceProvider.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System.Co... | 33.631579 | 75 | 0.561815 | [
"MIT"
] | Azure/ccme | src/shared/CostEstimationManager/ListPriceProviders/IListPriceProvider.cs | 641 | C# |
using System;
using System.Collections.Generic;
namespace PastebinMachine.AutoUpdate.CryptoTool.ResponseClasses
{
// Token: 0x02000007 RID: 7
public class KeyStructure
{
// Token: 0x04000011 RID: 17
public string e;
// Token: 0x04000012 RID: 18
public string n;
// Token: 0x04000013 RID: 19
public KeyS... | 19.222222 | 63 | 0.709538 | [
"BSD-3-Clause"
] | aaay-aaay/AUDBTool | ResponseClasses/KeyStructure.cs | 692 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 23.339869 | 134 | 0.655559 | [
"Apache-2.0"
] | bbs168/aliyun-openapi-net-sdk | aliyun-net-sdk-ecs/Ecs/Model/V20140526/DetachDiskRequest.cs | 3,571 | C# |
using System;
namespace SqlDataProvider.Data
{
public class TotemHonorTemplateInfo
{
public int ID;
public int Type;
public int NeedMoney;
public int AddHonor;
public TotemHonorTemplateInfo()
{
}
}
} | 13.095238 | 39 | 0.578182 | [
"MIT"
] | HuyTruong19x/DDTank4.1 | Source Server/SqlDataProvider/SqlDataProvider/Data/TotemHonorTemplateInfo.cs | 277 | 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 Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Razor;
using Microsoft.VisualStudio.Text;
using Microsoft... | 43.521739 | 148 | 0.652348 | [
"Apache-2.0"
] | AmadeusW/Razor | test/Microsoft.VisualStudio.Editor.Razor.Test/DefaultRazorEditorFactoryServiceTest.cs | 12,014 | C# |
using System;
using Root.Coding.Code.Enums.E01D.Json;
namespace Root.Coding.Code.Models.E01D.Json
{
public class JsonContract
{
public JsonReadType InternalReadType { get; set; }
public bool IsNullable { get; set; }
public bool IsConvertable { get; set; }
public bool IsEnum { ... | 30.481481 | 64 | 0.622114 | [
"Apache-2.0"
] | E01D/Base | src/E01D.Base.Json.Models/Coding/Code/Models/E01D/Json/JsonContract.cs | 825 | C# |
using System;
using System.Collections;
using System.Threading.Tasks;
using BDFramework.ScreenView;
using BDFramework.Sql;
using UnityEngine;
using BDFramework.UI;
using Game.Data;
using LitJson;
using UnityEngine.UI;
using BDFramework;
using BDFramework.DataListener;
using BDFramework.ResourceMgr;
using BDFramework.V... | 28.768362 | 118 | 0.560291 | [
"Apache-2.0"
] | ZetLiu/BDFramework.Core | Assets/Code/Game@hotfix/Window_DemoMain.cs | 5,334 | C# |
using System;
using System.Data;
using System.Linq;
using System.Collections.Generic;
using Ayehu.Sdk.ActivityCreation.Interfaces;
using Ayehu.Sdk.ActivityCreation.Extension;
using Microsoft.Graph;
using Microsoft.Identity.Client;
using Microsoft.Graph.Auth;
namespace Ayehu.Sdk.ActivityCreation
{
public class Offi... | 32.086957 | 137 | 0.584011 | [
"MIT"
] | Ayehu/custom-activities | Office365/OfficeRemoveUserLicense/OfficeRemoveUserLicense.cs | 2,952 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 66.900763 | 236 | 0.715883 | [
"MIT"
] | Aliases/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IOnPremisesConditionalAccessSettingsRequest.cs | 8,764 | C# |
using Rabbitual.Configuration;
using Topshelf;
namespace Rabbitual.ConsoleHost
{
public static class Host
{
public static void Run(bool inMemory)
{
var c = Bootstrapper.Bootstrap(true);
//run service using TopShelf
HostFactory.Run(x =>
{
... | 26.738095 | 67 | 0.463045 | [
"MIT"
] | BjartN/Rabbitual | src/Rabbitual.ConsoleHost/Host.cs | 1,125 | 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.Reflection;
namespace ApiCheck
{
internal class AssemblyNameComparer : IEqualityCompa... | 33.352941 | 118 | 0.641093 | [
"Apache-2.0"
] | dotnet-maestro-bot/BuildTools | src/ApiCheck.Console/Loader/AssemblyNameComparer.cs | 1,136 | C# |
// Deflater.cs
//
// Copyright (C) 2001 Mike Krueger
// Copyright (C) 2004 John Reilly
//
// This file was translated from java, it was part of the GNU Classpath
// Copyright (C) 2001 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms... | 39.758065 | 101 | 0.50764 | [
"MIT"
] | Acidburn0zzz/flashdevelop | External/Tools/AppMan/ZipLib/Zip/Compression/Deflater.cs | 21,628 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour {
public bool loading = false;
public void Start()
{
loading = false;
}
public void Update()
{
if (!loading)
{
... | 22.851064 | 88 | 0.543762 | [
"Apache-2.0"
] | paulsmithkc/GravityWells | Assets/Scripts/Menu.cs | 1,076 | C# |
//! \namespace NanoByte.Common.Storage
//! \brief File system access and serialization.
| 30 | 49 | 0.744444 | [
"MIT"
] | nano-byte/common | src/Common/Storage/_Namespace.cs | 90 | C# |
using Bonobo.Git.Server.App_GlobalResources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Bonobo.Git.Server.Data
{
public enum RepositoryPushMode
{
[Display(ResourceType = typeof(Resources), Name = "No")]
No = 0,
... | 31.413793 | 127 | 0.547201 | [
"MIT"
] | 16it/Bonobo-Git-Server | Bonobo.Git.Server/Data/Repository.cs | 3,644 | C# |
using System.Threading.Tasks;
using ExamKing.Application.Mappers;
namespace ExamKing.WebApp.Admin
{
/// <summary>
/// 权限管理器
/// </summary>
public interface IAuthorizationManager
{
/// <summary>
/// 获取管理员实体
/// </summary>
/// <returns></returns>
Task<AdminDto>... | 22 | 46 | 0.535985 | [
"MIT"
] | pig0224/ExamKing | ExamKing.WebApp.Admin/Security/Managers/IAuthorizationManager.cs | 560 | C# |
using P03.WildFarm.Contracts;
namespace P03.WildFarm.Classes.Animals.Mammals
{
public abstract class Feline : Mammal, IFeline
{
protected Feline(string name, double weight, string livingRegion, string breed)
:base(name, weight, livingRegion)
{
Breed = breed;
}
... | 28.4 | 126 | 0.600352 | [
"MIT"
] | vankatalp360/C-OOP-Basics | POLYMORPHISM/Exercise/Polymorphism - Exercise/P03.WildFarm/Classes/Animals/Mammals/Feline.cs | 570 | C# |
namespace AngleSharp.Css.Tests.Functions
{
using AngleSharp.Css.Dom;
using AngleSharp.Dom;
using NUnit.Framework;
using System.Linq;
using static CssConstructionFunctions;
[TestFixture]
public class CssDocumentFunctionTests
{
[Test]
public void CssDocumentRuleSingleUrlF... | 46.333333 | 151 | 0.601199 | [
"MIT"
] | AngleSharp/AngleSharp.Css | src/AngleSharp.Css.Tests/Functions/CssDocumentFunction.cs | 4,172 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using AnZwDev.ALTools.Core;
namespace AnZwDev.ALTools.Workspace
{
public class ALProjectProperties
{
#region Public properties
public string Id { get; set; }
public string Name ... | 24.675 | 74 | 0.627153 | [
"MIT"
] | anzwdev/az-al-dev-tools-server | AZALDevToolsServer/Shared.AnZwDev.ALTools/Workspace/ALProjectProperties.cs | 989 | C# |
using System.Collections.Generic;
namespace CadastroSeries.Interfaces
{
public interface IRepositorio<T>
{
List<T> Lista();
T RetornaPorId(int id);
void Insere(T entidade);
void Exclui(int id);
void Atualiza(int id, T entidade);
int ProximoId(... | 17.368421 | 42 | 0.575758 | [
"MIT"
] | Silva-Gabriel/Digital-Innovation-One | CadastroSeries/Interfaces/IRepositorio.cs | 330 | C# |
using System;
using System.Linq;
using CodeGen.JsonTypes;
namespace CodeGen.Generators.UnitsNetGen
{
/// <summary>
/// Generates base class for each quantity test class, with stubs for testing conversion functions and error tolerances that the developer must complete to fix compile errors.
/// </summary>
... | 40.703271 | 179 | 0.604673 | [
"MIT-feh"
] | AndreasLeeb/UnitsNet | CodeGen/Generators/UnitsNetGen/UnitTestBaseClassGenerator.cs | 34,844 | C# |
using SportsStore.WebUI.Infrastructure.Abstract;
using SportsStore.WebUI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SportsStore.WebUI.Controllers
{
public class AccountController : Controller
{
private IAuthProvider auth... | 27.071429 | 83 | 0.562005 | [
"MIT"
] | hwebz/pro-aspnet-mvc-5-fifth-edition | SportsStore/SportsStore.WebUI/Controllers/AccountController.cs | 1,139 | C# |
using System.Reflection;
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("TddAnalyzer.Test")]
[assembly: AssemblyDe... | 38.1875 | 84 | 0.739771 | [
"MIT"
] | andrecarlucci/tddanalyzer | TddAnalyzer/TddAnalyzer.Test/Properties/AssemblyInfo.cs | 1,225 | C# |
using System;
using System.Collections.Generic;
namespace GitVersion.VersionCalculation
{
/// <summary>
/// Version is from NextVersion (the configuration value), unless the current commit is tagged.
/// BaseVersionSource is null.
/// Does not increment.
/// </summary>
public class ConfigNextVe... | 37.730769 | 127 | 0.702345 | [
"MIT"
] | AlexGoris-KasparSolutions/GitVersion | src/GitVersionCore/VersionCalculation/BaseVersionCalculators/ConfigNextVersionVersionStrategy.cs | 981 | C# |
namespace ClassLib069
{
public class Class069
{
public static string Property => "ClassLib069";
}
}
| 15 | 55 | 0.633333 | [
"MIT"
] | 333fred/performance | src/scenarios/weblarge2.0/src/ClassLib069/Class069.cs | 120 | C# |
// <copyright file="IQuestion.cs" company="Ocean">
// Copyright (c) Ocean. All rights reserved.
// </copyright>
namespace Questions.LeetCode.No16.ThreeSumClosest
{
using Questions.Interfaces;
/// <summary>
/// The LeetCode No.16 question: Three Sum Closest.
/// </summary>
public interface IQuesti... | 29.782609 | 64 | 0.616058 | [
"MIT"
] | OceanSJY/data-structures-and-algorithms-training | csharpsrc/Questions/LeetCode/No16.ThreeSumClosest/IQuestion.cs | 687 | C# |
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
namespace Antja.Authentication.HMAC
{
public static class HMACUtilities
{
public static string GetSignaturePrefix(HMACHashFunctions hashFunction)
{
return $"sha{(int)hashFunction}... | 33.564103 | 125 | 0.627196 | [
"MIT"
] | antja0/hmac-authentication | HMACAuthentication/HMACUtilities.cs | 1,311 | C# |
using System;
using System.Collections.Generic;
using ZodiacCiphers.Ciphers;
namespace ZodiacCiphers.Keys
{
public class Key408 : Key<S>
{
public static IReadOnlyDictionary<char, S[]> Map { get; } = CreateMap();
public static IReadOnlyDictionary<S, char> Index { get; } = IndexMap();
p... | 35.797753 | 92 | 0.415568 | [
"MIT"
] | creyke/ZodiacCiphers | ZodiacCiphers/Keys/Key408.cs | 3,188 | C# |
/********************************************************************************
* IServiceProviderBasicExtensions.cs *
* *
* Author: Denes Solti ... | 41 | 109 | 0.434334 | [
"MIT"
] | Sholtee/injector | SRC/Interfaces/Extensions/IServiceProviderBasicExtensions.cs | 1,066 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace SZDC.Data.Migrations
{
public partial class Init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 42.169935 | 114 | 0.491785 | [
"MIT"
] | Sykoj/GTTG | solution/SZDC.Data/Migrations/20190511211754_Init.cs | 12,906 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... | 37.351351 | 145 | 0.723589 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_COLORTests.cs | 1,384 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using McMaster.Extensions.CommandLineUtils;
using McMaster.Extensions.CommandLineUtils.Validation;
namespace DnsPush.Core.OptionValidators
{
public class SldLengthValidator : IOptionValidator
{
public ValidationResult GetValidationResult(Comman... | 33.892857 | 122 | 0.634352 | [
"MIT"
] | x3haloed/dnspush | src/DnsPush.Core/OptionValidators/SldLengthValidator.cs | 949 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using Mediachase.Ibn.Data;
using Mediachase.Ibn.Data.Meta.Management;
using Mediachase.IBN.Database;
//using Mediachase.IbnNext;
using Mediachase.Ibn.Data.Services;
using Mediachase.IbnNext.TimeTracking;
using Mediachase.IBN.Busine... | 33.2944 | 173 | 0.716036 | [
"MIT"
] | InstantBusinessNetwork/IBN | Source/Server/Business/TimeTracking.cs | 20,924 | C# |
using System;
namespace Decos.Data.Auditing.Tests
{
internal class DummyIdentity : IIdentity
{
public string Id => "5d3a92a3-0849-4617-9e28-484b1f642596";
public string Name => "Test user";
}
} | 20.363636 | 67 | 0.65625 | [
"MIT"
] | DecosInformationSolutions/DbContextAuditing | Decos.Data.Auditing.Tests/DummyIdentity.cs | 226 | C# |
using System;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.ComponentModel;
using XLugia.Lib.XLog.Lib;
namespace XLugia.Lib.XLog.Base
{
internal class FileController
{
private static FileController _instance = new FileController();
public static FileCon... | 31.794643 | 90 | 0.471497 | [
"MIT"
] | Lugia123/XLugia.XLog | Source/XLog/Base/FileController.cs | 3,563 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Ookgewoon.Web.Models.Identity;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logg... | 28.227273 | 101 | 0.641707 | [
"MIT"
] | olcay/glowing-argon | CreativeTim.Argon.DotNetCore.Free/Areas/Identity/Pages/Account/Logout.cshtml.cs | 1,244 | C# |
namespace Example1
{
public partial class Schedule
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 41.601449 | 157 | 0.546943 | [
"BSD-3-Clause"
] | 3rdandUrban-dev/Nuxleus | linux-distro/package/nuxleus/Source/Vendor/dday-ical/Examples/C#/Example1/Schedule.Designer.cs | 5,741 | C# |
static class Guard
{
public static void FileExists(string path, string argumentName)
{
AgainstNullOrEmpty(path, argumentName);
if (!File.Exists(path))
{
throw new ArgumentException($"File not found. Path: {path}", argumentName);
}
}
static char[] ... | 28.224638 | 128 | 0.559435 | [
"MIT"
] | distantcam/Verify | src/Verify/Guard.cs | 3,760 | C# |
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
namespace JsonApiDotNetCoreTests.IntegrationTests.ResourceDefinitions.Reading
{
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
public sealed class UniverseDbContext : DbContext
{
public DbSet<Star> Stars => Set<Star>();
pub... | 28.842105 | 77 | 0.689781 | [
"MIT"
] | Anton-Kulinich/JsonApiDotNetCore | test/JsonApiDotNetCoreTests/IntegrationTests/ResourceDefinitions/Reading/UniverseDbContext.cs | 548 | C# |
namespace SoftUni.Data
{
using Microsoft.EntityFrameworkCore;
using SoftUni.Models;
public class SoftUniContext : DbContext
{
public SoftUniContext()
{
}
public SoftUniContext(DbContextOptions<SoftUniContext> options)
: base(options)
{
}
... | 34.059459 | 85 | 0.508967 | [
"MIT"
] | SonicTheCat/Databases-Advanced---Entity-Framework | 03.IntroductionToEntityFramework/AllExercises/Data/SoftUniContext.cs | 6,303 | C# |
using System;
using UnityEngine;
/**
* Internal Representation of a Tween<br>
* <br>
* This class represents all of the optional parameters you can pass to a method (it also represents the internal representation of the tween).<br><br>
* <strong id='optional'>Optional Parameters</strong> are passed at the end of ever... | 35.485714 | 318 | 0.707244 | [
"MIT"
] | stervets/bomber | Assets/Plugins/LeanTween/LTDescr.cs | 78,248 | 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... | 47.189189 | 152 | 0.584765 | [
"MIT"
] | AzureDataBox/azure-powershell | src/ResourceManager/ServiceFabric/Commands.ServiceFabric/Commands/GetAzureRmServiceFabricClusterResouce.cs | 3,421 | C# |
namespace Muc.Systems.Input {
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Muc.Extensions;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Controls;
#if (MUC_HIDE_COMPONENTS || MUC_HIDE_SYSTEM_COMPONENTS)
[Add... | 24.333333 | 101 | 0.758406 | [
"MIT"
] | Satsaa/HeatSim | Assets/MyUnityCollection/Scripts/Muc.Systems/Muc.Systems.Input/QuaternionInput.cs | 803 | C# |
using System;
using System.Reflection;
using System.Collections.Generic;
namespace Anet.Data
{
internal static class TypeExtensions
{
public static string Name(this Type type) =>
#if NETSTANDARD1_3 || NETCOREAPP1_0
type.GetTypeInfo().Name;
#else
type.Name;
#endif
publi... | 31.773196 | 106 | 0.609345 | [
"MIT"
] | JTOne123/anet | Anet.Data/Dapper/TypeExtensions.cs | 3,084 | 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... | 43.368 | 159 | 0.631249 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/HybridCompute/PrivateEndpointConnection.cs | 5,421 | C# |
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using GeneticSharp.Domain.Chromosomes;
namespace GeneticSharp.Domain.Crossovers
{
/// <summary>
/// Cycle Crossover (CX).
/// <remarks>
/// The Cycle Crossover (CX) proposed by Oliver builds offspring in such a way that ... | 42.128788 | 195 | 0.575616 | [
"MIT"
] | JianLoong/GeneticSharp | src/GeneticSharp.Domain/Crossovers/CycleCrossover.cs | 5,563 | 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.
#nullable disable
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Editing;
namespace Microsoft.C... | 39.849462 | 122 | 0.680788 | [
"MIT"
] | Acidburn0zzz/roslyn | src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationPropertySymbol.cs | 3,708 | C# |
namespace Common
{
public enum ProgrammingLanguage
{
ACRYLIC,
CRAYON,
PYTHON,
}
}
| 11.818182 | 36 | 0.484615 | [
"MIT"
] | blakeohare/crayon | Compiler/Common/ProgrammingLanguage.cs | 132 | C# |
using ElectricalAppliances.Console.TypeAAppliances;
using ElectricalAppliances.Console.TypeGAppliances;
namespace ElectricalAppliances.Console
{
public static class Program
{
public static void Main()
{
ITypeAPluggableAppliance appliance =
new FourOutletPowerStrip(
... | 30.8 | 65 | 0.603896 | [
"MIT"
] | AzureCloudMonk/codesamples-1 | ElectricalAppliances/src/ElectricalAppliances.Console/Program.cs | 618 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/services/offline_user_data_job_service.proto
// </auto-generated>
// Original file comments:
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// yo... | 60.065649 | 438 | 0.704852 | [
"Apache-2.0"
] | friedenberg/google-ads-dotnet | src/V9/Services/OfflineUserDataJobServiceGrpc.g.cs | 39,343 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Snowflake.Model.Database.Models;
namespace Snowflake.Model.Database.Migrations... | 36.898917 | 122 | 0.474709 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | SnowflakePowered/snowflake | src/Snowflake.Framework/Model/Database/Migrations/20200505193855_WithValueType.Designer.cs | 10,223 | C# |
using System.Reflection;
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("AWSSDK.SimpleNotificationService")]
[assem... | 56.09375 | 517 | 0.762117 | [
"Apache-2.0"
] | altso/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/SimpleNotificationService/Properties/AssemblyInfo.cs | 1,795 | C# |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\mfidl.h(3028,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[Guid("545b3a48-3283-4f62-866f-a62d8f598f9f"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IMFVideoSampleAllocatorEx : IMF... | 41.607143 | 240 | 0.68412 | [
"MIT"
] | bbday/DirectN | DirectN/DirectN/Generated/IMFVideoSampleAllocatorEx.cs | 1,167 | C# |
namespace LightningDB
{
/// <summary>
/// Transaction open mode
/// </summary>
public enum TransactionBeginFlags
{
/// <summary>
/// Normal mode
/// </summary>
None = 0,
/// <summary>
/// MDB_RDONLY. Open the environment in read-only mode.
/... | 25.333333 | 112 | 0.550752 | [
"MIT"
] | bradserbu/mylonite-net | lib/lightning.net/src/LightningDB/TransactionBeginFlags.cs | 534 | C# |
using System.Reflection;
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("MSBuildCodeMetrics.JetBrains")]
[a... | 39.583333 | 85 | 0.727719 | [
"MIT"
] | ericlemes/MSBuildCodeMetrics | src/MSBuildCodeMetrics.JetBrains/Properties/AssemblyInfo.cs | 1,428 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Nebulator.Device")]
[assembly: AssemblyDescription("Nebulator Device")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Nebulator")]
// Version information is supplied by ... | 31.181818 | 60 | 0.80758 | [
"MIT"
] | kant/Nebulator | Device/Properties/AssemblyInfo.cs | 345 | C# |
using System.IO;
using UnityEditor;
using UnityEngine;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
public class DatasetGenerator : EditorWindow
{
[MenuItem("Dataset generator", menuItem = "Neural network/Dataset generator")]
public static void CreateWindow()
{
... | 26.822257 | 115 | 0.533883 | [
"MIT"
] | Trequend/CloudKeeper | Assets/Scripts/Editor/DatasetGenerator.cs | 17,354 | C# |
using System;
using UnityEngine;
namespace YsoCorp {
public class ADataManager : YCBehaviour {
private int _version = 1;
private string _prefix = "";
public ADataManager(string p = "", int v = 1) {
this._prefix = p;
this._version = v;
}
public str... | 30.175824 | 116 | 0.563729 | [
"MIT"
] | MathieuGery/HC2-Knuckles | Assets/GameUtils/Scripts/Abstracts/ADataManager.cs | 2,746 | C# |
using System;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Xml.Serialization;
using ACT.SpecialSpellTimer.Config.Models;
using ACT... | 31.006471 | 108 | 0.515661 | [
"BSD-3-Clause"
] | anoyetta/ACT.Hojoring | source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Models/Spell.cs | 53,807 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 25.215517 | 134 | 0.669744 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-vcs/Vcs/Model/V20200515/RecognizeFaceQualityRequest.cs | 2,925 | C# |
using System.Collections;
using System.Collections.Generic;
using Cinemachine;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityStandardAssets.Characters.ThirdPerson;
public class GameController : MonoBehaviour {
public static GameController instance;
public GameObject MainCamera;
public ... | 23.883721 | 72 | 0.660175 | [
"MIT"
] | ITSGameDevTeamY3/Project-Dissonance | Assets/GameController.cs | 1,029 | 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... | 33.503797 | 291 | 0.488489 | [
"MIT"
] | blackwork/dotnetrdf | Libraries/dotNetRDF/Core/MimeTypeDefinition.cs | 39,702 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------... | 33.173913 | 82 | 0.513761 | [
"MIT"
] | CMeeg/kentico-contrib | src/CMS/CMSModules/Ecommerce/Pages/Tools/Orders/Order_Edit_Billing.aspx.designer.cs | 765 | C# |
namespace Plugin
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name=... | 28.225 | 107 | 0.554473 | [
"Apache-2.0"
] | JaeNuguid/Kids-Portal-Version-2 | Plugin/Form1.Designer.cs | 1,131 | C# |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2020 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using System;
using System.Collecti... | 33.670906 | 245 | 0.435479 | [
"MIT"
] | GameDeveloperS001/GameFramework | GameFramework/ObjectPool/ObjectPoolManager.ObjectPool.cs | 22,224 | C# |
using UnityEngine;
namespace MBaske.Sensors.Grid
{
/// <summary>
/// Detects gameobjects located on a plane.
/// </summary>
public class GameObjectDetector2D : GameObjectDetector
{
/// <summary>
/// Whether and how to rotate detection bounds with the sensor component.
/// </... | 30.555556 | 98 | 0.542909 | [
"MIT"
] | mbaske/grid-sensor | Assets/Scripts/Sensors/Grid/GameObject/Detection/GameObjectDetector2D.cs | 2,750 | C# |
using System;
using System.ComponentModel.Composition;
using System.Waf.Applications;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Waf.DotNetPad.Applications.ViewModels;
using Waf.DotNetPad.Applications.Views;
using Waf.DotNetPad.Domain;
namespace Waf.DotNetPad.Pres... | 28.897436 | 111 | 0.659272 | [
"MIT"
] | cnark/dotnetpad | src/DotNetPad/DotNetPad.Presentation/Views/ErrorListView.xaml.cs | 1,129 | 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("Wo... | 36.578947 | 84 | 0.743165 | [
"Apache-2.0"
] | kanewanggit/MbTcsClone | Core/Workflow/Properties/AssemblyInfo.cs | 1,393 | C# |
using System;
using UnityEngine;
using XLua;
namespace XLuaTest
{
[Hotfix(HotfixFlag.Stateless)]
public class StatefullTest
{
public StatefullTest()
{
}
public StatefullTest(int a, int b)
{
if (a > 0)
{
return;
}
Debug.Log("a=" + a.ToString());
if (b > 0)
{
return;
}
if (... | 11.657534 | 55 | 0.551116 | [
"Apache-2.0"
] | Shadowrabbit/BigBiaDecompilation | Source/Assembly-CSharp/XLuaTest/StatefullTest.cs | 853 | C# |
using System;
using System.IO;
using System.Linq;
using Microsoft.Extensions.Configuration;
namespace DevRocks.Ocelot.MultiFileConfiguration
{
public static class ConfigurationBuilderExtensions
{
public static void AddOcelotConfig(this IConfigurationBuilder configurationBuilder, string path)
{... | 30.941176 | 105 | 0.553232 | [
"MIT"
] | Serj-Tm/DevRocks.Ocelot.Extensions | DevRocks.Ocelot.MultiFileConfiguration/ConfigurationBuilderExtensions.cs | 1,580 | C# |
namespace FluentBehaviourTree
{
/// <summary>
/// Represents time. Used to pass time values to behaviour tree nodes.
/// </summary>
public struct TimeData
{
public TimeData(float deltaTime)
{
this.deltaTime = deltaTime;
}
public float deltaTime;
}
}
| 20 | 74 | 0.58125 | [
"MIT"
] | brock555/Fluent-Behaviour-Tree | src/TimeData.cs | 322 | C# |
using System.Linq;
using SharpSqlBuilder.Extensions;
using SharpSqlBuilder.Operators;
namespace SharpSqlBuilder.Blocks
{
/// <summary>
/// <example>SET ... = ..., ... = ...</example>
/// </summary>
public class UpdateColumnsBlock : CollectionBlock<UpdateColumnBlock>
{
public override strin... | 36.2 | 106 | 0.631215 | [
"MIT"
] | Zelenov/SharpSqlBuilder | SharpSqlBuilder/Blocks/UpdateColumnsBlock.cs | 726 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.