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 |
|---|---|---|---|---|---|---|---|---|
// *** 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... | 34.333333 | 216 | 0.603849 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Synapse/V20210401Preview/GetIotHubDataConnection.cs | 5,768 | C# |
using FirstFloor.ModernUI.Windows.Controls;
using FirstFloor.ModernUI.Presentation;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Win... | 27.15942 | 120 | 0.63714 | [
"Apache-2.0"
] | d8euAI8sMs/db-1-all | PhoneBook/Pages/ContactEdit.xaml.cs | 1,876 | 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 System.Collections.Generic;
using System.Xml;
namespace Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate
{
[Conten... | 32.133333 | 87 | 0.643154 | [
"MIT"
] | 06needhamt/MonoGame | MonoGame.Framework.Content.Pipeline/Serialization/Intermediate/Vector2Serializer.cs | 964 | C# |
using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using XamarinFormsStarterKit.UserInterfaceBuilder.Helpers;
namespace XamarinFormsStarterKit.UserInterfaceBuilder.Preserver
{
public class Color
{
private const string WhiteColor = "#ffffff";
public Color(Xamarin.Forms.Color color... | 12.546667 | 63 | 0.628055 | [
"MIT"
] | arun6202/UserInterfaceBuilder | UserInterfaceBuilder/Preserver/Color.cs | 943 | C# |
using Microsoft.Xaml.Behaviors;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace Humbatt.UI.Toolkit.WPF.Behaviours
{
public class DataGridSelectedItemsBlendB... | 29.728571 | 218 | 0.567035 | [
"MIT"
] | Humbatt/Humbatt.UI.Toolk | Humbatt.UI.Toolkit.WPF/Behaviours/DataGridSelectedItemsBlendBehavior.cs | 2,083 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace FactoryMethod
{
public abstract class Passagem
{
public String Origem { get; set;}
public String Destino { get; set; }
public DateTime DataHoraPartida { get; set; }
public Passagem(String origem, Stri... | 23.208333 | 80 | 0.628366 | [
"MIT"
] | CledsonEC/design-pattern-gof | gof/FactoryMethod/Passagem.cs | 559 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnot... | 31.128 | 101 | 0.593935 | [
"MIT"
] | dagood/arcade-services | src/Maestro/Maestro.Data/Models/Repository.cs | 3,891 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Threading.Tasks;
using WorkflowCore.Interface;
namespace WorkflowCore.WebAPI.Controllers
{
[Route("[controller]")]
public class EventsController : Controller
{
private readonly IWorkf... | 28.83871 | 108 | 0.687919 | [
"MIT"
] | ChenxiaobaoPros/workflow-core | src/extensions/WorkflowCore.WebAPI/Controllers/EventsController.cs | 896 | 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/winnt.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... | 40.085714 | 145 | 0.736992 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | tests/Interop/Windows/Windows/um/winnt/TRANSACTION_ENLISTMENT_PAIRTests.cs | 1,405 | C# |
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// See ThirdPartyNotices.txt for references to third party code used inside Helios.
using System.Collections.Generic;
using System.Ne... | 45.878049 | 158 | 0.722488 | [
"Apache-2.0"
] | Aaronontheweb/helios | src/Helios/Reactor/SingleReceiveLoopProxyReactor.cs | 1,883 | C# |
using System;
using System.Drawing;
using System.Windows.Forms;
using Presenter.Views;
namespace View.Components
{
public partial class PlayerControlControl : UserControl, IPlayerControlView
{
private enum Status { Stopped = 0, Playing = 1, Buffering = 2, Preparing = 3 };
private Status statu... | 38.320442 | 109 | 0.55421 | [
"Apache-2.0"
] | fragtion/rtsp-camera-view | View/Components/PlayerControlControl.cs | 6,938 | C# |
using System;
using System.IO;
namespace Jess.DotNet.ReportViewerExtension.Winforms.Tests
{
public class TestForReport
{
public string Field { get; set; }
public string L { get; set; }
public string C { get; set; }
public byte[] image { get; set; }
public TestForRepo... | 25.448276 | 82 | 0.53523 | [
"MIT"
] | ShiJess/FastRegluar | test/Jess.DotNet.ReportViewerExtension.Winforms.Tests/TestForReport.cs | 740 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Caf.Projects.CafLogisticsSampleProcessing.Core
{
public interface IBlobLoader
{
Task<bool> LoadBlobAsync(
MemoryStream blobStream,
string blobContainerNam... | 21.882353 | 56 | 0.704301 | [
"CC0-1.0"
] | cafltar/CafLogisticsSampleProcessing_DotNet_AzureFunctions_MergeExcelDetWithMasterDet | MergeExcelDetWithMasterDet/Core/IBlobUploader.cs | 374 | C# |
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
namespace Orang.FileSystem
{
public class FileSystemFinderOptions
{
public static FileSystemFinderOptions Default { get; } =... | 32.633333 | 160 | 0.635853 | [
"Apache-2.0"
] | atifaziz/Orang | src/CommandLine/FileSystem/FileSystemFinderOptions.cs | 1,960 | C# |
using System;
using System.Web.UI.WebControls;
using System.Xml;
using Umbraco.Core.IO;
namespace umbraco.cms.presentation
{
public class Create : BasePages.UmbracoEnsuredPage
{
protected Label helpText;
protected TextBox rename;
protected Label Label1;
protected ListBox nodeT... | 33.632653 | 236 | 0.589806 | [
"MIT"
] | filipesousa20/Umbraco-CMS-V7 | src/Umbraco.Web/umbraco.presentation/umbraco/create.aspx.cs | 1,650 | C# |
using Content.Shared.Body.Events;
using Content.Shared.Body.Part;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Shared.Body.Components
{
[RegisterComponent]
public class MechanismComponent : ... | 33.8 | 124 | 0.532892 | [
"MIT"
] | Antares-30XX/Antares | Content.Shared/Body/Components/MechanismComponent.cs | 2,875 | C# |
using System.Threading;
using System.Threading.Tasks;
namespace BookStore.Core.Processors
{
public interface IProcessor
{
Task StartAsync(CancellationToken cancellationToken);
}
} | 20.1 | 61 | 0.746269 | [
"MIT"
] | fvilers/AspNetCqrsSample | BookStore/BookStore.Core/Processors/IProcessor.cs | 203 | C# |
using log4net;
using log4net.Config;
using log4net.Repository;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace WebSocket
{
public class LogHelper
{
public static ILoggerRepository Repository { get; private set; }
stat... | 23.285714 | 83 | 0.66411 | [
"MIT"
] | Tsual/CorefxSample | WebSocket/LogHelper.cs | 654 | 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.
/*============================================================
**
** Interface: IDisposable
**
**
** Purpose: Inter... | 52.163934 | 83 | 0.686361 | [
"MIT"
] | 06needhamt/runtime | src/libraries/System.Private.CoreLib/src/System/IDisposable.cs | 3,182 | 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.538462 | 121 | 0.589063 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/HybridNetwork/Inputs/NetworkInterfaceIPConfigurationArgs.cs | 1,920 | C# |
using HarmonyLib;
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.Classes.Spells;
using Kingmaker.Blueprints.JsonSystem;
using Kingmaker.UnitLogic;
namespace TabletopTweaks.NewComponents {
[AllowedOn(typeof(BlueprintSpellbook), false)]
[TypeId("076df57c9d7d415c81a3b968437d98ec")]
public class Custo... | 38.48 | 99 | 0.718295 | [
"MIT"
] | 1onepower/WrathMods-TabletopTweaks | TabletopTweaks/NewComponents/CustomSpecialSlotAmount.cs | 964 | C# |
using System.ComponentModel.DataAnnotations;
namespace SimpleChat.Models
{
/// <summary>
/// New chat message
/// </summary>
public sealed class ChatNewMessageModel
{
/// <summary>
/// Chat message text
/// </summary>
[Required]
public string Message { get; set; }
}
} | 17.875 | 45 | 0.667832 | [
"Apache-2.0"
] | hnjm/SimpleChat | SimpleChat/Models/ChatNewMessageModel.cs | 288 | 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... | 52.019802 | 278 | 0.708151 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/KinesisAnalytics/Generated/_mobile/AmazonKinesisAnalyticsClient.cs | 42,032 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Forum.Data.Common;
using Forum.Data.Common.Interfaces;
using Forum.Data.DataTransferObjects;
using Forum.Data.DataTransferObjects.InputModels.Post;
using Forum.Data.Models;
using ... | 39.302839 | 156 | 0.60679 | [
"MIT"
] | failfmi/forum-app | ForumApi/Tests/Forum.Data.Services.Tests/PostServiceTests.cs | 12,461 | C# |
using System;
namespace UnitSystem.Examples
{
public class Cuboid : Shape3D
{
public Length A { get; }
public Length B { get; }
public Length C { get; }
public Length Diagonal => new Length(Math.Sqrt(Math.Pow(A.Value, 2) + Math.Pow(B.Value, 2) + Math.Pow(C.Value, 2)));
... | 26.904762 | 124 | 0.515044 | [
"MIT"
] | mmbrantner/PhysicalUnitSystem | UnitSystem/Examples/Cuboid.cs | 1,132 | C# |
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Bogus;
using Microsoft.Extensions.Logging.Abstractions;
using Promitor.Core.Scraping.Configuration.Model;
using Promitor.Core.Scraping.Configuration.Model.Metrics;
using Promitor.Core.Scraping.Configuration.Model.Metrics.Reso... | 65.915663 | 207 | 0.746847 | [
"MIT"
] | brandonh-msft/promitor | src/Promitor.Scraper.Tests.Unit/Serialization/MetricsDeclaration/MetricsDeclarationWithVirtualMachineYamlSerializationTests.cs | 5,471 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Priority_Queue;
using SFML.Graphics;
using SFML.System;
namespace QuadTree
{
public class BucketGrid<T> : ISpacePartitioner<T>
where T : Transformable
{
private readonly List<T> CachedList = new List<T>();
privat... | 36.222467 | 118 | 0.490301 | [
"MIT"
] | deanljohnson/QuadTree | QuadTree/BucketGrid.cs | 16,447 | C# |
using Budget.Database;
using Budget.InputModels;
using Budget.Repository;
using Budget.Models;
using System;
using System.Linq;
using System.Threading.Tasks;
using Threax.AspNetCore.Tests;
using Xunit;
namespace Budget.Tests
{
public static partial class EntryTests
{
public class Repository : IDisposab... | 35.444444 | 135 | 0.529519 | [
"MIT"
] | threax/Threax.Budget | Budget.Tests/Entry/EntryRepositoryTests.cs | 3,828 | C# |
using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
public float speed = 90;
// Update is called once per frame
void Update () {
transform.Rotate(new Vector3(0, 1, 0) * Time.deltaTime * speed);//Vector3.up
}
public void changspeed(float newspeed) {
th... | 23.266667 | 84 | 0.65043 | [
"MIT"
] | Chunxiaojiu/-unity- | UGIstudy/UGIstudy1/Assets/Player.cs | 351 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 26.5375 | 113 | 0.593029 | [
"Apache-2.0"
] | Singh400/aws-sdk-net | sdk/src/Services/LicenseManager/Generated/AmazonLicenseManagerConfig.cs | 2,123 | 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.AwsN... | 41.728395 | 157 | 0.643195 | [
"Apache-2.0"
] | AaronFriel/pulumi-aws-native | sdk/dotnet/EC2/SubnetCidrBlock.cs | 3,380 | C# |
using Lucene.Net.Documents;
namespace Lucene.Net.Search
{
using Lucene.Net.Randomized.Generators;
using NUnit.Framework;
using Directory = Lucene.Net.Store.Directory;
using DirectoryReader = Lucene.Net.Index.DirectoryReader;
using Document = Documents.Document;
using Field = Field;
using In... | 39.677165 | 154 | 0.569359 | [
"Apache-2.0"
] | BlueCurve-Team/lucenenet | src/Lucene.Net.Tests/core/Search/TestFieldValueFilter.cs | 5,039 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Configuration;
namespace DG.TwitterClient.Host
{
public class Proxy : IWebProxy
{
private Uri m_proxyAddress;
public Proxy()
{
m_proxyAddress... | 22.609756 | 151 | 0.574973 | [
"MIT"
] | giacomelli/DG.TwitterClient | src/Host/Proxy.cs | 929 | C# |
using Moq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using ShipEngineSDK;
using ShipEngineSDK.Common;
using ShipEngineSDK.Common.Enums;
using ShipEngineSDK.CreateLabelFromShipmentDetails;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http... | 42.592105 | 197 | 0.587066 | [
"Apache-2.0"
] | ShipEngine/shipengine-dotnet | ShipEngine.Tests/ShipEngineMethodTests/CreateLabelFromShipmentDetailsTest.cs | 9,711 | C# |
#pragma checksum "E:\flyjets_web\Views\App\About.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "94abb3d13410f77b4203913bc80f318dd438ce84"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_App_About), @"mvc.1.0... | 79.382255 | 377 | 0.519079 | [
"Unlicense",
"MIT"
] | expert-git/flyjets-web | obj/Debug/netcoreapp2.2/Razor/Views/App/About.cshtml.g.cs | 95,739 | C# |
using ArkBot.Ark;
using ArkBot.Configuration.Model;
using ArkBot.Database;
using ArkBot.Database.Model;
using ArkBot.Extensions;
using ArkBot.Helpers;
using Discord;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;... | 48.285714 | 318 | 0.600766 | [
"MIT"
] | Betrail/ArkBot | ArkBot/Voting/Handlers/BanVoteHandler.cs | 5,748 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Reflection;
using System.Runtime.Serialization;
using System.Web.Http;
using System.Web.Http.Description;
using System.Xml... | 42.321508 | 167 | 0.579033 | [
"MIT"
] | pthiep/EBunnyShop | EBunnyShop.API/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs | 19,087 | C# |
namespace FakeWebcomic.Storage.Models
{
public class ComicPage : AEntity
{
public string PageTitle { get; set; }
public int PageNumber { get; set; }
public byte[] Image { get; set; }
public long ComicBookId { get; set; }
public ComicBook ComicBook { get; set; }
}
}... | 21.4 | 48 | 0.595016 | [
"MIT"
] | KevinTouch/Fake_Webcomic | Storage/FakeWebcomic.Storage/Models/ComicPage.cs | 321 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CimpleDeclaration.Models;
namespace CimpleDeclaration.Interfaces
{
public interface IAttachmentRepository : IRepository<Attachment>
{
IEnumerable<Declaration> GetAllPdfAttachments(int numberOfRecords... | 23.642857 | 75 | 0.78852 | [
"MIT"
] | ehtesam4m/SimpleAPIDotNetCoreEF | CimpleDeclaration/Interfaces/IAttachmentRepository.cs | 333 | 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.Immutable;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft.CodeAnalysis... | 45.333333 | 158 | 0.678922 | [
"Apache-2.0"
] | Sliptory/roslyn | src/Features/CSharp/Portable/Completion/CompletionProviders/InternalsVisibleToCompletionProvider.cs | 2,042 | C# |
using System.Collections.Generic;
using System.Linq;
using Abp.Configuration;
using Abp.Dependency;
using Abp.Extensions;
using Microsoft.AspNetCore.Mvc.Razor;
using Afonsoft.Ranking.Configuration;
namespace Afonsoft.Ranking.Web.Startup
{
/// <summary>
/// That class is generated so that new areas that use de... | 31.243902 | 101 | 0.654957 | [
"MIT"
] | afonsoft/Ranking | src/Afonsoft.Ranking.Web.Mvc/Startup/RazorViewLocationExpander.cs | 1,283 | C# |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ProductOwnerSimGame.Logic;
using ProductOwnerSimGame.Models.Permissions;
using System.Threading.Tasks;
using ProductOwnerSimGame.Dtos.GameView;
namespace ProductOwnerSimGame.Controllers
{
[Route("api/[controller]")]
[ApiController... | 31.733333 | 131 | 0.723739 | [
"MIT"
] | MD-V/ProductOwnerSimGame | Controllers/GameViewController.cs | 954 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EmuConsole
{
public class ConsoleCommand
{
private readonly Func<Task> _action;
private readonly Func<bool> _canExecute;
public ConsoleCommand(string key, string description, Act... | 34.663158 | 151 | 0.595809 | [
"MIT"
] | hjbwallace/EmuConsole | src/EmuConsole/ConsoleCommand.cs | 3,295 | C# |
using AngleSharp.Html.Parser;
using DisCatSharp.Entities;
using MikuSharp.Entities;
using Newtonsoft.Json;
using NYoutubeDL;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System... | 34.650794 | 111 | 0.551535 | [
"MIT"
] | Lulalaby/MikuSharp | MikuSharp/Utilities/Bilibili.cs | 2,185 | C# |
using System;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;
using Moq;
using NEStore.MongoDb.UndispatchedStrategies;
namespace NEStore.MongoDb.Tests
{
public class MongoDbEventStoreFixture<T> : IDisposable
{
public string BucketName { get; }
public MongoDbEventStore<T> EventStore ... | 29.063492 | 101 | 0.722556 | [
"MIT"
] | deltatre-webplu/NEStore | NEStore.MongoDb.Tests/MongoDbEventStoreFixture.cs | 1,833 | C# |
/*
* Marketplace
*
* API Cloud Loyalty LTM - Webpremios
*
* OpenAPI spec version: 1.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collection... | 36.052846 | 387 | 0.507611 | [
"MIT"
] | ltm-arquitetura/webpremios-csharp-sdks | src/IO.Swagger/Models/ProductDetail.cs | 8,884 | C# |
using IdentityUtils.Api.Controllers.Authentication.Services;
using IdentityUtils.Api.Models.Authentication;
using Microsoft.Extensions.Logging;
namespace IdentityUtils.Api.Controllers
{
public class AuthenticationControllerApi : AuthenticationControllerApiBase<UserProfile>
{
public AuthenticationContr... | 34.6 | 97 | 0.766859 | [
"MIT"
] | intellegens-hr/utils-identity | dotnetcore/IdentityUtils.Api.Controllers.Auth/AuthenticationControllerApi.cs | 521 | C# |
/*
* ORY Keto
*
* Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
*
* The version of the OpenAPI document: v0.6.0-alpha.5
* Contact: hi@ory.sh
* Generated by: https://github.com/openapitools/openapi-genera... | 33.257143 | 158 | 0.582904 | [
"Apache-2.0"
] | extraymond/sdk | clients/keto/dotnet/src/Ory.Keto.Client/Client/ApiException.cs | 2,328 | C# |
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microso... | 41.980769 | 86 | 0.574897 | [
"MIT"
] | cointoss1973/Prism4.1-WPF | PrismLibrary/Desktop/Prism.Tests/Modularity/ModuleAttributeFixture.Desktop.cs | 2,183 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="WrongViewModelTypeException.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ------------------... | 38.8 | 120 | 0.512887 | [
"MIT"
] | IvanKupriyanov/Catel | src/Catel.MVVM/Catel.MVVM.Shared/MVVM/Exceptions/WrongViewModelTypeException.cs | 1,554 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NuGetGallery.Authentication
{
public class AuthenticatedUser
{
public User User { get; private set; }
public Credential CredentialUsed { get; private set; }
public AuthenticatedUser(User us... | 22.433333 | 62 | 0.534918 | [
"ECL-2.0",
"Apache-2.0"
] | JetBrains/ReSharperGallery | src/NuGetGallery/Authentication/AuthenticatedUser.cs | 675 | C# |
#pragma checksum "C:\Users\Terry\Downloads\BeautySalon\Web\BeautyBooking.Web\Areas\Identity\Pages\Account\LoginWithRecoveryCode.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b1c7112e66ece0d953d7175ef030cacdf28cad94"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Host... | 72.682731 | 350 | 0.757266 | [
"MIT"
] | DiePathologie/BeautySalon | Web/BeautyBooking.Web/obj/Debug/netcoreapp3.1/Razor/Areas/Identity/Pages/Account/LoginWithRecoveryCode.cshtml.g.cs | 18,098 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
// 이러한 특성 값을 변경하세요.
[assembly: AssemblyTitle("Contacts")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCo... | 28.486486 | 56 | 0.695446 | [
"MIT"
] | totalintelli/Contacts | Contacts/Properties/AssemblyInfo.cs | 1,495 | C# |
using System;
using System.Collections.Generic;
/// <summary>
/// System.Collections.Generic.Dictionary.ValueCollection.Enumerator.Current
/// </summary>
public class DictionaryValueCollectionEnumeratorCurrent
{
public static int Main()
{
DictionaryValueCollectionEnumeratorCurrent dicValCollectEnumCurre... | 35.621951 | 146 | 0.600479 | [
"MIT"
] | CyberSys/coreclr-mono | tests/src/CoreMangLib/cti/system/collections/generic/dictkeycollenum/dictionaryvaluecollectionenumeratorcurrent.cs | 2,921 | C# |
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore;
using Abp.MultiTenancy;
using Abp.Zero.EntityFrameworkCore;
namespace Concise_CMS.EntityFrameworkCore
{
public class AbpZeroDbMigrator : AbpZeroDbMigrator<Concise_CMSDbContext>
{
public AbpZeroDbMigrator(
IUnitOfWorkManager unitOfWorkMana... | 27.727273 | 76 | 0.678689 | [
"MIT"
] | xhl592576605/Concise_CMS | src/concise_cms-aspnet-core/src/Concise_CMS.EntityFrameworkCore/EntityFrameworkCore/AbpZeroDbMigrator.cs | 610 | C# |
using System;
using System.IO;
using NAudio.Wave;
namespace NAudioDemo.NetworkChatDemo
{
class NetworkAudioSender : IDisposable
{
private readonly INetworkChatCodec codec;
private readonly IAudioSender audioSender;
private readonly WaveIn waveIn;
private AES256 aes;
pu... | 31.795918 | 119 | 0.60077 | [
"MIT"
] | sanea010/NAudio | NAudioDemo/NetworkChatDemo/NetworkAudioSender.cs | 1,560 | C# |
using GPdotNet.Core;
using GPdotNet.Data;
using GPdotNet.MathStuff;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.Windows.Forms;
namespace GPdotNet.Wnd.GUI.Dialogs
{
public partial class MModelEvaluation : Form
{
string[] m_Classes;
... | 32.192118 | 111 | 0.511094 | [
"MIT"
] | bhrnjica/gpdotnet | Net/GPdotNET.Wnd.Dll/Dialogs/MModelEvaluation.cs | 6,537 | C# |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 la... | 34.127273 | 129 | 0.701119 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | ONLYOFFICE/CommunityServer | web/studio/ASC.Web.Studio/Products/Projects/Controls/Reports/ReportView.ascx.cs | 1,877 | C# |
using System;
namespace WebApplication1.Data.Models
{
public class Order
{
public Guid Id { get; set; } = Guid.NewGuid();
public string Name { get; set; } = "";
}
}
| 14.142857 | 54 | 0.565657 | [
"Apache-2.0"
] | dotnetcore/sharding-core | samples/Samples.DynamicDb.Npgsql/WebApplication1.Data/Models/Order.cs | 200 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------... | 55.809091 | 295 | 0.685128 | [
"MIT"
] | GaryWayneSmith/mozu-dotnet | Mozu.Api/Urls/Commerce/Catalog/Admin/Attributedefinition/AttributeUrl.cs | 6,139 | C# |
using System.Threading.Tasks;
using TestExtensions;
using TestGrainInterfaces;
using Xunit;
namespace DefaultCluster.Tests.GeoClusterTests
{
public class SimpleGlobalSingleInstanceGrainTests : HostedTestClusterEnsureDefaultStarted
{
private const string SimpleGrainNamePrefix = "UnitTests.Grains.SimpleG... | 33.894737 | 123 | 0.636646 | [
"MIT"
] | 1007lu/orleans | test/DefaultCluster.Tests/GeoClusterTests/SimpleGlobalSingleInstanceGrainTests.cs | 1,288 | 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 IdentityServer4.Models;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Loggi... | 37.105634 | 111 | 0.525906 | [
"Apache-2.0"
] | belav/aspnetcore | src/Identity/ApiAuthorization.IdentityServer/src/Configuration/ConfigureClients.cs | 5,269 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Compression;
using System.IO;
using System.Xml;
class TwbxDataSourceEditor
{
private readonly string _pathToTwbx;
private readonly string _pathToWorkIn;
private readonly TaskStatusLogs _statusLog;
private readonly ITable... | 27.058394 | 134 | 0.621527 | [
"MIT"
] | BiniamD/TabMigrate | TabRESTMigrate/WorkbookTransforms/TwbxDataSourceEditor.cs | 3,709 | C# |
using BrokeredMessaging.Messaging.Features;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace BrokeredMessaging.Messaging
{
/// <summary>
/// The default receive context which provides access to the received message and related
/// functions using listener features.
/// </s... | 37.983051 | 113 | 0.710843 | [
"MIT"
] | BrokeredMessaging/MessagingAbstractions | src/BrokeredMessaging.Messaging/DefaultReceiveContext.cs | 4,484 | C# |
using Dal;
using Dto;
using System;
using System.Collections.Generic;
namespace Bll
{
public class clsUberBll
{
private clsUberDal _uber;
/* Método construtor (Fundamentos POO) */
public clsUberBll()
{
/* Instanciando o objeto _cidades
* desta forma ... | 25.626984 | 101 | 0.419325 | [
"Unlicense"
] | EricDamasc/PROJETO-PAI | Fontes/Bll/clsUberBll.cs | 3,246 | C# |
using EasyRpc.AspNetCore.DataAnnotations.Impl;
namespace EasyRpc.AspNetCore.DataAnnotations
{
/// <summary>
/// Static class for C# extentions
/// </summary>
public static class ApiConfigurationExtensions
{
/// <summary>
/// Use data annotations for validation
/// </summary... | 27.64 | 96 | 0.633864 | [
"MIT"
] | JTOne123/EasyRpc | src/EasyRpc.AspNetCore.DataAnnotations/ApiConfigurationExtensions.cs | 693 | C# |
// Patterns: 2
// Matches: Foo.cs, Baz.cs
// NotMatches: FooBar.cs
using Microsoft.Extensions.DependencyInjection;
using TestApplication.Types;
namespace TestApplication.AspNetCore
{
public class AddTransientGenericStatementLambdaMultiple
{
public AddTransientGenericStatementLambdaMultiple()
... | 24.5 | 59 | 0.517493 | [
"MIT"
] | ERNICommunity/AgentMulder | src/Test/Data/AspNetCore/AddTransientGenericStatementLambdaMultiple.cs | 688 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Accounts;
namespace Assignment5
{
public partial class Member : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | 27.642857 | 100 | 0.563307 | [
"MIT"
] | IanParkison/CSE445_598 | Assignment5 CSE598Parkison/Assignment 5 Parkison LocalHost/Assignment5/Member.aspx.cs | 776 | C# |
using System.IO;
namespace sensor_msgs.msg
{
/**
*
* Topic data type of the struct "Image" defined in "Image.idl". Use this class to provide the TopicDataType to a Participant.
*
* This file was automatically generated from Image.idl by com.halodi.idl.generator.IDLCSharpGenerator.
* Do not update this file directly... | 26.244604 | 126 | 0.660088 | [
"Apache-2.0"
] | AHGOverbeek/halodi-messages | halodi-messages-unity-support/Packages/halodi-messages/Runtime/sensor_msgs/msg/ImagePubSubType.cs | 3,648 | 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.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.Text;
u... | 38.605769 | 169 | 0.465903 | [
"MIT"
] | Danil-Andrianov/winforms | src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRow.DataGridViewRowAccessibleObject.cs | 20,077 | 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... | 32.727273 | 104 | 0.664683 | [
"Apache-2.0"
] | JeffAshton/aws-sdk-net | sdk/src/Services/Macie2/Generated/Model/BucketPermissionConfiguration.cs | 2,520 | C# |
using System;
using FsCheck;
using FsCheck.Xunit;
using NRealbit.Tests.Generators;
using Xunit;
namespace NRealbit.Tests.PropertyTest
{
public class AddressTest
{
public AddressTest()
{
Arb.Register<AddressGenerator>();
Arb.Register<ChainParamsGenerator>();
}
[Property]
[Trait("UnitTest", "UnitTest"... | 20.241379 | 77 | 0.725724 | [
"MIT"
] | maren7/NRealbit | NRealbit.Tests/PropertyTest/AddressTest.cs | 587 | 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... | 46.836066 | 312 | 0.622191 | [
"ECL-2.0",
"Apache-2.0"
] | ScriptBox99/pulumi-azure | sdk/dotnet/StreamAnalytics/StreamInputEventHub.cs | 14,285 | C# |
using API;
using System.Collections.Generic;
namespace PxStat.Data
{
internal class GeoLayer_ADO
{
/// <summary>
/// ADO class parameter
/// </summary>
private ADO ado;
internal GeoLayer_ADO(ADO ado)
{
this.ado = ado;
}
internal int ... | 31.382022 | 98 | 0.552811 | [
"MIT"
] | CSOIreland/PxStat | server/PxStat/Entities/Data/GeoLayer/GeoLayer_ADO.cs | 2,795 | 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... | 35.716667 | 90 | 0.587961 | [
"ECL-2.0",
"Apache-2.0"
] | ederst/pulumi-openstack | sdk/dotnet/Identity/Outputs/ApplicationCredentialAccessRule.cs | 2,143 | C# |
/*
* YtelAPIV3.Standard
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
using System;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using YtelAPIV3.Standard;
using YtelAPIV3.Standard.Utilities;
names... | 35.864198 | 122 | 0.594492 | [
"MIT"
] | mgrofsky/Ytel-API-.NET | YtelAPIV3.Standard/Models/Direction4Enum.cs | 2,905 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | 41.943396 | 96 | 0.758884 | [
"MIT"
] | NolwennR/xaml-code-experiences | xaml.experiences/architecture/communication/interfacebased/Properties/AssemblyInfo.cs | 2,226 | C# |
namespace ESFA.DC.ILR1819.ReportService.Stateless.Configuration
{
public sealed class ServiceBusOptions
{
public string AuditQueueName { get; set; }
public string ServiceBusConnectionString { get; set; }
public string TopicName { get; set; }
public string ReportingSubscriptio... | 24.857143 | 64 | 0.681034 | [
"MIT"
] | SkillsFundingAgency/DC-ILR-1819-ReportService | src/ESFA.DC.ILR.ReportService.Stateless/Configuration/ServiceBusOptions.cs | 350 | C# |
using System;
using System.Windows.Forms;
namespace Pixiv.Utilities.Ugoira.Convert.WebP
{
static class Program
{
/// <summary>
/// 해당 응용 프로그램의 주 진입점입니다.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
App... | 21.7 | 65 | 0.571429 | [
"MIT"
] | uhm0311/Ugoira-to-WebP-Converter | Workspace/CSharp/Application/Ugoira to WebP Convertor/Program.cs | 468 | C# |
namespace BeatTogether.MasterServer.Kernel.Abstractions.Providers
{
public interface IRequestIdProvider
{
uint GetNextRequestId();
}
}
| 19.5 | 66 | 0.724359 | [
"MIT"
] | raftario/BeatTogether.MasterServer | BeatTogether.MasterServer.Kernel/Abstractions/Providers/IRequestIdProvider.cs | 158 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerate... | 20.265152 | 111 | 0.625794 | [
"Apache-2.0"
] | JonDouglas/xamarin-android-tutorials | Wakeful/Demo/Resources/Resource.Designer.cs | 2,675 | C# |
namespace Binance.Net.Enums
{
/// <summary>
/// Margin level status
/// </summary>
public enum MarginLevelStatus
{
/// <summary>
/// Excessive
/// </summary>
Excessive,
/// <summary>
/// Normal
/// </summary>
Normal,
/// <summ... | 19.258065 | 33 | 0.438861 | [
"MIT"
] | Andres-MMG/Binance.Net | Binance.Net/Enums/MarginLevelStatus.cs | 599 | 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... | 42.791667 | 81 | 0.640701 | [
"MIT"
] | CirjaAdriana/tap2021-e02 | CirjaAdriana/src/ClassLibrary1/IsValidDnaSequence/obj/Debug/netstandard2.0/IsValidDnaSequence.AssemblyInfo.cs | 1,027 | C# |
using System;
namespace Xamarin.Android.Prepare
{
partial class Configurables
{
partial class Urls
{
public static readonly Uri Corretto = new Uri ($"{Corretto_BaseUri}{CorrettoUrlPathVersion}/amazon-corretto-{CorrettoDistVersion}-macosx-x64.tar.gz");
public static readonly Uri MonoPackage = new Uri ("http... | 35.1 | 181 | 0.765432 | [
"MIT"
] | cherry003/xamarin-android | build-tools/xaprepare/xaprepare/ConfigAndData/Configurables.MacOS.cs | 1,053 | 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.Collections.ObjectModel;
using System.Net.Http;
using System.Web.Http.Controllers;
namespace System.Web.Http
{
/// <summary>
/// ... | 34.28 | 111 | 0.70245 | [
"Apache-2.0"
] | belav/AspNetWebStack | src/System.Web.Http/HttpPatchAttribute.cs | 859 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Devices.SmartCards
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class SmartCardPinResetRequest
{
#if __ANDROID__ || __IOS__ || NET46 || _... | 37.729167 | 195 | 0.764771 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.SmartCards/SmartCardPinResetRequest.cs | 1,811 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysi... | 49.327731 | 161 | 0.598211 | [
"Apache-2.0"
] | DavidKarlas/roslyn | src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxTriviaListTests.cs | 11,742 | C# |
using System.Security.Principal;
namespace ShellyBrowserApp
{
public static class Utils
{
public static bool IsAdministrator()
{
return (new WindowsPrincipal(WindowsIdentity.GetCurrent()))
.IsInRole(WindowsBuiltInRole.Administrator);
}
}
}
| 21.642857 | 71 | 0.643564 | [
"MIT"
] | bpetrikovics/ShellyBrowser | ShellyBrowser.App/Utils.cs | 305 | C# |
/*
Copyright (C) 2019 Alex Watt (alexwatt@hotmail.com)
This file is part of Highlander Project https://github.com/alexanderwatt/Highlander.Net
Highlander is free software: you can redistribute it and/or modify it
under the terms of the Highlander license. You should have received a
copy of the license along wit... | 31.304918 | 100 | 0.41527 | [
"BSD-3-Clause"
] | mmrath/Highlander.Net | Metadata/FpML.V5r3/FpML.V5r3.Reporting.Analytics/LinearAlgebra/LUDecomposition.cs | 9,548 | C# |
using Microsoft.SqlServer.Server;
using SInvader_Core.i8080;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace i8080_Disassembler... | 37.536585 | 172 | 0.424518 | [
"MIT"
] | Miguelito79/SpaceInvaders | i8080_Disassembler/BusinessLayer/BusinessManager.cs | 4,619 | C# |
namespace GokoSite.Services.Data
{
using System;
using System.Collections.Generic;
using RiotSharp.Endpoints.MatchEndpoint;
public class TeamsService : ITeamsService
{
public long GetTotalGoldByPlayers(List<ParticipantIdentity> participantIdentities, List<Participant> participants, int te... | 31.560976 | 134 | 0.562597 | [
"MIT"
] | NikolaViktorov/GOKO-Community-website | Services/GokoSite.Services.Data/TeamsService.cs | 1,296 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Fizzly.Droid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfig... | 36.25 | 82 | 0.744828 | [
"MIT"
] | bryce-klinker/fizz-xamarin | Native/src/Droid/Properties/AssemblyInfo.cs | 1,017 | C# |
/// Generated - Do Not Edit
namespace BABYLON
{
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using EventHorizon.Blazor.Interop;
using EventHorizon.Blazor.Interop.Callbacks;
using EventHorizon.Blazor.Interop.ResultCallback... | 25.258216 | 148 | 0.419703 | [
"MIT"
] | badcommandorfilename/EventHorizon.Blazor.TypeScript.Interop.Generator | Sample/_generated/EventHorizon.Blazor.BabylonJS.WASM/EventState.cs | 5,380 | 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... | 47.230245 | 194 | 0.67332 | [
"Apache-2.0"
] | Murcho/aws-sdk-net | sdk/src/Services/CloudTrail/Generated/_mobile/AmazonCloudTrailClient.cs | 34,667 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YC.Core.Autofac;
namespace YC.Core
{
public interface ITenant: IDependencyInjectionSupport
{
public int TenantId { get; set; }
public int TenantDbType { get; set; }
... | 20.833333 | 56 | 0.690667 | [
"Apache-2.0"
] | boozzh/yc.boilerplate | src/Backstage/BasicLayer/YC.Core/Tenant/ITenant.cs | 377 | C# |
namespace AAWebSmartHouse.WebApi.Models.User.ResponseModels
{
using System.Collections.Generic;
using System.Linq;
using AAWebSmartHouse.Data.Models;
using AAWebSmartHouse.WebApi.Infrastructure.Mappings;
using AutoMapper;
public class RoomDetailsResponseModel : IMapFrom<Room>, IHaveCustomMapp... | 28.586207 | 108 | 0.655006 | [
"MIT"
] | Obelixx/AASmartHouse | AAWebSmartHouse/WebApi/AAWebSmartHouse.WebApi/Models/User/ResponseModels/RoomDetailsResponseModel.cs | 831 | C# |
using System;
namespace Neo.VM
{
public class CatchableException : Exception
{
public CatchableException(string message) : base(message)
{
}
}
}
| 15.166667 | 65 | 0.60989 | [
"MIT"
] | Ashuaidehao/neo-vm | src/neo-vm/CatchableException.cs | 182 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("NHK4Net.Console")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Assem... | 29.166667 | 56 | 0.746667 | [
"MIT"
] | monmaru/NHK4Net | NHK4Net.Console/Properties/AssemblyInfo.cs | 1,637 | C# |
// ==============================================================================================================
// Microsoft patterns & practices
// CQRS Journey project
// ==============================================================================================================
// ©2012 Microsoft. All right... | 49.222222 | 188 | 0.549436 | [
"Apache-2.0"
] | jdom/cqrs-journey-code | source/Infrastructure/Azure/Infrastructure.Azure/Utils/TaskEx.cs | 2,218 | C# |
namespace etcetera
{
public class EtcdMachineResponse
{
public string Name { get; set; }
public string State { get; set; }
public string ClientUrl { get; set; }
public string PeerUrl { get; set; }
}
} | 25.4 | 46 | 0.566929 | [
"Apache-2.0"
] | drusellers/etcetera | etcetera/Machines/EtcdMachineResponse.cs | 256 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.