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 Naruto.MongoDB.Object;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Naruto.MongoDB.Interface
{
/// <summary>
/// 张海波
/// 2019-12-1
/// mongo的连接实例工厂获取
/// </summary>
public interface IMongoClientFactory : ... | 26.482759 | 120 | 0.628906 | [
"MIT"
] | zhanghaiboshiwo/Naruto.Data | src/Naruto.MongoDB/Interface/IMongoClientFactory.cs | 804 | C# |
namespace Spectre.Console;
/// <summary>
/// Represents console capabilities.
/// </summary>
public sealed class Capabilities : IReadOnlyCapabilities
{
private readonly IAnsiConsoleOutput _out;
/// <summary>
/// Gets or sets the color system.
/// </summary>
public ColorSystem ColorSystem { get; se... | 28.314286 | 69 | 0.61554 | [
"MIT"
] | BlackOfWorld/spectre.console | src/Spectre.Console/Capabilities.cs | 1,982 | C# |
using Microsoft.Extensions.DependencyModel;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Rabbit.Extensions.Boot
{
public class RabbitBoot
{
public static async Task<IHostBuilder> ... | 39.395604 | 201 | 0.586611 | [
"Apache-2.0"
] | RabbitTeam/Rabbit-Extensions | src/Rabbit.Extensions.Boot/RabbitStarter.cs | 3,587 | 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("Web... | 37.891892 | 84 | 0.748217 | [
"MIT"
] | davidtang1977/webmarket | WebMarket/WebMarket.Service/Properties/AssemblyInfo.cs | 1,405 | C# |
namespace JokesFunApp.Web.Controllers
{
using JokesFunApp.Services.DataServices;
using JokesFunApp.Services.Models;
using JokesFunApp.Services.Models.Home;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
public class HomeController : BaseController
{
private readonly IJ... | 25.318182 | 122 | 0.608618 | [
"MIT"
] | Aleksandrov91/JokesFunApp | src/Web/JokesFunApp.Web/Controllers/HomeController.cs | 1,116 | C# |
namespace DefineClass
{
using System;
class Display
{
private const byte maxSize = 6;
private const byte defaultSize = 3;
private const uint defaultColors = 1;
private float size;
private uint colors;
// Parameterless constructor
public Display()
... | 20.921569 | 90 | 0.448922 | [
"MIT"
] | GAlex7/TA | 03. CSharpOOP/01. Defining Classes - Part 1/DefineClass/Display.cs | 1,069 | C# |
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace Blogifier.Shared
{
public class ProgressiveStreamContent : StreamContent
{
public event Action<long, double> OnProgress;
private readonly System.IO.Stream _stream;
private readonly int _maxBuffer = 1024 * 4;
... | 30.719298 | 127 | 0.520845 | [
"MIT"
] | tdgiertz/Blogifier | src/Blogifier.Shared/ProgressiveStreamContent.cs | 1,751 | 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... | 42.024793 | 175 | 0.602557 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/ApiManagement/V20190101/TagByApi.cs | 5,085 | C# |
namespace _04._Iterator
{
/// <summary>
/// The 'Aggregate' interface
/// </summary>
interface IAbstractCollection
{
Iterator CreateIterator();
}
}
| 16.454545 | 34 | 0.585635 | [
"MIT"
] | pirocorp/Databases-Advanced---Entity-Framework | 15. DESIGN PATTERNS/03. Behavioral Patterns/04. Iterator/IAbstractCollection.cs | 183 | 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-generate... | 44.390625 | 174 | 0.598733 | [
"MIT"
] | Amrt1n3zm/JsDbg | server/JsDbg.VisualStudio/Resources.Designer.cs | 2,843 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace BaiduMapAPI.APIs.Location
{
/// <summary>
/// 普通IP定位
/// </summary>
public class IP : Models.GetRequest<IPResult>
{
/// <summary>
/// 接口地址
/// </summary... | 30.365854 | 78 | 0.561446 | [
"MIT"
] | miracleQin/BaiduMapServerAPI.SDK | BaiduMapAPI.SDK/APIs/Location/IP.cs | 1,629 | C# |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PierreVendors.Models;
namespace PierreVendors.Tests
{
[TestClass]
public class VendorTests : IDisposable
{
public void Dispose()
{
Vendor.ClearAll();
}
[TestMethod]
public void Ven... | 34.438095 | 106 | 0.683075 | [
"MIT"
] | Pingel88/PierreVendors.Solution | PierreVendors.Tests/ModelTests/VendorTests.cs | 3,616 | 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/IPExport.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... | 38.628571 | 145 | 0.727071 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | tests/Interop/Windows/Windows/um/IPExport/IP_MCAST_COUNTER_INFOTests.cs | 1,354 | C# |
using Microsoft.TeamFoundation.Core.WebApi;
using Microsoft.TeamFoundation.Core.WebApi.Types;
using Microsoft.TeamFoundation.SourceControl.WebApi;
using Microsoft.TeamFoundation.WorkItemTracking.WebApi;
using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models;
using Microsoft.VisualStudio.Services.WebApi;
using M... | 36.111675 | 261 | 0.537133 | [
"MIT"
] | 4vidya2022/azure-devops-dotnet-samples | ClientLibrary/Samples/WorkItemTracking/WorkItemsSample.cs | 42,686 | C# |
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Microsoft.Extensions.Hosting;
namespace Milou.Deployer.Web.Core.Health
{
[UsedImplicitly]
public class HealthBackgroundService : BackgroundService
{
private readonly HealthChecker _healthChecker;
publ... | 26.782609 | 77 | 0.714286 | [
"MIT"
] | milou-se/milou.deployer.web | src/Milou.Deployer.Web.Core/Health/HealthBackgroundService.cs | 618 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20191001Preview
{
using static Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.Extensions;
/// <summary>Resource tags.</summary>
public partial class MoveCollectionTags :
Microsoft.Azure.PowerShell.Cmdlets.ResourceM... | 34.166667 | 111 | 0.716098 | [
"MIT"
] | 3quanfeng/azure-powershell | src/ResourceMover/generated/api/Models/Api20191001Preview/MoveCollectionTags.cs | 996 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PopNTouch2.Model
{
/// <summary>
/// Enum used by every Note to store its accidentals (Sharp, Flat or None)
/// </summary>
public enum Accidental
{
None,
Flat,
Sharp,
}
}
| 17.611111 | 78 | 0.618297 | [
"MIT"
] | nbusseneau/Pop-n-Touch | src/PopNTouch2/Model/Notes/Accidental.cs | 319 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class BTTaskRaiseEventOnDeactivate ... | 33.56 | 140 | 0.743743 | [
"MIT"
] | bclnet/GameEstate | src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/BTTaskRaiseEventOnDeactivate.cs | 839 | C# |
using System;
namespace EricBach.CQRS.Commands
{
public interface ICommand
{
Guid Id { get; }
}
} | 13.222222 | 32 | 0.605042 | [
"MIT"
] | eric-bach/EricBach.CQRS | EricBach.CQRS/Commands/ICommand.cs | 121 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 30.936842 | 164 | 0.75672 | [
"Apache-2.0"
] | KarenQuartic/arcgis-runtime-demos-dotnet | src/ExternalNmeaGPS/ExternalNmeaGPS.Desktop/Controls/SatelliteView.xaml.cs | 2,941 | C# |
using System;
using System.Windows.Forms;
namespace CharacterCreator.Winforms
{
partial class CharacterForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any... | 42.736434 | 130 | 0.56462 | [
"MIT"
] | bbohara20/itse1430 | labs/Lab 2/CharacterCreator.Winforms/CharacterForm.Designer.cs | 22,054 | C# |
using System;
namespace T02.FamilyTrip
{
class Program
{
static void Main(string[] args)
{
double budget = double.Parse(Console.ReadLine());
int nights = int.Parse(Console.ReadLine());
double pricePerNight = double.Parse(Console.ReadLine());
int ... | 28.333333 | 109 | 0.51123 | [
"MIT"
] | akdimitrov/CSharp-Basics | _PB - EXAMS/Exam Prep - PB Online Exam 6-7July2019/T02.FamilyTrip/Program.cs | 937 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Reflection;
namespace Heine.Mvc.ActionFilters.Services
{
public class ObfuscaterService : IObfuscaterService
{
private readonly int expandDepth;
private cons... | 40.070588 | 117 | 0.484439 | [
"MIT"
] | hfurubotten/Heine.Mvc.ActionFilters | Heine.Mvc.ActionFilters/Services/ObfuscaterService.cs | 6,814 | C# |
namespace Jane
{
public interface IDataGenerator
{
string GetRandomString(byte length, bool includeDigit = true, bool includeUppercase = true, bool includeLowercase = true);
string NumberToS36(long number);
string NumberToS64(long number);
long S36ToNumber(string s36);
... | 24 | 130 | 0.675 | [
"Apache-2.0"
] | Caskia/Jane | src/Jane/Environment/IDataGenerator.cs | 362 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System.Net;
using System.Linq;
using TMPro;
public class RankingCanvasController : MonoBehaviour {
public GameObject[] ranks;
private List<PlayerData> playerList;
// Use this for initialization
void Awake ... | 41.421687 | 261 | 0.495055 | [
"MIT"
] | LNWPOR/HamsterRushVR | Assets/Scripts/RankingCanvasController.cs | 3,440 | C# |
using Google.Protobuf;
namespace AElf.Sdk.CSharp.State
{
/// <summary>
/// Wrapper around boolean values for use in smart contract state.
/// </summary>
public class BoolState : SingletonState<bool>
{
}
/// <summary>
/// Wrapper around 32-bit integer values for use in smart contract st... | 25.275862 | 97 | 0.631651 | [
"MIT"
] | AElfProject/AElf | src/AElf.Sdk.CSharp/State/SingletonState_Aliases.cs | 1,466 | C# |
using System.Collections.Generic;
using System.Data.SqlClient;
using System;
namespace BandTracker
{
public class Band
{
private int _id;
private string _name;
public Band(string Name, int Id = 0)
{
_id = Id;
_name = Name;
}
public int GetId()
{
return _id;
}
... | 23.924779 | 204 | 0.581468 | [
"MIT"
] | Sherly789/BandTracker | Objects/Band.cs | 5,407 | C# |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
using EfsTools.Items.Data;
namespace EfsTools.Items.Nv
{
[Serializable]
[NvItemId(7224)]
[Attributes(9)]
public class C1Wcdma2100VgaGainOffsetCar1
{
[ElementsCoun... | 20.363636 | 46 | 0.622768 | [
"MIT"
] | HomerSp/EfsTools | EfsTools/Items/Nv/C1Wcdma2100VgaGainOffsetCar1I.cs | 448 | C# |
using System;
using System.Collections;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace ModernWpf.Controls
{
internal class RepeaterUIElementCollection : UIElementCollection
{
public RepeaterUIElementCollection(UIElement visualParent, FrameworkElement logical... | 32.169492 | 156 | 0.54834 | [
"MIT"
] | AlphaNecron/ModernWpf | ModernWpf.Controls/Repeater/RepeaterUIElementCollection.cs | 7,594 | C# |
//-----------------------------------------------------------------------
// <copyright file="TestSnapshotStoreFailureException.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net... | 44.636364 | 127 | 0.623218 | [
"Apache-2.0"
] | Aaronontheweb/akka.net | src/core/Akka.Persistence.TestKit/SnapshotStore/TestSnapshotStoreFailureException.cs | 984 | C# |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗... | 44.169231 | 162 | 0.675026 | [
"Apache-2.0"
] | SimonCropp/elasticsearch-net | src/Elastic.Clients.Elasticsearch/_Generated/Api/Ilm/IlmStopRequest.g.cs | 3,317 | C# |
using Amazon;
using Amazon.S3;
using Amazon.S3.Model;
using Amazon.Textract;
using Amazon.Textract.Model;
namespace hello_textract
{
public class TextractHelper
{
private string _bucketname { get; set; }
private RegionEndpoint _region { get; set; }
private AmazonTextractClient _textrac... | 39.258706 | 146 | 0.557344 | [
"MIT"
] | davidpallmann/hello-textract | TextractHelper.cs | 7,893 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using DvornikovTask.Math;
namespace DvornikovTask
{
public class DvornikovSystem
{
public uint MobilityW { get; private set; }
public uint CountM { get; private set; }
public uint CountN { get; private set; }
... | 32.677083 | 121 | 0.517055 | [
"MIT"
] | alldevic/NbiEduPractice | DvornikovTask/DvornikovSystem.cs | 3,137 | C# |
//
// IN Copyright (c) %s, Microsoft Corporation
// IN
// IN SPDX-License-Identifier: Apache-2.0 *
// IN
// IN All rights reserved. This program and the accompanying materials are
// IN made available under the terms of the Apache License, Version 2.0
// IN which accompanies this distribution, and is available at
/... | 36.083102 | 151 | 0.550937 | [
"Apache-2.0"
] | alljoyn/dsb | Samples/ZigBeeAdapter/AdapterLib/ZigBeeAdapter.cs | 26,054 | C# |
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using TogglerService.ViewModels;
namespace TogglerService.ViewModelSchemaFilters
{
public class ToggleVMSchemaFilter : ISchemaFilter
{
public void Apply(Schema model, SchemaFilterContext context)
{
... | 25.16 | 68 | 0.591415 | [
"MIT"
] | pherbel/togglersample | src/TogglerService/ViewModelSchemaFilters/ToggleVMSchemaFilter.cs | 629 | C# |
//
// Configuration.cs
//
// Author:
// Matt Ward <matt.ward@microsoft.com>
//
// Copyright (c) 2019 Microsoft
//
// 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... | 35.869565 | 80 | 0.753333 | [
"Apache-2.0",
"MIT"
] | berlamont/monodevelop-nuget-extensions | src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/MonoDevelop.PackageManagement.PowerShell.EnvDTE/Configuration.cs | 1,652 | C# |
namespace Heimdall.Infrastructure.Repository.Interfaces
{
public interface IBaseService<TEntity, TId> : IDisposable where TEntity : class
{
Task<TEntity> InsertAsync(TEntity entity);
Task<TEntity> UpdateAsync(TEntity entity);
Task<TEntity> GetByIdAsync(TId id);
Task DeleteAsync(T... | 35.090909 | 83 | 0.694301 | [
"MIT"
] | marcosmariano/heimdall-template | working/templates/heimdall-clean-arch-template-api/src/Heimdall.Infrastructure/Repository/Interfaces/IBaseService.cs | 386 | C# |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Basil.User.IdentityServer;
using AspectCore.Extensions.DependencyInjection;
using AspectCore.Injector;
using Basil.Util.Log;
namespace B... | 35.462963 | 106 | 0.6047 | [
"MIT"
] | Basil1991/MicroDDD | src/Sample/IdentityServer/Basil.User.Service/Startup.cs | 1,937 | C# |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Unicode;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace ForEvolve.Testing.AspNetCore.Http
{
public class HttpResponseFakeTest
{
[Fact]
... | 21.933333 | 53 | 0.629179 | [
"MIT"
] | ForEvolve/ForEvolve.Testing | test/ForEvolve.Testing.AspNetCore.Tests/Http/HttpResponseFakeTest.cs | 660 | C# |
using System;
using System.Reflection;
namespace EloquentObjects.RPC.Server.Implementation
{
internal struct HostedEvent
{
public HostedEvent(EventInfo eventInfo, Delegate handler)
{
EventInfo = eventInfo;
Handler = handler;
}
public EventInfo EventInfo ... | 22.176471 | 65 | 0.628647 | [
"MIT"
] | ni28/EloquentObjects | src/EloquentObjects/RPC/Server/Implementation/HostedEvent.cs | 377 | C# |
using Dapper;
using SFA.DAS.ApplyService.Application.Email;
using SFA.DAS.ApplyService.Configuration;
using SFA.DAS.ApplyService.Domain.Entities;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace SFA.DAS.ApplyService.Data
{
public class EmailTemplateReposit... | 32 | 107 | 0.623438 | [
"MIT"
] | codescene-org/das-apply-service | src/SFA.DAS.ApplyService.Data/EmailTemplateRepository.cs | 1,282 | C# |
using System.Data;
using System.Data.SqlClient;
using SOLID.DIP.Solucao.Interfaces;
namespace SOLID.DIP.Solucao
{
public class ClienteRepository : IClienteRepository
{
public void AdicionarCliente(Cliente cliente)
{
using (var cn = new SqlConnection())
{
... | 31.5625 | 128 | 0.576238 | [
"MIT"
] | Bpirett/FundamentosArquitetura | Exercicios-SOLID/SOLID/5 - DIP/DIP.Solucao/ClienteRepository.cs | 1,010 | C# |
using System;
using LumiSoft.Net;
namespace LumiSoft.Net.FTP.Server
{
/// <summary>
/// Provides data for the AuthUser event for FTP_Server.
/// </summary>
public class AuthUser_EventArgs
{
private FTP_Session m_pSession = null;
private string m_UserName = "";
private string m_PasswD... | 22.538462 | 112 | 0.609946 | [
"BSD-3-Clause"
] | Klaudit/inbox2_desktop | ThirdParty/Src/Lumisoft.Net/FTP/Server/AuthUser_EventArgs.cs | 2,051 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PicSim {
[Flags]
enum Operation {
ADDWF = 0x0700,
ANDWF = 0x0500,
CLRF = 0x0180,
CLRW = 0x0100,
COMF = 0x0900,
DECF = 0x0300,
DECFSZ = 0x0B00,
... | 20.042553 | 33 | 0.530786 | [
"MIT"
] | StefanStegmueller/PicSim | PicSim/Operation.cs | 944 | C# |
using Autofac;
using Maple.Core.Configuration;
namespace Maple.Core.Infrastructure.DependencyManagement
{
/// <summary>
/// 依赖注册接口
/// </summary>
public interface IDependencyRegistrar
{
/// <summary>
/// 执行类型注册
/// </summary>
/// <param name="builder"... | 26.16 | 93 | 0.561162 | [
"BSD-3-Clause"
] | fengqinhua/Maple | src/Maple.Core/Infrastructure/DependencyManagement/IDependencyRegistrar.cs | 692 | C# |
using BBI.Core.Utility.FixedPoint;
using BBI.Game.Data;
using System.Linq;
namespace Subsystem.Wrappers
{
public class UnitHangarAttributesWrapper : UnitHangarAttributes
{
public UnitHangarAttributesWrapper(UnitHangarAttributes other)
{
HangarBays = other.HangarBays.ToArray();
... | 31.09375 | 78 | 0.680402 | [
"MIT"
] | Majiir/Subsystem | Subsystem/Wrappers/UnitHangarAttributesWrapper.cs | 997 | C# |
using Patchwork;
using System.Collections.Generic;
using UnityEngine;
using Game;
using Game.GameData;
using Game.UI;
using Onyx;
namespace PoE2Mods
{
[ModifiesType("Game.Player")]
class mod_Player : Player
{
[NewMember]
bool ConfigHasBeenInit;
[NewMember]
bool UseMod;
... | 43.431034 | 298 | 0.494045 | [
"MIT"
] | SonicZentropy/PoE2Mods.pw | Mods/PoE2Mods/ShipMechanicsMod/Player.cs | 10,078 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace FunctionsHost
{
[DataContract]
public class Process... | 28.982759 | 123 | 0.613325 | [
"MIT"
] | Bhaskers-Blu-Org2/ReactiveMachine | Hosts/FunctionsHost/Storage/ProcessState.cs | 1,683 | C# |
namespace Algorithms
{
/// <summary>
/// This is a C# port of the bitonicsort algorithm
/// described at https://www.geeksforgeeks.org/bitonic-sort/
/// This is merely a demonstration of BitonicSort and not an optimised
/// implementation that should be used in production environments.
/// </su... | 27.568966 | 82 | 0.45591 | [
"MIT"
] | AjayZinngg/csharp | algorithms/sorting/bitonicsort.cs | 1,601 | 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>
//--... | 35.258065 | 151 | 0.590119 | [
"MIT"
] | AnakinSklavenwalker/SharperCryptoApiAnalysis | tools/SharperCryptoApiAnalysis.Installer.Win/Properties/Settings.Designer.cs | 1,095 | C# |
/*
Copyright (C) 2008-2016 Andrea Maggiulli (a.maggiulli@gmail.com)
This file is part of QLNet Project https://github.com/amaggiulli/qlnet
QLNet is free software: you can redistribute it and/or modify it
under the terms of the QLNet license. You should have received a
copy of the license along with this progr... | 38.74 | 121 | 0.685338 | [
"BSD-3-Clause"
] | SalmonTie/QLNet | src/QLNet/Termstructures/Credit/HazardRateStructure.cs | 3,876 | C# |
namespace UnityEngine.Animations.Rigging
{
/// <summary>
/// This interface is used to represent all constraints classes.
/// </summary>
public interface IRigConstraint
{
/// <summary>
/// Retrieves the constraint valid state.
/// </summary>
/// <returns>Returns true ... | 32.346154 | 118 | 0.565398 | [
"CC0-1.0"
] | ewanreis/fmp-v1 | fmp/Library/PackageCache/com.unity.animation.rigging@1.0.3/Runtime/AnimationRig/IRigConstraint.cs | 1,682 | C# |
using System.Threading.Tasks;
namespace DiscordUWA.Interfaces {
interface INavigable {
Task OnNavigatedToAsync(object parameter);
Task OnNavigatedFromAsync(object parameter);
}
}
| 22.777778 | 52 | 0.726829 | [
"MIT"
] | jarveson/discorduwa | DiscordUWA/Interfaces/INavigable.cs | 207 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Test.Cryptography;
using Xunit;
namespace System.Security.Cryptography.Hashing.Algorithms.Tests
{
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
p... | 33.074074 | 145 | 0.594849 | [
"MIT"
] | Alex-ABPerson/runtime | src/libraries/System.Security.Cryptography.Algorithms/tests/HmacSha1Tests.cs | 4,465 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE_... | 35.269231 | 99 | 0.715376 | [
"Apache-2.0"
] | Abhishek-Sharma-Msft/uno | src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/PivotSlideInAnimationGroup.cs | 917 | C# |
#pragma checksum "E:\OWN\E-Learning\BackEnd\E-Learning\E-Learning.Learning\Views\Shared\_Layout2.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "05cab76d386113316385bc2675c68f8b4773be2e"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribu... | 74.543764 | 483 | 0.681226 | [
"MIT"
] | Nodirbek-Abdulaxadov/e-learning | BackEnd/E-Learning/E-Learning.Learning/obj/Debug/net5.0/Razor/Views/Shared/_Layout2.cshtml.g.cs | 68,138 | C# |
using UnityEngine;
namespace Client.Scripts.UI.Window
{
public abstract class Window : MonoBehaviour
{
public void Open()
{
MainMenu.MainMenu.Instance.CloseAllButtons();
gameObject.SetActive(true);
}
public void Close() => gameObject.SetActive(false);
... | 21.666667 | 59 | 0.612308 | [
"Unlicense"
] | meanxson/Scream-Into-The-Empty | Assets/Client/Scripts/UI/Window/Window.cs | 325 | C# |
// Developed by doiTTeam => devdoiTTeam@gmail.com
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.ServiceModel;
using System.ServiceModel.Channels;
using DHT;
using DHT.MainModule;
namespace ConsoleApplication1.ServiceReference1
{
[GeneratedCode("System.ServiceM... | 38.994595 | 164 | 0.671403 | [
"MIT"
] | dayanruben/DistributedSearchs | Src/ConsoleApplication1/Service References/ServiceReference1/Reference.cs | 14,430 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Console")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: ... | 35.071429 | 82 | 0.742363 | [
"Unlicense"
] | michael-watson/particle-xamarin | samples/InternetButtonEvolve2016/EvolveApp/Console/Properties/AssemblyInfo.cs | 984 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </... | 50.714286 | 193 | 0.617551 | [
"MIT"
] | Flexberry/NewPlatform.Flexberry.ServiceBus | NewPlatform.Flexberry.ServiceBus.BusinessServers/BusinessServers/MessageBS.cs | 4,751 | C# |
namespace P03_FootballBetting.Data.Configurations
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using P03_FootballBetting.Data.Models;
public class CountryConfiguration : IEntityTypeConfiguration<Country>
{
public void Configure(EntityTypeBui... | 27.090909 | 73 | 0.604027 | [
"MIT"
] | HostVanyaD/SoftUni | Entity Framework Core/04.Entity-Relations-Exercises/P03_FootballBetting/Data/Configurations/CountryConfiguration.cs | 598 | C# |
// This file is part of the re-linq project (relinq.codeplex.com)
// Copyright (C) 2005-2009 rubicon informationstechnologie gmbh, www.rubicon.eu
//
// re-linq is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License as published by the
// Free Software F... | 48.419355 | 163 | 0.712636 | [
"MIT"
] | rajcybage/BrightstarDB | src/portable/BrightstarDB.Portable/relinq/RelinqCore/Parsing/Structure/IntermediateModel/ThenByDescendingExpressionNode.cs | 4,503 | C# |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Storage
{
using System.Text;
using Newtonsoft.Json;
public static class SerDeExtensions
{
public static T FromJson<T>(this string json)
{
if (string.IsNullOrWhiteSpace(json))
... | 25.493151 | 95 | 0.476088 | [
"MIT"
] | CIPop/iotedge | edge-util/src/Microsoft.Azure.Devices.Edge.Storage/SerDeExtensions.cs | 1,861 | C# |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class WindowsTargetPlatform : ModuleRules
{
public WindowsTargetPlatform(TargetInfo Target)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"TargetPlatform",
"DesktopPlatfor... | 19.026316 | 60 | 0.710927 | [
"MIT"
] | armroyce/Unreal | UnrealEngine-4.11.2-release/Engine/Source/Developer/Windows/WindowsTargetPlatform/WindowsTargetPlatform.Build.cs | 723 | C# |
namespace PosSystem
{
partial class frmAddOrder
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 51.726027 | 165 | 0.579008 | [
"Apache-2.0"
] | MarleneBoyce/Midterm | PosSystem/PosSystem/frmAddOrder.Designer.cs | 11,330 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace AcoRaf.Models
{
public class ExternalLoginConfirmationViewModel
{
[Required]
[Display(Name = "Email")]
public string Email { get; set; }
}
public class ExternalLoginListViewModel
{
... | 27.477876 | 110 | 0.587762 | [
"MIT"
] | churko/AcoRaf | AcoRaf/Models/AccountViewModels.cs | 3,107 | C# |
namespace AngleSharp.Css.Values
{
/// <summary>
/// Represents a CSS shape.
/// https://developer.mozilla.org/en-US/docs/Web/CSS/shape
/// </summary>
public sealed class Shape
{
#region Fields
readonly Length _top;
readonly Length _right;
readonly Length _bottom... | 22.121622 | 74 | 0.473427 | [
"MIT"
] | ArmyMedalMei/AngleSharp | src/AngleSharp/Css/Values/Shape.cs | 1,639 | C# |
/*******************************************************
* Filename: MEFDependencyResolver.cs
* File description:
*
* Version: 1.0
* Created: 07/01/2015 3:29:37 PM
* Author: JackyLi
*
*****************************************************/
using System;
using System.Collections.Generic;
using System.Component... | 25.458333 | 91 | 0.705401 | [
"Apache-2.0"
] | JackyLi918/HKH | HKHProjects/MEF.Web/Mvc/MEFDependencyResolver.cs | 1,837 | C# |
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
#if !(UNITY_IPHONE || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_BLACKBERRY || UNITY_METRO || UNITY_WP8 || UNITY_WEBGL)
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Movie)]
[Tooltip("Stops playi... | 20.861111 | 127 | 0.707057 | [
"Apache-2.0"
] | Drestat/Zombie-Shooter | ZombieShooter/Assets/PlayMaker/Actions/StopMovieTexture.cs | 751 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Search.Models
{
internal static class VisualFeatureExtensions
{
public static string ToSerialString(this VisualFeature value) => value ... | 47.74359 | 131 | 0.696026 | [
"MIT"
] | manish1604/azure-sdk-for-net | sdk/search/Azure.Search/src/Generated/Models/VisualFeature.Serialization.cs | 1,862 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleCrm
{
public enum InteractionMethod
{
None = 0,
Email = 1,
Phone = 2
}
}
| 15.1875 | 33 | 0.646091 | [
"MIT"
] | MadHattressWatson/aspnet-core-fundamentals-v3 | SimpleCrm/SimpleCrm/InteractionMethod.cs | 245 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace SLW.Media.Wave.Wave.Native
{
/// <summary>
/// This class holds MMSYSERR errors.
/// </summary>
internal class MMSYSERR
{
/// <summary>
/// Success.
/// </summary>
public const int NOERROR =... | 28.882353 | 77 | 0.496266 | [
"BSD-2-Clause"
] | 7956968/gb28181-sip | GB28181.Client/Player/Media/Wave/native/MMSYSERR.cs | 2,946 | C# |
using NUnit.Framework;
namespace Mirage.SocketLayer.Tests
{
[Category("SocketLayer")]
public class ByteUtilsTest
{
[Test]
public void WriteReadByteTest()
{
byte[] buffer = new byte[10];
int offset = 3;
byte value = 100;
ByteUtils.Writ... | 41.084034 | 140 | 0.580487 | [
"MIT"
] | SoftwareGuy/Mirage | Assets/Tests/SocketLayer/ByteUtilsTest.cs | 4,889 | C# |
/*
MIT License
Copyright(c) 2020 Kyle Givler
https://github.com/JoyfulReaper
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, ... | 31.352941 | 136 | 0.652908 | [
"MIT"
] | JoyfulReaper/ProgrammersIdeaBook | ProgrammersIdeaBook/AlarmClock/Forms/frmAlarmFired.cs | 2,667 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _02._Change_List
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console.ReadLine().Split
(' ', StringSplitOptions.RemoveEmptyEntries).Select(int.Parse).ToList();
... | 28.888889 | 88 | 0.459615 | [
"MIT"
] | rythm-net/SoftUni | Fundamentals with C#/T12 - List/exercise/02. Change List/Program.cs | 1,042 | C# |
namespace Identity.API.Configuration
{
public class AppSetting
{
public Jwt Jwt { get; set; }
}
public class Jwt
{
public string Key { get; set; }
public string Issuer { get; set; }
public string Audience { get; set; }
public string TokenUserName { get; se... | 23.105263 | 55 | 0.583144 | [
"MIT"
] | nirajramshrestha/AspnetMicroservices | src/Services/Identity/Identity.API/Configuration/AppSetting.cs | 441 | C# |
using MongoDB.Driver;
namespace LinFx.Extensions.MongoDB
{
public interface IMongoDbContext
{
IMongoDatabase Database { get; }
IMongoCollection<T> Collection<T>();
}
}
| 16.583333 | 44 | 0.663317 | [
"MIT"
] | ailuozhu/LinFx | src/LinFx/Extensions/MongoDB/IMongoDbContext.cs | 201 | C# |
// ***********************************************************************
// Assembly : ACBr.Net.NFSe
// Author : Rafael Dias
// Created : 12-26-2017
//
// Last Modified By : Rafael Dias
// Last Modified On : 12-26-2017
// *********************************************************************... | 43.634146 | 83 | 0.613751 | [
"MIT"
] | ACBrNet/ACBr.Net.NFSe | src/ACBr.Net.NFSe/LayoutImpressao.cs | 1,789 | C# |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗... | 29.355556 | 76 | 0.514762 | [
"Apache-2.0"
] | SimonCropp/elasticsearch-net | src/Elastic.Clients.Elasticsearch/_Generated/Types/FlushStats.g.cs | 1,767 | C# |
// Copyright 2013 Jon Skeet. All rights reserved. Use of this source code is governed by the Apache License 2.0, as found in the LICENSE.txt file.
using System;
namespace WhatTheHeck
{
class Program
{
static void Main(string[] args)
{
var limit = 10;
limit = "five";
... | 25.85 | 147 | 0.520309 | [
"Apache-2.0"
] | 23dproject/DemoCode | Abusing CSharp/Code/WhatTheHeck/Program.cs | 519 | C# |
namespace LetsPlayAGame.Data.Models.Enums
{
public enum QuestStatus
{
Active,
Finalized,
Failed,
Inactive
}
}
| 14.090909 | 42 | 0.56129 | [
"MIT"
] | Snooking/Let-s-play-a-game | Server/LetsPlayAGame/LetsPlayAGame.Data/Models/Enums/QuestStatus.cs | 157 | C# |
namespace Problem_2.Customer
{
public class Payment
{
public Payment(string productName, decimal price)
{
ProductName = productName;
Price = price;
}
public string ProductName { get; set; }
public decimal Price { get; set; }
}
}
| 20.466667 | 57 | 0.557003 | [
"MIT"
] | Supbads/Softuni-Education | 02. CSharp OOP 11.15/8. OOP-Common-Type-System-Homework/Problem 2. Customer/Payment.cs | 309 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 19.10.2021.
using Microsoft.EntityFrameworkCore.Migrations.Operations;
using NUnit.Framework;
using xEFCore=Lcpi.E... | 26.239401 | 122 | 0.651492 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Migrations/Generations/SET001/DataTypes/Clr/Guid/TestSet_ERR001__bad_TypeName.cs | 31,568 | C# |
using System.Web.Http;
using Owin;
using RestApi;
using RestApi.Interfaces;
using Unity;
namespace RestApiTest
{
/// <summary>
/// Used to configure the testing OWIN server
/// </summary>
public class Startup
{
/// <summary>
/// Configures the host
/// </summary>
public void Configuration(IAppBuilder app... | 18.3 | 57 | 0.708561 | [
"Unlicense"
] | abhijitharmandevtest/patientapi | RestApiTest/Startup.cs | 551 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using FluentAssertions;
using MediatR;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Data;
using SFA.DAS.EmployerAccounts.Dtos;
using SFA.DAS.EmployerAccounts.Mappings;
using SFA.DAS.EmployerAccounts.Mode... | 36.338462 | 130 | 0.685436 | [
"MIT"
] | SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.UnitTests/Queries/GetHealthCheckQueryHandlerTests.cs | 2,364 | C# |
namespace SIS.MvcFramework.Routing
{
using System;
using SIS.HTTP.Enums;
using SIS.HTTP.Requests;
using SIS.HTTP.Responses;
public interface IServerRoutingTable
{
void Add(HttpRequestMethod method, string path, Func<IHttpRequest, IHttpResponse> func);
bool Contains(HttpRequest... | 26.529412 | 96 | 0.718404 | [
"MIT"
] | ivan-nikolov/SIS | SIS.MvcFramework/Routing/IServerRoutingTable.cs | 453 | C# |
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Crm.Tools.SolutionPackager;
using Microsoft.PowerPlatform.Tooling.BatchedTelemetry;
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Diagnostics;
using System.IO;
using Daniel... | 44.86 | 131 | 0.636424 | [
"MIT"
] | reager/DanielsToolbox | src/DanielsToolbox/Models/CommandLine/Dataverse/SolutionPackagerCommandLine.cs | 4,488 | C# |
using LoggerLibrary.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsLibrary
{
public class WindowsLibraryFactory : IWindowsLibraryFactory
{
public FileSystemHelper GetFilesystemHelper(ISimpleLogger logFile... | 52.375 | 120 | 0.782021 | [
"MIT"
] | CodeFontana/WindowsHelpers-Net-Core | WindowsHelpers/WindowsLibraryFactory.cs | 1,259 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.AccessCon... | 45.149144 | 155 | 0.569696 | [
"MIT"
] | xadupre/machinelearning | src/Microsoft.ML.TensorFlow/TensorFlow/TensorflowUtils.cs | 18,470 | C# |
using System.Collections.Generic;
namespace InstaSharper.Classes.Models
{
public class InstaHashtagSearch : List<InstaHashtag>
{
public bool MoreAvailable { get; set; }
public string RankToken { get; set; }
}
} | 21.909091 | 56 | 0.680498 | [
"MIT"
] | a-legotin/InstaSharper | InstaSharper/Classes/Models/InstaHashtagSearch.cs | 243 | 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 ... | 26.55814 | 63 | 0.71979 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-cdn/Cdn/Model/V20180510/CreateRealTimeLogDeliveryResponse.cs | 1,142 | C# |
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
namespace Betfair.Betting
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum Side
{
[DataMember(Name = "BACK", EmitDefaultValue = false)]
Back,
[DataMember(Name = "LAY", EmitDefaultValue = false)... | 22.8 | 61 | 0.660819 | [
"MIT"
] | KelvinVail/Betfair | src/Betfair.Betting/Side.cs | 344 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DiagramInteraccionColumnas
{
static class Program
{
/// <summary>
/// Punto de entrada principal para la aplicación.
/// </summary>
[STAThread]... | 23.043478 | 65 | 0.626415 | [
"MIT"
] | JairFrancesco/Diagrama-Interaccion-columnas | DiagramInteraccionColumnas/Program.cs | 533 | C# |
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using MyFirstABPProject.Authorization;
using MyFirstABPProject.Authorization.Roles;
using MyFirstABPProject.Authorization.Users;
using MyFirstABPProject.Editions;
using MyFirstABPProject.MultiTenancy;
namespace MyFirstABPProject.Iden... | 37.69697 | 79 | 0.678457 | [
"Apache-2.0"
] | HvaiY/MyCoreStudy | MyFirstABPProject/3.9.0/aspnet-core/src/MyFirstABPProject.Core/Identity/IdentityRegistrar.cs | 1,246 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V4200</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... | 42.335968 | 1,358 | 0.580711 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V4200/Generated/UKCT_MT144037UK01SupportingInfo.cs | 10,711 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class RegisterCommand : Command
{
private IHarvesterController harvesterController;
private IProviderController providerController;
public RegisterCommand(IList<string> args, IHarves... | 28.657143 | 141 | 0.687936 | [
"MIT"
] | alexdimitrov2000/MinedraftExam-OOPAdvanced | Structure_Skeleton/Core/Commands/RegisterCommand.cs | 1,005 | C# |
using System;
namespace Sys.Workflow.Engine.Impl.Cmd
{
using Sys.Workflow.Engine.Impl.Interceptor;
[Serializable]
public class GetTableNameCmd : ICommand<string>
{
private const long serialVersionUID = 1L;
private Type entityClass;
public GetTableNameCmd(Type entityClass)
... | 22.46875 | 83 | 0.616134 | [
"Apache-2.0"
] | 18502079446/cusss | NActiviti/Sys.Bpm.Engine/Engine/impl/cmd/GetTableNameCmd.cs | 721 | C# |
using PPDFrameworkCore;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Xml;
namespace PPDFramework.Web
{
/// <summary>
/// PPDWebへのマネージャークラスです。
/// </summary>
public cla... | 38.274134 | 165 | 0.402047 | [
"Apache-2.0"
] | KHCmaster/PPD | Win/PPDFramework/Web/WebManager.cs | 63,853 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ProjetoSimplesMVC.Migrations
{
public partial class AddBookToDb : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Book",
column... | 31.71875 | 71 | 0.506404 | [
"MIT"
] | luiscarlosjunior/courses-content-dotnet | .Net core/Sample ASP.NET Core/ProjetoSimplesMVC/Migrations/20200709011005_AddBookToDb.cs | 1,017 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using Xamarin.Forms;
namespace Xamarin.AttributeValidation.Models
{
internal class ValidationModel
{
internal View UiElement { get; set; }
internal PropertyInfo ViewModelProperty { get; set; }
i... | 23.75 | 61 | 0.715789 | [
"Apache-2.0"
] | kevin-mueller/Xamarin.AttributeValidation | Xamarin.Validation/Models/ValidationModel.cs | 382 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.