content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Coin : MonoBehaviour
{
[SerializeField] AudioClip coinPickupSFX;
[SerializeField] int pointsForCoin = 10;
void OnTriggerEnter2D(Collider2D other)
{
if (other.tag == "Player")
{
Debug... | 26.52381 | 86 | 0.664273 | [
"MIT"
] | arinjay97/side-scroller | Assets/Scripts/Coin.cs | 557 | C# |
using System;
using System.IO;
using System.Data;
using System.Collections.Generic;
using System.Collections;
using System.Text;
namespace Geomethod.Data
{
public class GmDataException : GmException
{
public GmDataException(string message) : base(message) { }
public GmDataException(string message, Exception inne... | 23.589744 | 102 | 0.694565 | [
"MIT"
] | AlexAbramov/geomethod | Geomethod.Data/Utils/Utils.cs | 920 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DocumentFormat.OpenXml.Packaging;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.IO;
using... | 37.099174 | 170 | 0.586434 | [
"Apache-2.0"
] | Cristie/Open-XML-SDK | test/DocumentFormat.OpenXml.Packaging.Tests/PartConstraintRuleTests.cs | 8,980 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace College.Services
{
public class Program
{
public static void Main(string[] args)
{
Crea... | 30.607143 | 136 | 0.652275 | [
"MIT"
] | jagratimodi/speaker_series_2021 | Year_2020/CSharpCorner/21Nov2020_gRPC_Session1/Source/College.gRPCServices/College.Services/Program.cs | 857 | C# |
using UnityEngine;
public interface IWeapon {
Transform Muzzle {
get;
}
bool Fire();
float GetFirerate();
float GetDamage();
float GetDPS();
void Reload();
}
| 10.15 | 26 | 0.566502 | [
"MIT"
] | Lomztein/Project-Incoming | Assets/Source/Interfaces/IWeapon.cs | 205 | C# |
using System;
using OvoGitTest.Helpers;
namespace OvoGitTest.Controllers
{
public class GitController
{
public string GetDockerFileContent(string customer, string personalAccessKey)
{
var gitClient = new GitClient();
var repo = gitClient.GetDeploymentRepo(customer, pers... | 36.644444 | 106 | 0.661007 | [
"MIT"
] | henkhbs/libgit2sharp | OvoGitTest/Controllers/GitController.cs | 1,651 | C# |
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Serilog;
using Telegram.Bot.Framework.Abstractions;
using Telegram.Bot.Types.ReplyMarkups;
using WinTenDev.Zizi.Models.Enums;
using WinTenDev.Zizi.Services;
using WinTenDev.Zizi.Utils;
using WinTenDev.Zizi.Utils.Tel... | 34.252336 | 119 | 0.565894 | [
"MIT"
] | WinTenDev/WinTenBot.NET | src/WinTenDev.Zizi.Host/Handlers/Commands/Tags/FindTagCommand.cs | 3,665 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/BandMemberScriptableObject", order = 1)]
public class BandMemberScriptableObject : ScriptableObject
{
public MemberType memberType;
public StatBoosts statBoosts;
... | 22.098039 | 106 | 0.631766 | [
"MIT"
] | Quickkrueger/Weekly-Game-Jam-211 | Assets/Scripts/Characters/BandMembers/BandMemberScriptableObject.cs | 1,129 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Query.Core.Pipeline.Distinct
{
using System;
using System.Collections.Generic;
usin... | 48.670807 | 131 | 0.57574 | [
"MIT"
] | Arithmomaniac/azure-cosmos-dotnet-v3 | Microsoft.Azure.Cosmos/src/Query/Core/Pipeline/Distinct/DistinctHash.cs | 15,674 | C# |
namespace MoviesLibrary.Web.ViewModels.Account
{
public class FactorViewModel
{
public string Purpose { get; set; }
}
}
| 17.625 | 47 | 0.659574 | [
"MIT"
] | MystFan/Movies-Library | Source/MoviesLibrarySystem/Web/MoviesLibrary.Web.ViewModels/Account/FactorViewModel.cs | 143 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Kernel.Module.Test.Common.Interfaces;
namespace Kernel.Module.TestModule2
{
public class MyInterfacedClassByInterfaceInheritence : IMyModuleInterfaceByInheritence
{
private string ... | 20.769231 | 90 | 0.642593 | [
"BSD-2-Clause"
] | KernelNO/Kernel.Module | Kernel.Module/Kernel.Module.TestModule2/MyInterfacedClassByInterfaceInheritence.cs | 542 | 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("To... | 38.783784 | 84 | 0.747735 | [
"MIT"
] | MikeHanson/toolbelt.selenium | Toolbelt.Selenium.Samples.NUnit/Properties/AssemblyInfo.cs | 1,438 | C# |
using System;
using System.IO;
using System.Net;
using System.Text;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.Logging;
using Moq;
using Stratis.Bitcoin.Tests.Common.Logging;
using Xunit;
namespace Stratis.Bitcoin.Features.RPC.Tests
{
public class RPCMidd... | 42.652893 | 208 | 0.623619 | [
"MIT"
] | BreezeHub/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.RPC.Tests/RPCMiddlewareTest.cs | 10,324 | C# |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// 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, incl... | 44.826087 | 139 | 0.696411 | [
"Apache-2.0",
"MIT"
] | AchoWang/TizenFX | test/Tizen.NUI.Tests/nunit.framework/Attributes/DatapointsAttribute.cs | 2,064 | C# |
//namespace Dna.Center.Service.Cqrs.Infra.Impl.EventPublishing
//{
// using System;
// using Castle.Core.Logging;
// using Messaging.RabbitMq.Api.Models;
// using Properties;
// using Service.Services;
// using Smi.Infra.EventPublishing;
// public class Publisher : IPublisher
// {
// private readonly IMessagingClien... | 26.566667 | 110 | 0.667503 | [
"MIT"
] | gadjio/Smi-Playground | src/Smi.Infra/Impl/EventPublishing/Publisher.cs | 1,596 | 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... | 55.04918 | 243 | 0.707862 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/ServiceFabric/V20190601Preview/Inputs/ClusterHealthPolicyArgs.cs | 3,358 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementOrStatementStatementNotStatementStatementOrStatementStatementSqliMatchStatementFieldToMatchMethod), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementOrStatement... | 58.9 | 316 | 0.85399 | [
"MIT"
] | scottenriquez/cdktf-alpha-csharp-testing | resources/.gen/aws/aws/IWafv2WebAclRuleStatementOrStatementStatementNotStatementStatementOrStatementStatementSqliMatchStatementFieldToMatchMethod.cs | 1,178 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using Nethereum.ABI.FunctionEncoding.Attributes;
using Nethereum.Hex.HexTypes;
namespace Nethereum.BlockchainStore.Search
{
public class FunctionIndexDefinition<TFunction> :
IndexDefinition<TFunction> where TFunction : class
{
... | 35.904412 | 104 | 0.522425 | [
"MIT"
] | ConsenSys/Nethereum.BlockchainProcessing | Storage/Nethereum.BlockchainStore.Search/FunctionIndexDefinition.cs | 4,885 | C# |
namespace MassTransit.Azure.ServiceBus.Core.Configuration
{
using System;
using System.Collections.Generic;
using Configurators;
using Registration;
public class ServiceBusRegistrationBusFactory :
TransportRegistrationBusFactory<IServiceBusReceiveEndpointConfigurator>
{
readonl... | 38.27027 | 134 | 0.747881 | [
"ECL-2.0",
"Apache-2.0"
] | Aerodynamite/MassTrans | src/Transports/MassTransit.Azure.ServiceBus.Core/Configuration/Configuration/ServiceBusRegistrationBusFactory.cs | 1,416 | C# |
//
// @(#) IBackgroundCopyFile3.cs
//
// Project: usis.Net.Bits
// System: Microsoft Visual Studio 2017
// Author: Udo Schäfer
//
// Copyright (c) 2018 usis GmbH. All rights reserved.
using System.Runtime.InteropServices;
namespace usis.Net.Bits.Interop
{
// ------------------------... | 27.677419 | 132 | 0.463869 | [
"MIT"
] | usis-software/usis.Net.Bits | Interop/IBackgroundCopyFile3.cs | 2,577 | C# |
using Nixi.Injections;
using System.Collections.ObjectModel;
using UnityEngine.UI;
namespace ScriptExample.Fallen.Enumerables
{
public sealed class FallenEnumerablesReadOnlyCollection : MonoBehaviourInjectable
{
[NixInjectComponents]
public ReadOnlyCollection<Slider> Fallen;
}
} | 25.75 | 85 | 0.773463 | [
"MIT"
] | f-antoine/Nixi | Assets/ScriptExample/Fallen/Enumerables/FallenEnumerablesReadOnlyCollection.cs | 311 | C# |
using Newtonsoft.Json;
namespace PetGameBackend.Models.Requests.User
{
public class UserControllerRootGet
{
/// <summary>
/// GUID of the <see cref="User" /> as string
/// </summary>
[JsonProperty(nameof(UserIdentifier))]
public string UserIdentifier { get; set; }
... | 25.076923 | 57 | 0.607362 | [
"MIT"
] | KiaArmani/PetGameBackend | PetGameBackend/Models/Requests/User/UserControllerRootGet.cs | 328 | C# |
namespace Machete.HL7
{
using System;
using System.Runtime.Serialization;
[Serializable]
public class SegmentOutOfRangeException :
MacheteParserException
{
public SegmentOutOfRangeException()
{
}
public SegmentOutOfRangeException(string message)
... | 21.375 | 94 | 0.615497 | [
"Apache-2.0"
] | AreebaAroosh/Machete | src/Machete.HL7/SegmentOutOfRangeException.cs | 686 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace GameDatabase.Data.Migrations
{
public partial class NewGameColumns : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "DeveloperName",
... | 28.333333 | 71 | 0.522549 | [
"MIT"
] | KonstantinKostenski/GamesDatabase | GameDatabase.Data/Migrations/20210318090914_NewGameColumns.cs | 1,022 | C# |
namespace Engine.Input
{
public enum MouseButton
{
Left,
Middle,
Right,
Button1,
Button2,
Button3,
Button4,
Button5,
Button6,
Button7,
Button8,
Button9,
LastButton
}
}
| 14.25 | 27 | 0.452632 | [
"MIT"
] | chances/UtilityGrid | Engine/Input/MouseButton.cs | 287 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour {
[SerializeField] GameObject deathFX;
[SerializeField] Transform parent;
[SerializeField] int scorePerHit = 12;
ScoreBoard scoreBoard;
private void Start()
{
scoreBoar... | 22.464286 | 86 | 0.694754 | [
"MIT"
] | Marian25/ArgonAssault | Assets/Scripts/Enemy.cs | 631 | C# |
namespace ResManagement.UserControls
{
partial class HistoryControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 56.133087 | 239 | 0.620917 | [
"Apache-2.0"
] | zdvir/ResManagementA | ResManagementA/UserControls/HistoryControl.Designer.cs | 30,370 | C# |
using DN.WebApi.Application.Catalog.Brands;
using DN.WebApi.Application.Wrapper;
using DN.WebApi.Infrastructure.Identity.Permissions;
using DN.WebApi.Shared.Authorization;
using Microsoft.AspNetCore.Mvc;
using NSwag.Annotations;
namespace DN.WebApi.Host.Controllers.Catalog;
public class BrandsController : VersionedA... | 29.827586 | 90 | 0.706358 | [
"MIT"
] | AppSlope/dotnet-webapi-boilerplate | src/Host/Controllers/Catalog/BrandsController.cs | 1,732 | C# |
#region License
/*
Copyright (c) 2015 Betson Roy
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish... | 33.6 | 86 | 0.709957 | [
"MIT"
] | Freenex1911/QueryMaster | QueryMaster/GameServer/DataObjects/Player.cs | 1,850 | C# |
namespace MPT.CSI.Serialize.Models.Components.Design
{
public class WallDesignOverwrite : DesignOverwrites
{
}
}
| 18 | 55 | 0.730159 | [
"MIT"
] | MarkPThomas/MPT.Net | MPT/CSI/API/MPT.CSI.Serialize/Models/Components/Design/WallDesignOverwrite.cs | 128 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace WebMail.Migrations
{
public partial class DraftsMigration2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
... | 35.217391 | 88 | 0.499177 | [
"MIT"
] | Damenus/webmail | Migrations/20171203200656_DraftsMigration2.cs | 2,432 | C# |
using ConsoleGameEngine;
using System;
/// <summary>
/// Console Athlete components namespace
/// </summary>
namespace ConsoleAthlete.Components
{
/// <summary>
/// Health component
/// </summary>
public class HealthComponent : AComponent
{
/// <summary>
/// Health
/// </su... | 20.542373 | 61 | 0.44967 | [
"MIT"
] | BigETI/ConsoleAthlete | ConsoleAthlete/Components/HealthComponent.cs | 1,214 | C# |
using System.Collections.Generic;
using SitecoreCognitiveServices.Foundation.NexSDK.Session.Models;
namespace SitecoreCognitiveServices.Foundation.NexSDK.Contest.Models
{
public class ContestSelectionResponse : SessionResponse
{
public List<MetricSet> MetricSets { get; set; }
public class Metr... | 32.652174 | 82 | 0.629827 | [
"MIT"
] | markstiles/SitecoreCognitiveServices.Core | src/Foundation/NexSDK/code/Contest/Models/ContestSelectionResponse.cs | 751 | 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.Diagnostics;
using System.Diagnostics.Contracts;
using System.Runtime.CompilerServices;
using System.Ru... | 35.796296 | 145 | 0.597689 | [
"MIT"
] | benjamin-bader/corefx | src/System.Runtime.WindowsRuntime/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeBuffer.cs | 11,598 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using HttpServer.Headers;
namespace HttpServer.Authentication
{
/// <summary>
/// Implements basic authentication scheme.
/// </summary>
public class BasicAuthentication : IAuthenticator
{
private readonly IUserProvider _us... | 37.20202 | 121 | 0.577518 | [
"MIT"
] | bhuebschen/feuerwehrcloud-deiva | webserver-69631/trunk/HttpServer/Authentication/BasicAuthentication.cs | 3,685 | C# |
#region Using directives
using System;
using System.Windows.Forms;
#endregion
namespace PixelCryptor.UI {
public partial class ScreenDecodeDestination : ScreenMaster {
#region String constants
private string cTooltipDestinationFolder = "Select a destination for the content of the package";
#endregion
#region... | 26.722892 | 99 | 0.728584 | [
"Apache-2.0"
] | Zyphrax/PixelCryptor | PixelCryptor/UI/ScreenDecodeDestination.cs | 2,218 | C# |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Diagnostics.CodeAnalys... | 44.692308 | 87 | 0.679002 | [
"Apache-2.0"
] | ValerieRobateau/Ed-Fi-Analytics-Middle-Tier | src/EdFi.AnalyticsMiddleTier.Tests/Classes/GradingPeriodDim.cs | 1,164 | C# |
using MahApps.Metro.Controls;
using System.Diagnostics;
using System.Windows;
namespace Computer_Service
{
/// <summary>
/// Логика взаимодействия для MasterMain.xaml
/// </summary>
public partial class About : MetroWindow
{
public About()
{
InitializeComponent();
... | 27.621622 | 98 | 0.627202 | [
"Unlicense"
] | MaxIvanov44/ComputerService | Computer Service/Computer Service/Resources/About.xaml.cs | 1,047 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Data
{
#if false || false || false || false || false
#if false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public enum BindingMode
{
// Skipping already de... | 31.823529 | 77 | 0.737523 | [
"Apache-2.0"
] | 06needhamt/uno | src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Data/BindingMode.cs | 541 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Ludoop.Backend.Tiles;
using Ludoop.View;
namespace Ludoop.Backend
{
public class Map : IName
{
/// <summary>
/// Array of Tile objects.
/// </summary>
public Tile[] Tiles;
/// <summary>
//... | 34.020408 | 136 | 0.484103 | [
"MIT"
] | hanzzi/LudOOP | Piece/Piece/Backend/Map.cs | 5,003 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraScaler : MonoBehaviour
{
private Board board;
public float cameraOffset;
public float aspectRatio = 0.625f;
public float padding = 2;
public float yOffset = 1;
void Start() {
board = FindO... | 29.586207 | 81 | 0.632867 | [
"Apache-2.0"
] | christrees/unity-catccc | catccc/Assets/Scripts/BaseGameScripts/CameraScaler.cs | 860 | C# |
/**
* 描述:
* 每帧在 UpdateSystem 后执行一次的系统
* @author ciao
* @create 2020-01-08 17:17
*/
namespace Entitas
{
public interface ILateUpdateSystem : Entitas.ISystem
{
void LateUpdate();
}
} | 14.928571 | 56 | 0.617225 | [
"MIT"
] | qinciao/Entitas-CSharp | Entitas/Entitas/Systems/Interfaces/ILateUpdateSystem.cs | 235 | C# |
using SecurityDoors.BLL.Interfaces;
using SecurityDoors.Core;
using System;
namespace SecurityDoors.BLL.Controllers
{
public class ConnectionSettings : IConnectionSettings
{
/// <summary>
/// IP адрес.
/// </summary>
public string IP { get; set; }
/// <summary>
... | 29.904412 | 101 | 0.525695 | [
"MIT"
] | securedevteam/Security-Door-Modeling | SecurityDoors.BLL/Controllers/ConnectionSettings.cs | 4,155 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 39.277778 | 157 | 0.592079 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.452 | Source/Krypton Components/ComponentFactory.Krypton.Navigator/View Draw/ViewDrawNavCheckButtonStack.cs | 3,538 | C# |
namespace Demo.WindowsForms
{
using System.Windows.Forms;
using GMap.NET.WindowsForms;
using System.Drawing;
using System;
using System.Globalization;
/// <summary>
/// custom map of GMapControl
/// </summary>
public class Map : GMapControl
{
public long ElapsedMilliseconds;
#if ... | 35.725806 | 272 | 0.652822 | [
"MIT"
] | AkisKK/GMap.NET | Demo/Demo.WindowsForms/Source/Map.cs | 2,217 | C# |
using System.Configuration;
using System.Runtime.InteropServices;
namespace SynologyClient
{
public class AppSettingsClientConfig : ISynologyClientConfig
{
public AppSettingsClientConfig()
{
ApiBaseAddressAndPathNoTrailingSlash = ConfigurationManager.AppSettings.Get("Syno.ApiBaseAd... | 44.214286 | 171 | 0.670436 | [
"Apache-2.0"
] | brunskillage/Synology.NET | SynologyClient/AppSettingsClientConfig.cs | 1,240 | C# |
using System;
using TrueCraft.Core.Logic.Items;
namespace TrueCraft.Core.Logic.Blocks
{
public class CobwebBlock : BlockProvider
{
public static readonly byte BlockID = 0x1E;
public override byte ID { get { return 0x1E; } }
public override double BlastResistance { get ... | 25.833333 | 90 | 0.551613 | [
"MIT"
] | mrj001/TrueCraft | TrueCraft.Core/Logic/Blocks/CobwebBlock.cs | 1,240 | C# |
using System;
using System.Reflection;
namespace
MacroAttributeGuards
{
public static class
MethodBaseExtensions
{
/// <summary>
/// Begin guarding arguments
/// </summary>
///
public static MethodGuard
Guard(this MethodBase method)
{
if (method == null) throw new ArgumentNullException(n... | 13.344828 | 73 | 0.674419 | [
"MIT"
] | macro187/MacroAttributeGuards | MacroAttributeGuards/MethodBaseExtensions.cs | 389 | C# |
using System;
using netduino.helpers.Hardware;
using netduino.helpers.Fun;
using netduino.helpers.Helpers;
using SecretLabs.NETMF.Hardware;
namespace netduino.helpers.Fun {
public class ConsoleHardwareConfig {
public int Version { get; private set; }
public AnalogJoystick JoystickLeft { get; set; }... | 47.694444 | 121 | 0.682003 | [
"BSD-3-Clause"
] | Ledridge/netduinohelpers | Fun/ConsoleHardwareConfig.cs | 1,717 | C# |
using System;
using HanumanInstitute.OntraportApi.Converters;
namespace HanumanInstitute.OntraportApi.Models
{
/// <summary>
/// Forms are used to simply and easily gather information from your contacts.
/// </summary>
public class ApiForm : ApiObject
{
public ApiForm() : base("form_id")
... | 53.154506 | 186 | 0.655713 | [
"BSD-2-Clause"
] | mysteryx93/OntraportApi.NET | OntraportApi/Models/ApiForm.cs | 12,387 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment5_3
{
public enum RoomType
{
Single,
Double,
Studio
}
interface IRoom
{
string RoomNumber { get; }
double Area { get; }
... | 17.28 | 37 | 0.592593 | [
"MIT"
] | HubUser99/Windows-Programming | Assignments/Assignment5/Assignment5_2/IRoom.cs | 434 | C# |
using System;
using System.Data.Entity;
using System.Linq;
using Gongchengshi.Collections.Generic;
namespace Gongchengshi.EF
{
public static class DbSetExtensions
{
static public T FirstOrAdd<T>(this DbSet<T> @this, Func<T, bool> predicate) where T : class, new()
{
return @t... | 34.176471 | 129 | 0.36833 | [
"MIT"
] | gongchengshi/DotNet-Common.EF | Common.EF/DbSetExtensions.cs | 1,745 | C# |
using System;
using System.Reflection;
using System.Resources;
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 ... | 33.918919 | 98 | 0.743426 | [
"MIT"
] | PeterSorokac/Sage300-SDK | src/wizards/Sage300LanguageResourceWizard/Sage300LanguageResourceWizardMenuExtension/Properties/AssemblyInfo.cs | 1,257 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18034
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 34.806452 | 151 | 0.586654 | [
"MIT"
] | pmabres/vbcsharpgames | Projects/WindowsFormsApplication3/WindowsFormsApplication3/Properties/Settings.Designer.cs | 1,081 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.WebHooks.Metadata;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Methods to a... | 34.448276 | 111 | 0.671672 | [
"Apache-2.0"
] | AhmadShabbir3518/WebHooks | src/Microsoft.AspNetCore.WebHooks.Receivers.AzureContainerRegistry/Extensions/AzureContainerRegistryServiceCollectionSetup.cs | 999 | C# |
using FamilyTree.Domain.Entities.Media;
using FamilyTree.Domain.Entities.Privacy;
using FamilyTree.Domain.Entities.Tree;
using FamilyTree.Domain.Entities.PersonContent;
using Microsoft.EntityFrameworkCore;
using System.Threading;
using System.Threading.Tasks;
using FamilyTree.Domain.Entities.Identity;
namespace Famil... | 27.044444 | 72 | 0.685292 | [
"MIT"
] | VuacheslavSichkarenko/FamilyTree | FamilyTree.Application/Common/Interfaces/IApplicationDbContext.cs | 1,219 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using HomeAPI.Backend.Controllers;
using HomeAPI.Backend.Models.TimeSeries;
using HomeAPI.Backend.Options;
using HomeAPI.Backend.Providers.TimeSeries;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using NSubstitute;
usin... | 33.381098 | 150 | 0.743082 | [
"MIT"
] | chwun/HomeAPI.Backend | HomeAPI.Backend.Tests/Controllers/TimeSeriesControllerTests.cs | 10,949 | C# |
/* Copyright 2010-present MongoDB 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 agreed t... | 35.036254 | 154 | 0.541951 | [
"MIT"
] | naivetang/2019MiniGame22 | Server/ThirdParty/MongoDBDriver/MongoDB.Driver/BulkWriteResult.cs | 11,597 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs.Extensions.CosmosDB;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Lo... | 37.914894 | 192 | 0.625889 | [
"MIT"
] | JimBlizzard/OHTeam8 | CreateRating/CreateRating/Function1.cs | 5,346 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using IVolunteerMVC.Models;
namespace IVolunteerMVC.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{... | 22.078947 | 112 | 0.599523 | [
"MIT"
] | Complustechwizards/IVolunteer | IVolunteerMVC/Controllers/HomeController.cs | 841 | C# |
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Biztory.EnterpriseToolkit.TableauServerUnifiedApi.Rest.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class QuerySiteResponseSit... | 32.976 | 90 | 0.643134 | [
"Apache-2.0"
] | biztory/tableau-performance-accelerator | tableau-server-api-unified/Rest/Model/QuerySiteResponseSite.cs | 4,124 | C# |
using MiauCore.IO.Models;
namespace MiauCore.IO.Areas.Admin.Models
{
public class User : IGenericEntity
{
public string IdentityId { get; set; }
public int Id { get; set; }
public string Login { get; set; }
public string Password { get; set; }
public string Email { get;... | 24 | 46 | 0.60119 | [
"MIT"
] | MIAUUUUUUU/Sticky.io | src/MiauCore.IO/Areas/Admin/Models/User.cs | 338 | C# |
/*
* Copyright 2022 Rapid Software LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 28.816327 | 75 | 0.688385 | [
"Apache-2.0"
] | chencai01/scada-v6 | ScadaAdmin/ScadaAdmin/ScadaAdmin/Code/ContextMenus.cs | 1,449 | C# |
using System;
namespace Rin.Core.Record
{
public interface ITimelineEvent
{
/// <summary>
/// Timeline event type name.
/// </summary>
string EventType { get; }
/// <summary>
/// Operation name.
/// </summary>
string Name { get; set; }
... | 20.939394 | 46 | 0.477569 | [
"MIT"
] | azyobuzin/Rin | src/Rin/Core/Record/ITimelineEvent.cs | 693 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValkyrieWorkflowEngineLibrary.Database;
using ZMQ;
using ZMQ.ZMQExt;
namespace ValkyrieWorkflowEngineLibrary
{
/// <summary>
/// The primary class used to instantiate new workflows from a template
/// </summary>
public cla... | 34.322115 | 128 | 0.715226 | [
"MIT"
] | jmlothian/ValkyrieWF | ValkyrieWorkflowEngineLibrary/ValkWFActivator.cs | 7,141 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 31.357143 | 84 | 0.495444 | [
"MIT"
] | Avd6977/squidex | src/Squidex.Domain.Apps.Entities/Apps/Templates/Builders/BooleanFieldBuilder.cs | 880 | 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... | 42.611765 | 180 | 0.588211 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/FinSpaceData/Generated/Model/Internal/MarshallTransformations/ChangesetInfoUnmarshaller.cs | 7,244 | C# |
using Quantum;
using Quantum.Operations;
using System;
using System.Numerics;
using System.Collections.Generic;
using System.Linq;
namespace QuantumConsole
{
public static class GroverExtension
{
// Oracle is working on input register x (of width n)
// and output register y (of width 1)
public static void Ora... | 22.87037 | 98 | 0.591903 | [
"MIT"
] | Elrohil44/MwIP | Grover.cs | 3,707 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace MusicStructuriser
{
public class CMetaData
{
public string sTitle;
public string sAlbum;
public string sTrack;
public string sYear... | 20.296296 | 38 | 0.633212 | [
"MIT"
] | Viperinius/Music-Structuriser | MusicStructuriser/MusicStructuriser/CMetaData.cs | 550 | C# |
using System;
using Xunit;
namespace BCLExtensions.Tests.ActionExtensions
{
public class AsActionUsingTests
{
[Fact]
public void SampleActionIsValid()
{
SampleAction(42);
}
[Fact]
public void ResultNotNull()
{
Action<int> functi... | 22.129032 | 65 | 0.524781 | [
"MIT"
] | JTOne123/BCLExtensions-1 | src/BCLExtensions.Tests/ActionExtensions/AsActionUsingTests.cs | 1,374 | 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... | 38.584507 | 310 | 0.639898 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Insights/V20210501Preview/GetDiagnosticSetting.cs | 5,479 | 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.Linq;
using System.Text;
using Microsoft.Data.DataView;
using Microso... | 46.492375 | 213 | 0.582709 | [
"MIT"
] | Srisach/machinelearning | src/Microsoft.ML.Transforms/Text/WordHashBagProducingTransform.cs | 21,342 | C# |
using System.Text;
using AsimovDeploy.WinAgent.Framework.Models;
using NUnit.Framework;
using Shouldly;
namespace AsimovDeploy.WinAgent.Tests.ActionParameters
{
[TestFixture]
public class TextActionParameterTests
{
private TextActionParameter _textParam;
[TestFixtureSetUp]
public ... | 29.131579 | 71 | 0.601626 | [
"Apache-2.0"
] | BonnierNews/asimov-deploy-winagent | src/AsimovDeploy.WinAgent.Tests/ActionParameters/TextActionParameterTests.cs | 1,109 | C# |
using System;
using System.Windows.Forms;
using System.Diagnostics;
namespace dell_switch_input
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void bt_setDP_Click(object sender, EventArgs e)
{
setInput("D... | 23.046512 | 99 | 0.543895 | [
"Unlicense"
] | dmitry-usov/dell-switch-input | Form1.cs | 993 | C# |
using System;
using System.Reactive;
namespace GitHub.ViewModels
{
/// <summary>
/// Represents a view model that has a "Cancel" signal.
/// </summary>
public interface IHasCancel
{
/// <summary>
/// Gets an observable which will emit a value when the view model is cancelled.
... | 22.823529 | 88 | 0.603093 | [
"MIT"
] | karimkkanji/VisualStudio | src/GitHub.Exports.Reactive/ViewModels/IHasCancel.cs | 390 | C# |
using Vernuntii.VersionIncrementing;
namespace Vernuntii.VersioningPresets
{
/// <summary>
/// The inbuilt presets.
/// </summary>
public enum InbuiltVersioningPreset
{
/// <summary>
/// Continous delivery preset consisting of
/// <br/> - FalsyMessageIndicator for major and... | 35.791667 | 76 | 0.583818 | [
"MIT"
] | Teneko-NET-Tools/Teneko.MessagesVersioning | src/Vernuntii.Abstractions/VersioningPresets/InbuiltVersioningPreset.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.... | 37.756757 | 84 | 0.743737 | [
"MIT"
] | Ico093/TelerikAcademy | C#2/Exams/C#Part2-11-February-2013/11Feb2013/5.ThreeInOne/Properties/AssemblyInfo.cs | 1,400 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NineSocket.Client.Config
{
public enum Constant
{
CODE_CONNECT_TO_SERVER_FAIL = 1
}
}
| 16.714286 | 39 | 0.735043 | [
"Apache-2.0"
] | babman92/NineSocket | NineSocket.Client/Config/Constant.cs | 236 | C# |
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.... | 46.415638 | 179 | 0.565919 | [
"Apache-2.0"
] | ProphetLamb-Organistion/Roslynator | src/Analyzers.CodeFixes/CSharp/CodeFixes/ConditionalExpressionCodeFixProvider.cs | 11,281 | C# |
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogene... | 25.891892 | 81 | 0.467641 | [
"BSD-3-Clause"
] | ValveSoftware/Moondust | Assets/SteamVR_Input/ActionSetClasses/SteamVR_Input_ActionSet_space.cs | 958 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Materia.Textures;
using OpenTK;
using OpenTK.Graphics.OpenGL;
using Materia.Shaders;
namespace Materia.Imaging.GLProcessing
{
public class GrayscaleConvProcessor : ImageProcessor
{
... | 28.54386 | 96 | 0.55378 | [
"MIT"
] | ykafia/Materia | Materia/Imaging/GLProcessing/GrayscaleConvProcessor.cs | 1,629 | 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("NewSudoku.Services")]
[assembly: AssemblyD... | 38.971429 | 84 | 0.745601 | [
"MIT"
] | HristoSpasov/NewSudoku | NewSudoku.Services/Properties/AssemblyInfo.cs | 1,367 | C# |
using MediatR;
using Microsoft.Extensions.Logging;
using Opdex.Platform.Application.Abstractions.Commands.Deployers;
using Opdex.Platform.Application.Abstractions.EntryCommands.Transactions.TransactionLogs.MarketDeployers;
using Opdex.Platform.Application.Abstractions.Queries.Deployers;
using Opdex.Platform.Domain.Mode... | 41.234043 | 151 | 0.752322 | [
"MIT"
] | Opdex/opdex-v1-api | src/Opdex.Platform.Application/EntryHandlers/Transactions/TransactionLogs/MarketDeployers/ProcessSetPendingDeployerOwnershipLogCommandHandler.cs | 1,938 | C# |
using System;
using System.Collections.Generic;
using Quidjibo.Commands;
namespace Quidjibo.Autofac.Tests.Samples
{
public class BasicCommand : IQuidjiboCommand
{
public Guid? CorrelationId { get; set; }
public Dictionary<string, string> Metadata { get; set; }
}
} | 24.416667 | 64 | 0.706485 | [
"Apache-2.0"
] | smiggleworth/Quidjibo | src/Quidjibo.Autofac.Tests/Samples/BasicCommand.cs | 293 | 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... | 29.157895 | 89 | 0.629061 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/ContainerService/V20210201/Inputs/ManagedClusterPropertiesIdentityProfileArgs.cs | 1,108 | C# |
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
#nullable enable
namespace SixLabors.ImageSharp.Web.Synchronization
{
/// <summary>
/// Represents a thread-safe colle... | 52.615385 | 179 | 0.63181 | [
"Apache-2.0"
] | DonPangPang/ImageSharp.Web | src/ImageSharp.Web/Synchronization/RefCountedConcurrentDictionary.cs | 12,996 | C# |
using System;
using System.ComponentModel.DataAnnotations;
namespace BandRegister.Models
{
public class Band
{
public int Id { get; set; }
[Required]
public string Name { get; set; }
[Required]
public string Members { get; set; }
[Required]
public dec... | 18.26087 | 47 | 0.57381 | [
"MIT"
] | kovachevmartin/SoftUni | Tech-Module/Exams/PF-FinalExam-16Dec2018/P03/BandRegister/Models/Band.cs | 422 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TwoFactorAuthentication.Mvc.Data;
namespace TwoFactorAuthentication.Mvc.Migrations
{
[DbContext(typeof(ApplicationContext)... | 35.554717 | 95 | 0.451815 | [
"MIT"
] | flaviogf/Cursos | balta/aspnet_core_identity_introduction/TwoFactorAuthentication/TwoFactorAuthentication.Mvc/Migrations/ApplicationContextModelSnapshot.cs | 9,424 | C# |
// Copyright (c) 2008-2021, Hazelcast, Inc. 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
//
// Unless required by ... | 35.068966 | 129 | 0.735497 | [
"Apache-2.0"
] | Serdaro/hazelcast-csharp-client | src/Hazelcast.Net.Testing/Remote/Lang.cs | 1,017 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FlyingEnemy : Enemy,IDamageable{
public int Health { get; set; }
public Transform[] waypoints;
private int randomSpot;
private float waitTime;
public float startWaitTime;
[SerializeField]
priva... | 26.795699 | 125 | 0.593499 | [
"MIT"
] | JoeBens/Unity-Project | Mighty/Assets/Scripts/MonoBehaviour/Enemies/FlyingEnemy/FlyingEnemy.cs | 2,495 | C# |
/*----------------------------------------------------------------
* Copyright (c) ThoughtWorks, Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE.txt in the project root for license information.
*----------------------------------------------------------------*/
using System;
using System.C... | 40.06 | 120 | 0.58687 | [
"Apache-2.0"
] | aerotog/gauge-dotnet | src/AssemblyLoader.cs | 8,014 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace LagoVista.IoT.Runtime.Core.Models.PEM
{
public class MessageRawPayload
{
public byte[] MessageBuffer { get; set; }
}
}
| 18.166667 | 49 | 0.701835 | [
"MIT"
] | LagoVista/Runtime | src/LagoVista.IoT.Runtime.Core/Models/PEM/MessageRawPayload.cs | 220 | 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... | 32.04878 | 120 | 0.642314 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/ContainerRegistry/Latest/Inputs/PlatformPropertiesArgs.cs | 1,314 | C# |
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... | 35.803279 | 106 | 0.623168 | [
"MIT"
] | DevX-Realtobiz/InventorySample | src/Inventory.ViewModels/Infrastructure/ViewModels/ViewModelBase.cs | 4,370 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Mis.Entities.Concrete;
namespace Mis.DataAccess.Concrete.Seeds
{
public class FromFactorSeed : IEntityTypeConfiguration<FromFactor>
{
public FromFactorSeed()
{
}
publ... | 25.791667 | 71 | 0.596123 | [
"MIT"
] | emreerdogancom/Mis | src/Mis.DataAccess/Concrete/Seeds/FromFactorSeed.cs | 621 | 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.
//
// Generated on 2020 October 09 05:20:07 UTC
// </auto-generated>
//--------------... | 31.433333 | 97 | 0.593319 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/cmd/api/testdata/src/pkg/p1/p1_URLStruct.cs | 1,886 | C# |
// <copyright file="Sniffer.cs" company="Rocket Robin">
// Copyright (c) Rocket Robin. All rights reserved.
// Licensed under the Apache v2 license. See LICENSE file in the project root for full license information.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
namespace Myrmec
{... | 30.382857 | 107 | 0.48975 | [
"Apache-2.0"
] | anuraj/myrmec | src/Myrmec/Sniffer.cs | 5,319 | C# |
using System;
using System.Collections.Generic;
using Liu.Domain.Core.Events;
namespace Liu.Infra.Data.Repository.EventSourcing
{
public interface IEventStoreRepository : IDisposable
{
void Store(StoredEvent theEvent);
IList<StoredEvent> All(Guid aggregateId);
}
} | 24.5 | 56 | 0.738095 | [
"MIT"
] | faugusto90/LiuProject | src/Liu.Infra.CrossCutting.IoC/Liu.Infra.Data/Repository/EventSourcing/IEventStoreRepository.cs | 296 | C# |
// <copyright file="XXHash.cs" company="Sedat Kapanoglu">
// Copyright (c) 2015-2021 Sedat Kapanoglu
// MIT License (see LICENSE file for details)
// </copyright>
using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace HashDepot
{
/// <summary>
/// XXHash implementation.
/// </summ... | 33.636559 | 109 | 0.473052 | [
"MIT"
] | ssg/HashDepot | src/XXHash.cs | 15,641 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.System.Profile
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class EducationSettings
{
#... | 37.73913 | 140 | 0.748848 | [
"Apache-2.0"
] | Abhishek-Sharma-Msft/uno | src/Uno.UWP/Generated/3.0.0.0/Windows.System.Profile/EducationSettings.cs | 868 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.