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 |
|---|---|---|---|---|---|---|---|---|
/*
* 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... | 51.157595 | 165 | 0.64813 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/test/Services/WorkSpaces/UnitTests/Generated/Marshalling/WorkSpacesMarshallingTests.cs | 62,975 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Entidades;
namespace Testeos
{
[TestClass]
public class Test_TP4
{
[TestMethod]
public void ContarPalabras_CuandoRecibeDosPalabras_DeberiaRetornarNumeroDos()
{
//Arrange
string texto = "... | 24.875 | 93 | 0.567839 | [
"MIT"
] | tomasfriz/TPs-DE-LABORATORIO-2 | TP 4/Proyecto/Testeos/Test_TP4.cs | 1,196 | C# |
using BorderControl.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace BorderControl
{
public class Citizen : IIdentifiable, IBirthtable, IAgeable, INameable, IBuyer
{
public Citizen(string name, string age, string id, string birthdate)
{
this.... | 22.885714 | 82 | 0.570537 | [
"MIT"
] | BorislavVladimirov/C-Software-University | C# OOP June 2019/InterfacesAndAbstractionEx/BorderControl/Models/Citizen.cs | 803 | C# |
using QAToolKit.Core.Helpers;
using QAToolKit.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QAToolKit.Core.HttpRequestTools
{
/// <summary>
/// Http Url generator
/// </summary>
public class HttpRequestUrlGenerator
{
private re... | 32.847458 | 137 | 0.463536 | [
"MIT"
] | qatoolkit/qatoolkit-core-net | src/QAToolKit.Core/HttpRequestTools/HttpRequestUrlGenerator.cs | 5,816 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CursorManager : MonoBehaviour
{
public Texture2D idleCursor, activeCursor;
public CursorMode cursorMode = CursorMode.Auto;
public Vector2 hotSpot = Vector2.zero;
private void Start()
{
Cursor.SetCur... | 24.222222 | 64 | 0.646789 | [
"MIT"
] | samsheffield/2D_Level_And_Narrative_Design | Week 3/Assets/Scripts/CursorManager.cs | 654 | C# |
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Exelor.Dto;
using Exelor.Infrastructure.Data;
using FluentValidation;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace Exelor.Features.Users
{
public class UpdateUser
{
public class Command : IRequest<UserDetai... | 29.077922 | 76 | 0.497544 | [
"MIT"
] | simplyvinay/exelorlib | Sample.Api/Features/Users/UpdateUser.cs | 2,241 | C# |
using Coldairarrow.Util;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Data.Common;
using System.Linq;
usi... | 30.23875 | 139 | 0.50308 | [
"MIT"
] | celonyang/Colder.Fx.Core.AdminLTE | src/Coldairarrow.DataRepository/Repository/DbRepository.cs | 25,657 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ExpressionParser")]
[assembly: AssemblyDescription("A C# expression parser for a single line string input.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Andre Vianna")]
[assembly: AssemblyProduct("Ex... | 39.066667 | 90 | 0.754266 | [
"MIT"
] | AndreVianna/ExpressionParser | ExpressionParser/Properties/AssemblyInfo.cs | 589 | C# |
namespace Core.MessageSpace
{
/// <summary>
/// Definition
/// </summary>
public interface IBaseMessage
{
}
/// <summary>
/// Implementation
/// </summary>
/// <typeparam name="T"></typeparam>
public class BaseMessage : IBaseMessage
{
}
}
| 15.722222 | 42 | 0.568905 | [
"MIT"
] | Indemos/Blazor-Trader | Core/Messages/BaseMessage.cs | 283 | C# |
using System.Collections.Generic;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents the configuration editor for the datetime value editor.
/// </summary>
public class DateTimeConfigurationEditor : ConfigurationEditor<DateTimeConfiguration>
{
... | 28.789474 | 89 | 0.669104 | [
"MIT"
] | bharanijayasuri/umbraco8 | src/Umbraco.Web/PropertyEditors/DateTimeConfigurationEditor.cs | 549 | C# |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.CommandLine;
using LocalizableStrings = Microsoft.DotNet.Workloads.Workload.List.LocalizableStrings;
namespace Microsoft.DotNet.Cli... | 35.1875 | 101 | 0.691829 | [
"MIT"
] | belav/sdk | src/Cli/dotnet/commands/dotnet-workload/list/WorkloadListCommandParser.cs | 1,126 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Управление общими сведениями о сборке осуществляется с помощью
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой... | 43.482143 | 117 | 0.723614 | [
"MIT"
] | HorevIvan/Icons8_UI_Solution | Icons8.UI.Tests/Properties/AssemblyInfo.cs | 3,425 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.ProjectMan.V4.Model
{
/// <summary>
/// Response Object
/// </summary>
... | 29.340659 | 81 | 0.507116 | [
"Apache-2.0"
] | huaweicloud/huaweicloud-sdk-net | Services/ProjectMan/V4/Model/ListIterationHistoriesResponse.cs | 2,682 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OAuthApplication.Models
{
// Models returned by MeController actions.
public class GetViewModel
{
public string Hometown { get; set; }
}
} | 22.25 | 47 | 0.730337 | [
"MIT"
] | kranthi467/KranthiPOCs | .NET/OAuthApplication/OAuthApplication/Models/MeViewModels.cs | 269 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Alternate Number Entry.
/// </summary>
[Serializable]
[XmlRoot(Namesp... | 27.191919 | 129 | 0.563522 | [
"MIT"
] | JTOne123/broadworks-connector-net | BroadworksConnector/Ocip/Models/AlternateNumberEntry21.cs | 2,692 | C# |
using System;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// ModelColumn Data Structure.
/// </summary>
[Serializable]
public class ModelColumn : AlipayObject
{
/// <summary>
/// 列别名
/// </s... | 21.5 | 52 | 0.54485 | [
"MIT"
] | AkonCoder/Payment | src/Essensoft.AspNetCore.Payment.Alipay/Domain/ModelColumn.cs | 612 | C# |
// <auto-generated />
using Lab12_HotelDataBase.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Lab12_Hote... | 35.962406 | 125 | 0.366193 | [
"MIT"
] | cnickels21/Lab11-HotelDataBase | Lab12-HotelDataBase/Migrations/20200522015020_SlightRefactoring.Designer.cs | 9,568 | 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("02... | 37.810811 | 84 | 0.742673 | [
"MIT"
] | Camyul/Modul_2_CSharp | DSA/14. Dynamic-Programming/02. Tribonaci/Properties/AssemblyInfo.cs | 1,402 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SineWaveMovement : MonoBehaviour {
Vector3 pos;
// Use this for initialization
void Start () {
pos = transform.position;
}
// Update is called once per frame
void Update () {
transform.position = new Vector3 (pos.... | 20.888889 | 90 | 0.702128 | [
"MIT"
] | milank-s/Prototypes | Assets/Scripts/SineWaveMovement.cs | 378 | C# |
using System.Net.Http;
using System.Threading.Tasks;
using System.Text.Json;
using System.Text;
namespace Conesoft.DNSimple
{
static class JsonHelperMethods
{
public static async Task<T> GetJsonAsync<T>(this HttpClient client, string requestUri)
{
var stream = await client.GetStrea... | 36.044444 | 123 | 0.657213 | [
"MIT"
] | conesoft/dnsimple | src/Conesoft.DNSimple/JsonHelperMethods.cs | 1,624 | C# |
using UnityEngine;
using System.Collections;
// Handles the placement of houses on the luthadel map to generate the city.
public class Environment_LuthadelMapGenerator : Environment {
[SerializeField]
private Texture2D map = null;
// The sizes are in terms of pixels of the map texture, not meters.
... | 44.810056 | 165 | 0.427004 | [
"Apache-2.0",
"MIT"
] | austin-j-taylor/Invested | Assets/Editor/Environment_LuthadelMapGenerator.cs | 8,023 | C# |
using MYOB.AccountRight.SDK.Communication;
using MYOB.AccountRight.SDK.Contracts.Version2.Sale;
namespace MYOB.AccountRight.SDK.Services.Sale
{
/// <summary>
/// A service that provides access to the <see cref="ItemQuote"/> resource
/// </summary>
public sealed class ItemQuoteService : PdfServiceBase<... | 47.7 | 202 | 0.673655 | [
"MIT"
] | AnshumanSaurabhMYOB/AccountRight_Live_API_.Net_SDK | MYOB.API.SDK/SDK/Services/Version2/Sale/ItemQuoteService.cs | 1,433 | C# |
using System;
namespace OnLineShop.MVP.Categories.Admin
{
public class CategoryAdminEventArgs : EventArgs
{
public CategoryAdminEventArgs(int id, string name)
{
this.Id = id;
this.Name = name;
}
public int Id { get; set; }
public string Name {... | 17.947368 | 58 | 0.56305 | [
"MIT"
] | dushka-dragoeva/OnLineShop | OnLineShop/OnLineShop.MVP/Categories/Admin/CategoryAdminEventArgs.cs | 343 | C# |
using System;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
using Latitude55.Api.Models;
namespace Latitude55.Api
{
public interface IAttributesController
{
Task<IActionResult> Get();
}
} | 16.375 | 42 | 0.740458 | [
"Apache-2.0"
] | GeorgeTsaplin/hakaton74_portal | backend/PortalApi/IAttributesController.cs | 264 | C# |
using Abp.Application.Services.Dto;
using Abp.Collections.Extensions;
using Abp.Domain.Repositories;
using Abp.Extensions;
using System;
using System.Web;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Linq.Dynamic.Core;
using Microsoft.EntityFrameworkCore;
using Abp.Li... | 52.709837 | 380 | 0.488264 | [
"Apache-2.0"
] | realvino/Core-2.0 | src/tibs.stem.Application/Quotationss/QuotationAppService.cs | 191,286 | 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... | 43.648649 | 177 | 0.589164 | [
"Unlicense"
] | moshfiqrony/CookingManagementMRTeam | GooddFoodd/GooddFoodd/Properties/Resources.Designer.cs | 3,232 | C# |
using ShopCart.API.Entities;
using System.Threading.Tasks;
namespace ShopCart.API.Repositories.Interfaces
{
public interface IShopCartRepository
{
Task<ShoppingCart> GetShopCart(string userName);
Task<ShoppingCart> UpdateShopCart(ShoppingCart shopCart);
Task<bool> DeleteShopCart(string... | 28.25 | 65 | 0.743363 | [
"MIT"
] | thiagocruzrj/E-Commerce-Microservices | MSStore/src/ShopCart.API/Repositories/Interfaces/IShopCartRepository.cs | 341 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Data.SqlClient;
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using WebDataDemo.Dtos;
namespace WebDataDemo.Option_01_ADONET_SQL
{
[Route("api/v01/[controller]")]
[ApiController]
[ApiExplorerSettings(GroupName = "1. Authors - AD... | 32.910569 | 100 | 0.517292 | [
"MIT"
] | radekwojpl2/DotNetDataAccessTour | WebDataDemo/Option_01_ADONET_SQL/AuthorsController.cs | 4,050 | C# |
using System.Collections.Generic;
using DigitalRune.Windows.TextEditor.Document;
namespace DigitalRune.Windows.TextEditor.Highlighting
{
/// <summary>
/// A highlighting strategy for a buffer.
/// </summary>
public interface IHighlightingStrategy
{
/// <summary>
/// Gets the name of the highlightin... | 29.086957 | 89 | 0.626308 | [
"MIT"
] | sparql-studio/sparql-studio | Code/Src/Libs/DigitalRune-TextEditor-1.3.1/DigitalRune.Windows.TextEditor/Document/Highlighting/IHighlightingStrategy.cs | 2,678 | C# |
// <copyright file="BytePadder.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------------------------------------------------------------------------
namespace BluetoothLEExplorer.Services.Other
{
/// <summary>
... | 30.351351 | 97 | 0.45236 | [
"MIT"
] | Bhaskers-Blu-Org2/BluetoothLEExplorer | BluetoothLEExplorer/BluetoothLEExplorer/Services/Other/BytePadder.cs | 1,125 | C# |
using Clean.Architecture.Infrastructure.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace Clean.Architecture.Infrastructure;
public static class StartupSetup
{
public static void AddDbContext(this IServiceCollection services, string connectionString)
{
servi... | 28.4375 | 92 | 0.802198 | [
"MIT"
] | skinnystick22/CleanArchitecture | src/Clean.Architecture.Infrastructure/StartupSetup.cs | 457 | C# |
using System.Collections.Generic;
namespace Calliope
{
// https://enterprisecraftsmanship.com/posts/new-online-course-ddd-and-ef-core/
// implementation based upon Vladimir Khorikov's solution
public abstract class AggregateRoot : Entity
{
private readonly List<DomainEvent> _domainEvents = new ... | 39.2 | 99 | 0.738095 | [
"MIT"
] | JTOne123/Calliope | src/Calliope/AggregateRoot.cs | 588 | C# |
using System;
using Newtonsoft.Json;
namespace PayrollProcessor.Data.Persistence.Infrastructure.Records;
/// <summary>
/// https://github.com/Azure/azure-cosmos-dotnet-v3/issues/165#issuecomment-489112642
/// </summary>
public abstract class CosmosDBRecord
{
/// <summary>
/// The unique identifier of the reco... | 29.307692 | 85 | 0.63867 | [
"MIT"
] | KurnakovMaksim/payroll-processor | api/PayrollProcessor.Data.Persistence/Infrastructure/Records/CosmosDbRecord.cs | 1,143 | C# |
using System.Threading.Tasks;
using CSharpWars.ScriptProcessor.Helpers;
namespace CSharpWars.ScriptProcessor.Middleware.Interfaces
{
public interface IPostprocessor
{
Task Go(ProcessingContext context);
}
} | 22.8 | 58 | 0.767544 | [
"Unlicense"
] | Djohnnie/CSharpWars-DotNetDeveloperDays-2019 | src/backend/CSharpWars/CSharpWars.ScriptProcessor/Middleware/Interfaces/IPostprocessor.cs | 230 | C# |
using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Android;
using Android.App;
using Android.Content;
using Android.Media;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using eliteKit.AndroidCore.eliteVideo;
using eliteKit.Android... | 33.613682 | 133 | 0.546151 | [
"MIT"
] | arqueror/eliteK | src/Forms/eliteKit.AndroidCore/Renderers/VideoPlayerRenderer.cs | 16,708 | C# |
// ----------------------------------------------------------------------------
// The MIT License
// LeopotamGroupLibrary https://github.com/Leopotam/LeopotamGroupLibraryUnity
// Copyright (c) 2012-2017 Leopotam <leopotam@gmail.com>
// ----------------------------------------------------------------------------
using... | 40.303571 | 108 | 0.584847 | [
"MIT"
] | caxapexac/Jams | !Source!/Ludum Dare/ScreenCrifice/Assets/Libs/LeopotamGroupLibraryUnity-develop/SystemUi/Markup/Generators/Toggle.cs | 4,514 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using AGS.Engine;
namespace AGS.Editor
{
public static class ReflectionCache
{
private static Dictionary<Type, List<Type>> _implementors;
public static List<Type> AllTypes { get; private set; }
public static List<Type... | 29.36 | 120 | 0.648501 | [
"Artistic-2.0"
] | tzachshabtay/MonoAGS | Source/Editor/AGS.Editor/ReflectionCache.cs | 736 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#region Using Statements
// We will need several different libraries in this sample.
// Here, we expose these libraries to our program using the
// C# "using" statement, similar to the Q# "open" statement.
// We will use ... | 47.384211 | 136 | 0.60802 | [
"MIT"
] | AzureMentor/Quantum | samples/chemistry/MolecularHydrogen/Program.cs | 9,019 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | 57.72973 | 705 | 0.758895 | [
"Apache-2.0"
] | prestoncooper/RansomwareDetectionService | RansomwareDetectionSystemTray/Properties/AssemblyInfo.cs | 2,139 | C# |
using TMPro;
using UnityEngine;
public class UIObjects : MonoBehaviour {
public static UIObjects Instance { get; private set; }
private void Awake() {
//Singleton code
if (Instance != null && Instance != this) Debug.LogError("Trying to instantiate a second singleton", gameObject);
els... | 26.514286 | 121 | 0.616379 | [
"CC0-1.0"
] | Fogsight/Quickstart2DWithExtendedFlexibleUI | Assets/!ProjectName/Scripts/Mono/Singleton/UIObjects.cs | 930 | C# |
using API.Attributes;
using API.Models;
using API.Services;
using API.Utils;
using Microsoft.AspNetCore.Mvc;
using System.Net;
using System.Security.Claims;
namespace API.Controllers
{
[Route("api/user")]
[ApiController]
public class UserController : ControllerBase
{
private readonly IUserServ... | 29.315068 | 92 | 0.595327 | [
"MIT"
] | dsvictorh/jwt-sample | API/Controllers/UserController.cs | 2,142 | C# |
using System;
using System.Net;
using System.Windows.Forms;
namespace Mtf.Network.Host
{
public class ComputerNameProvider
{
public string GetMachineName()
{
return Environment.MachineName;
}
public string GetComputerName()
{
return SystemInform... | 20.793103 | 70 | 0.593698 | [
"MIT"
] | Mortens4444/MortensTechnologyFramework | Mtf.Network/Host/ComputerNameProvider.cs | 605 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Microsoft.Azure.WebJobs.Extensions.WebPubSub
{
/// <summary>
/// Operation to add a user to group.
/// </summary>
[JsonObject(NamingStr... | 25.653846 | 70 | 0.622189 | [
"MIT"
] | daniellezhang/azure-sdk-for-net | sdk/webpubsub/Microsoft.Azure.WebJobs.Extensions.WebPubSub/src/Bindings/Output/AddUserToGroup.cs | 669 | 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 ... | 25.850877 | 75 | 0.486597 | [
"MIT"
] | SkyGrass/hippos_api_vm | Ams.Utils/Document/Excel/NPOI/Util/CloseIgnoringInputStream.cs | 2,949 | 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/ShObjIdl_core.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.R... | 38.552632 | 151 | 0.693857 | [
"MIT"
] | reflectronic/terrafx.interop.windows | sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateFolder.cs | 2,932 | C# |
using System;
namespace YggdrAshill.Nuadha
{
/// <summary>
/// Threshold to convert <see cref="Signals.Tilt"/> into <see cref="Transformation.Pulse"/>.
/// </summary>
public sealed class TiltThreshold
{
/// <summary>
/// <see cref="HysteresisThreshold"/> for <see cref="Signals.Tilt.... | 33.837209 | 96 | 0.52394 | [
"MIT"
] | do-i-know-it/YggdrAshill.Nuadha | YggdrAshill.Nuadha/Units/Signals/TiltThreshold.cs | 4,365 | 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... | 36.764706 | 161 | 0.68608 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/ConfigService/Generated/Model/Internal/MarshallTransformations/NoSuchRemediationExceptionExceptionUnmarshaller.cs | 3,125 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
using System.Data.OleDb;
using Accounting.Core;
using Accounting.Core.Sales;
using Accounting.Db;
using Accounting.Db.Elements;
namespace Accounting.Db.Im
{
public sealed class DbCreditRefundManager : CreditRefundManager
... | 38.694737 | 147 | 0.637922 | [
"MIT"
] | cschen1205/myob-accounting-plugin | Accounting.Db.Im/DbCreditRefundManager.cs | 3,676 | 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 ... | 42.446429 | 96 | 0.718973 | [
"MIT"
] | JTOne123/matisco | Example.BusinessApp.ItAdmin/Properties/AssemblyInfo.cs | 2,380 | C# |
// <auto-generated />
using System;
using Issue12PostgreSql.DataLayer;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metada... | 34.266332 | 103 | 0.478663 | [
"Apache-2.0"
] | dante2130/EFCoreSecondLevelCacheInterceptor | src/Tests/Issues/Issue12PostgreSql/Migrations/20220106090629_V2022_01_06_1235.Designer.cs | 6,821 | 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 "li... | 32.861446 | 110 | 0.571769 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/Personalize/Generated/Model/FeatureTransformation.cs | 5,455 | C# |
using System;
using UltimaOnline;
using UltimaOnline.Gumps;
using UltimaOnline.Network;
namespace UltimaOnline.Items
{
public class CustomHueGroup
{
private int m_Name;
private string m_NameString;
private int[] m_Hues;
public int Name{ get{ return m_Name; } }
public string NameString{ get{ ... | 30.459821 | 137 | 0.612634 | [
"MIT"
] | netcode-gamer/game.ultimaonline.io | UltimaOnline.Data/Items/Skill Items/Tailor Items/Dyetubs/CustomHuePicker.cs | 6,823 | 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("Pha... | 37.555556 | 84 | 0.751479 | [
"MIT"
] | cdcnguyensinh/phanmemxuong | PhanMemXuong/Properties/AssemblyInfo.cs | 1,355 | C# |
using System;
using System.Net;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Rug.Osc.Tests
{
/// <summary>
///This is a test class for OscSenderTest and is intended
///to contain all OscSenderTest Unit Tests
///</summary>
[TestClass()]
public class OscSenderTest
{
private ... | 21.12766 | 78 | 0.644512 | [
"MIT"
] | barjonas/StarDust.RugOsc.netstandard | src/Rug.Osc.Tests/Rug.Osc.Tests/OscSenderTest.cs | 1,988 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace CSharpMath.Interfaces {
public interface IStringValue {
///<summary>Not the LaTeX form.</summary>
string StringValue { get; }
}
}
| 21 | 46 | 0.692641 | [
"MIT"
] | hflexgrig/CSharpMath | CSharpMath/Interfaces/IStringValue.cs | 233 | C# |
namespace AnnoSavegameViewer.Structures.Savegame.Generated {
using AnnoSavegameViewer.Serialization.Core;
public class TreeMap {
[BinaryContent(Name = "x", NodeType = BinaryContentTypes.Attribute)]
public object X { get; set; }
[BinaryContent(Name = "y", NodeType = BinaryContentTypes.Attribute)]
... | 29.375 | 75 | 0.710638 | [
"MIT"
] | Veraatversus/AnnoSavegameViewer | src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/Content/TreeMap.cs | 470 | C# |
using System;
namespace healthbook
{
public enum AppMode
{
Patient,
Doctor
}
}
| 7.416667 | 20 | 0.674157 | [
"MIT"
] | atabaksahraei/ifn661 | healthbook/healthbook/Model/BL/Entity/AppMode.cs | 91 | C# |
using System;
using System.Text;
namespace Village
{
public class Peasant : Person
{
private const int maxAge = 110;
private int productivity;
public Peasant(string name, int age, int productivity)
: base(name, age)
{
this.Productivity = productivity;
... | 23.618182 | 94 | 0.468052 | [
"MIT"
] | Iceto04/SoftUni | C# OOP/14. Exam Preparations/OOPExam-24.10.2021/Village/Peasant.cs | 1,301 | C# |
using System.Collections.Generic;
using SqExpress.QueryBuilders.Merge;
using SqExpress.QueryBuilders.Merge.Internal;
using SqExpress.QueryBuilders.RecordSetter;
using SqExpress.QueryBuilders.RecordSetter.Internal;
using SqExpress.Syntax.Boolean;
using SqExpress.Syntax.Names;
using SqExpress.Syntax.Select;
using SqExpr... | 37.310078 | 125 | 0.605236 | [
"MIT"
] | 0x1000000/SqExpress | SqExpress/QueryBuilders/Update/Internal/UpdateDataBuilder.cs | 4,815 | C# |
namespace dueltank.core.Models.Db
{
public class AspNetUserTokens
{
public string UserId { get; set; }
public string LoginProvider { get; set; }
public string Name { get; set; }
public string Value { get; set; }
public AspNetUsers User { get; set; }
}
} | 25.583333 | 49 | 0.596091 | [
"MIT"
] | fablecode/dueltank | src/Api/src/dueltank.core/Models/Db/AspNetUserTokens.cs | 309 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 59.467033 | 298 | 0.672595 | [
"MIT"
] | git-thomasdolan/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteSiteextensionCollection.cs | 21,646 | C# |
using GameArchiveSync.App.Helpers;
using System;
using System.Windows.Forms;
namespace GameArchiveSync.App
{
internal static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
private static void Main()
{
Application.EnableVisual... | 31.28125 | 115 | 0.656344 | [
"MIT"
] | hstarorg/GameArchiveSync | GameArchiveSync.App/Program.cs | 1,023 | C# |
namespace ArtTrail.DomainEntities.ModelMapping
{
using System.Data.Entity.ModelConfiguration;
public class VenueConfiguration : EntityTypeConfiguration<Venue>
{
#region Constructors and Destructors
public VenueConfiguration()
{
this.Property(x => x.VenueName).HasMaxLen... | 30.04 | 81 | 0.535286 | [
"Apache-2.0"
] | zebslc/ArtTrail | ArtTrail.DomainEntities/ModelMapping/VenueConfiguration.cs | 753 | C# |
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Urbanice.Data;
using Urbanice.Maniplulators;
using Urbanice.Utils;
namespace Urbanice.Generators._2D.Grid
{
public class Raster
{
private RasterGenerator _rasterGenerator;
private List<List<Vector2>> _gridPoints;
... | 36.25 | 130 | 0.533844 | [
"MIT"
] | Cxyda/Urbanice | Assets/Scripts/Urbanice/Generators/2D/Grid/Raster.cs | 3,915 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace KerbalLaunchVehicles.klvGUI
{
class GUITextBox : IGUIControl
{
private string LabelLeft;
private string LabelRight;
private string Text;
private strin... | 31.931507 | 138 | 0.566281 | [
"MIT"
] | JCoil/KerbalLaunchVehicles | KerbalLaunchVehicles/klvGUI/GUITextBox.cs | 2,333 | C# |
// FILE AUTOGENERATED. DO NOT MODIFY
using System;
namespace Starfield.Core.Block.Blocks {
[Block("minecraft:stripped_birch_log", 42, 94, 96, 95)]
public class BlockStrippedBirchLog : BlockBase {
public override ushort State {
get {
if(Axis == "x") {
... | 23.35 | 67 | 0.381156 | [
"MIT"
] | StarfieldMC/Starfield | Starfield.Core/Block/Blocks/BlockStrippedBirchLog.cs | 1,401 | C# |
namespace AgileObjects.AgileMapper.UnitTests.Orms.EfCore2
{
using Infrastructure;
public class WhenViewingProjectionPlans : WhenViewingProjectionPlans<EfCore2TestDbContext>
{
public WhenViewingProjectionPlans(InMemoryEfCore2TestContext context)
: base(context)
{
}
}... | 24.846154 | 94 | 0.712074 | [
"MIT"
] | WeiiWang/AgileMapper | AgileMapper.UnitTests.Orms.EfCore2/WhenViewingProjectionPlans.cs | 325 | C# |
using GalaxyGen.Model;
using GalaxyGenCore;
using GalaxyGenCore.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GalaxyGen.Engine.Messages
{
public class MessageProducedResources
{
public MessageProducedResources(L... | 23.333333 | 86 | 0.689286 | [
"MIT"
] | AshRolls/GalaxyGen | GalaxyGen/Engine/Messages/MessageProducedResources.cs | 562 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | 29.168067 | 106 | 0.512388 | [
"Apache-2.0"
] | AaronWu666/WeiXinMPSDK | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs | 7,532 | C# |
/**
* Copyright 2015 Canada Health Infoway, 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... | 49.156863 | 342 | 0.73913 | [
"ECL-2.0",
"Apache-2.0"
] | CanadaHealthInfoway/message-builder-dotnet | message-builder-release-r02_04_02/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2009_r02_04_02/Interaction/SOFADetailQueryResultsRx.cs | 2,507 | C# |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | 34.815789 | 100 | 0.550265 | [
"MIT"
] | pdeligia/nekara-artifact | CoyoteActors/Framework/Coyote/Source/Core/IO/Logging/ILogger.cs | 2,648 | C# |
using Microsoft.AspNetCore.Identity;
namespace Skoruba.IdentityServer4.Admin.EntityFramework.Shared.Entities.Identity
{
public class UserIdentityUserLogin : IdentityUserLogin<string>
{
}
} | 23.444444 | 80 | 0.758294 | [
"MIT"
] | 1n5an1ty/IdentityServer4.Admin | src/Skoruba.IdentityServer4.Admin.EntityFramework.Shared/Entities/Identity/UserIdentityUserLogin.cs | 213 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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;
using System.Windows.Navigati... | 34.398551 | 276 | 0.642932 | [
"MIT"
] | jackobo/jackobs-code | Portal/Client/Head/src/Views.Wpf/Reports/ReportHost.xaml.cs | 4,749 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Beer.DaAPI.Core.Common
{
public class IPv4Address : IPAddress<IPv4Address>, IComparable<IPv4Address>, IEquatable<IPv4Address>
{
#region Fields
private readonly Byte[] _addressBytes;
private static readonly U... | 29.057823 | 122 | 0.508838 | [
"MIT"
] | just-the-benno/Beer | src/DaAPI/Service/Beer.DaAPI.Service.Core/Common/DHCPv4/IPv4Address.cs | 8,545 | C# |
// Copyright (c) 2019 Alachisoft
//
// 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 o... | 36.058824 | 89 | 0.707993 | [
"Apache-2.0"
] | delsoft/NCache | Src/NCManagement/Management/CacheRPCService.cs | 1,228 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using CustomerAPI.Models;
namespace CustomerAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
p... | 27.972727 | 110 | 0.548911 | [
"MIT"
] | tomfrenzel/CustomerAPI-backend | CustomerAPI/Controllers/CustomersController.cs | 3,079 | C# |
using System;
namespace Geodex.Curves.Cyclic
{
public class Hypotrochoid : Curve
{
#region members
public double A = 5.0;
public double B = 2.0;
#endregion
#region constructors
public Hypotrochoid() : base()
{
}
public Hypotrochoid... | 16.309091 | 66 | 0.432553 | [
"MIT"
] | interopxyz/GeoDex | Geodex/Curves/Cyclic/Hypotrochoid.cs | 899 | 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("Ga... | 37.594595 | 84 | 0.744069 | [
"MIT"
] | marindraganov/BoardGameWithoutName | BoardGameWithoutName/GameLogic/Properties/AssemblyInfo.cs | 1,394 | 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... | 43.770642 | 157 | 0.525047 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.462 | Source/Krypton Components/ComponentFactory.Krypton.Navigator/View Builder/ViewBuilderBarRibbonTabOnly.cs | 4,774 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LMS
{
public partial class splashScreen : Form
{
public splashScreen()
... | 20.542857 | 60 | 0.54242 | [
"MIT"
] | heyclarisse/DBMS-Proj | LMS/LMS/splashScreen.cs | 721 | C# |
using System.Drawing.Drawing2D;
using Microsoft.VisualStudio.Modeling.Diagrams;
namespace NuPattern.Runtime.Schema
{
/// <summary>
/// A custom geometric shape, based upon the rounded rectangle that replaces the bottom corners with squared corners.
/// </summary>
internal class SquaredBottomSh... | 33.620253 | 122 | 0.55384 | [
"Apache-2.0"
] | dbremner/nupattern | Src/Runtime/Source/Runtime.Schema/Diagram/Geometrics/SquaredBottomShapeGeometry.cs | 2,658 | C# |
using System;
using System.Net.Http;
namespace Avapi
{
public class AvapiConnection : IAvapiConnection
{
private const string m_avapiUrlDefault = "https://www.alphavantage.co";
private string m_avapiUrl;
private HttpClient m_restClient;
private static readonly Lazy<AvapiConnection> s_avapiConnection =
new... | 37.766409 | 121 | 0.801564 | [
"MIT"
] | AvapiDotNet/Avapi | Avapi/AvapiConnection.cs | 19,563 | C# |
using EshopManager.Application.Configurations;
using EshopManager.Application.Interfaces.Services;
using EshopManager.Application.Requests.Mail;
using MailKit.Net.Smtp;
using MailKit.Security;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MimeKit;
using System.Threading.Tasks;
namespac... | 34.142857 | 99 | 0.596533 | [
"MIT"
] | tarafdarmansour/EShopManager | src/Infrastructure.Shared/Services/SMTPMailService.cs | 1,675 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HamroDokan.Models
{
public class Category
{
public int CategoryId { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public List<Item> Items { get;... | 19.823529 | 47 | 0.635015 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | krazyyplayer/HamroDokan | HamroDokan/Models/Category.cs | 339 | C# |
using System;
namespace DotnetModelFuzzer.Fuzzer.Models
{
/// <summary>
/// Provides fuzzing for a provider key-value pair, based on a separated percentage chance
/// of fuzzing a key vs fuzzing a value.
/// </summary>
public class KeyValuePairModel<TValueModel, TValueStrategy, TValue> : Model<Key... | 35.081081 | 148 | 0.627889 | [
"MIT"
] | queen-of-code/DotnetModelFuzzing | ModelFuzzer/Fuzzer/Models/KeyValuePairModel.cs | 1,300 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Networking.Sockets
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class MessageWebSocketMessageReceivedEventArgs
{
#if __ANDRO... | 40.104167 | 165 | 0.771429 | [
"Apache-2.0"
] | AlexTrepanier/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Networking.Sockets/MessageWebSocketMessageReceivedEventArgs.cs | 1,925 | C# |
using System;
using System.Collections;
using System.Collections.Specialized;
using System.Data;
using System.Configuration;
using System.Data.SQLite;
namespace ZY.Framework.Data.Helper
{
/// <summary>
/// Copyright (C) 2011 Maticsoft
/// 数据访问基础类(基于SQLite)
/// 可以用户可以修改满足自己项目的需要。
/// </summary>
... | 33.676087 | 153 | 0.447486 | [
"MIT"
] | lovepoco/ZYFW | Code/ZY.Framework.Data.Helper/DbHelperSQLite.cs | 16,289 | 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... | 49.420792 | 172 | 0.633477 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20180201/ExpressRouteCircuitConnection.cs | 9,983 | C# |
using BusinessRules.POC.DerivedData.Interface;
using BusinessRules.POC.Extensions;
using BusinessRules.POC.Interfaces;
using DCT.ILR.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessRules.POC.ULN
{
public class ULN_04Rule ... | 28.87234 | 155 | 0.624908 | [
"MIT"
] | SkillsFundingAgency/DC-Alpha-ValidationService-POC | src/DCT.ValidationService.POC/BusinessRules.POC/ULN/ULN_04Rule.cs | 1,359 | C# |
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Zen.Base.Extension;
using Zen.Base.Module;
using Zen.Storage.Provider.File;
namespace Zen.Storage.Model
{
public class ZenFileBaseDescriptor<T> : Data<T> where T : Data<T>
{
private readonly ZenFileDescriptorAttribute _attribute;
... | 40.633333 | 141 | 0.662018 | [
"MIT"
] | bucknellu/zen | Zen.Storage/Model/ZenFileBaseDescriptor.cs | 1,221 | 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("Wi... | 37.864865 | 84 | 0.745896 | [
"MIT"
] | AdamHupa/Unified-Work-Solution-.net | WindowsService/Properties/AssemblyInfo.cs | 1,404 | C# |
using DisCatSharp.CommandsNext;
using DisCatSharp.CommandsNext.Attributes;
using DisCatSharp.Entities;
using DisCatSharp.Interactivity;
using DisCatSharp.Interactivity.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MeekPlush.Commands
{
[Grou... | 42.316667 | 149 | 0.504529 | [
"MIT"
] | Speyd3r/MeekPlushRW | MeekPlush/Commands/Util.cs | 2,541 | C# |
using System;
using System.Linq;
using System.Text.RegularExpressions;
using ReassureTest.AST;
using ReassureTest.AST.Expected;
namespace ReassureTest.Implementation
{
public class MatchExecutor
{
private readonly Configuration configuration;
public MatchExecutor(Configuration con... | 42.822785 | 188 | 0.547739 | [
"Apache-2.0"
] | kbilsted/ReassureTest.Net | ReassureTest.Net/Implementation/MatchExecutor.cs | 10,151 | C# |
using System;
using System.Reflection;
namespace Configgy.Coercion
{
/// <summary>
/// A base class for any coercer attributes.
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = true)]
public abstract class ValueCoercerAttributeBase : Attribute, IValueCoer... | 45.0625 | 170 | 0.660194 | [
"MIT"
] | LazyTarget/Configgy | Configgy/Coercion/ValueCoercerAttributeBase.cs | 1,444 | C# |
using System;
namespace InteractiveCommandLine.Parameters
{
internal class StringArrayParameter : Parameter
{
internal int MinSize { get; set; } = 0;
internal int MaxSize { get; set; } = int.MaxValue;
internal string[] Default { get; set; }
internal override string DefaultStri... | 29.16129 | 116 | 0.565265 | [
"MIT"
] | alex-held/InteractiveCommandLine | InteractiveCommandLine/Parameters/StringArrayParameter.cs | 906 | C# |
using System;
namespace InternetTester.Lib.Tracked
{
public class Shutdown : Item
{
public Shutdown(DateTime t) : base(t)
{
}
public override Type Type => Type.Shutdown;
}
} | 14.384615 | 45 | 0.68984 | [
"MIT"
] | madeso/internet-tester | InternetTester.Lib/Tracked/Shutdown.cs | 189 | C# |
namespace ProjectManager.Core.SeedWork.Interfaces
{
/// <summary>
/// Base contract for map aggregate to dto.
/// <remarks>
/// This is a contract for work with "auto" mappers ( auto-mapper,emit-mapper,value-injector...)
/// or ad-hoc mappers
/// </remarks>
/// </summary>
public interf... | 42.09375 | 101 | 0.604306 | [
"MIT"
] | arsenpellumbi/net-core-project-manager | src/ProjectManager/ProjectManager.Core/SeedWork/Interfaces/ITypeAdapter.cs | 1,349 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Vpc.V2.Model
{
/// <summary>
/// Request Object
/// </summary>
public ... | 31.040892 | 110 | 0.485629 | [
"Apache-2.0"
] | Huaweicloud-SDK/huaweicloud-sdk-net-v3 | Services/Vpc/V2/Model/ShowQuotaRequest.cs | 8,350 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.CompilerServices;
using System.Windows.Media;
using ESME.Database;
using ESME.Locations;
using ESME.Mapping;
using HRC.Aspects;
using HRC.Utility;
using HRC.ViewModels;
using HR... | 40.662651 | 162 | 0.596 | [
"MPL-2.0"
] | AuditoryBiophysicsLab/ESME-Workbench | Libraries/ESME/Scenarios/LayerSettings.cs | 6,750 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TinaX.VFSKitInternal
{
/// <summary>
/// 资源构建信息
/// </summary>
[Serializable]
public struct BuildInfo
{
public string BuildID;
}
}
| 16.388889 | 33 | 0.661017 | [
"MIT"
] | ErQing/TinaX.VFS | Runtime/Scripts/JsonModel/BuildInfo.cs | 309 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.