content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Linq;
using Microsoft.Maui.Controls.Internals;
namespace Microsoft.Maui.Controls.ControlGallery.GalleryPages.PerformanceGallery.Scenarios
{
[Preserve(AllMembers = true)]
internal class TimePickerScenario1 : PerformanceScenario
{
public TimePickerScenario1()
: base("[TimePicker] Empty... | 21.411765 | 90 | 0.763736 | [
"MIT"
] | jongalloway/maui | src/ControlGallery/src/Xamarin.Forms.Controls.Issues.Shared/PerformanceGallery/Scenarios/TimePickerScenarios.cs | 366 | 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 ... | 33.571429 | 134 | 0.694563 | [
"Apache-2.0"
] | bbs168/aliyun-openapi-net-sdk | aliyun-net-sdk-reid/Reid/Model/V20190928/ListLocationRequest.cs | 2,115 | C# |
// Copyright 2021 Automate The Planet Ltd.
// Author: Anton Angelov
// 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 applicab... | 52.966667 | 132 | 0.728131 | [
"Apache-2.0"
] | AutomateThePlanet/Design-Patterns-for-High-Quality-Automated-Tests-CSharp-Edition | Chapter 5- Tests Maintainability/TestsMaintainabilityDemos/Pages/6. Multi-File Page Objects with NavigatableBasePage and Sections/CartPage/CartPageElements.cs | 1,591 | C# |
//
// The Open Toolkit Library License
//
// Copyright (c) 2006 - 2009 the Open Toolkit library.
//
// 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 w... | 39.354167 | 86 | 0.707782 | [
"BSD-3-Clause"
] | mbadry1/opentk | src/OpenTK/Platform/EmbeddedGraphicsContext.cs | 1,889 | C# |
using Markdig.Wpf;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Navigation;
namespace TranscriptionService
{
/// <summary>
/// Google Cloud Vision API 初期設定ページ3
/// 機能:サービスアカウントの設定の変更
/// (Google_Cloud_Vision_API_InitialSetting_Pag... | 44.468085 | 263 | 0.656459 | [
"MIT"
] | bigbamboo-jp/cloud-ocr-snip | Cloud OCR Snip/Cloud OCR Snip/TranscriptionServices/Google Cloud Vision API/InitialSetting/Google_Cloud_Vision_API_InitialSetting_Page3.xaml.cs | 4,914 | C# |
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Camera))]
public class RTSCamera : MonoBehaviour
{
[SerializeField]
bool scrollEnabled = false;
void Update()
{
if (Input.GetKeyDown(KeyCode.S))
{
scrollEnabled = !scrollEnabled;
}
if (!s... | 20.977778 | 54 | 0.504237 | [
"Unlicense",
"MIT"
] | Amitkapadi/unityassets | FogOfWarDesktop/Assets/FogOfWarDesktop/Demo/Scripts/RTSCamera.cs | 944 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ejercicio8 : MonoBehaviour
{
// Start is called before the first frame update
public int dia = 0;
void Start()
{
switch (dia)
{
case 1: Debug.Log("Domingo");
brea... | 24.921053 | 56 | 0.439282 | [
"MIT"
] | Lautaro2210/Guia-De-Programaci-n-1 | Assets/Scenes/Ejercicio8.cs | 949 | C# |
using DAL.Models;
using Entities;
using HousingBillPaymentAPI.Helper;
namespace HousingBillPaymentAPI.Services
{
public class DebtTypeService
{
private HousingBillPaymentContext _context = new HousingBillPaymentContext();
/// <summary>
/// Veri tabanına yeni bir borç tipi ekler.
... | 40.193103 | 179 | 0.56606 | [
"MIT"
] | AKBANK-Patika-FullStack-Bootcamp/EdaCam_GraduationProject | HousingBillPaymentAPI/HousingBillPaymentAPI/Services/DebtTypeService.cs | 5,940 | C# |
using System.Diagnostics.CodeAnalysis;
using System.Net.Http;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using JetBrains.Annotations;
namespace dotAPNS.AspNetCore
{
public interface IApnsClientFactory
{
IApnsClient CreateUsingCert([NotNull] X509Certifica... | 40.907692 | 142 | 0.684844 | [
"Apache-2.0"
] | alexalok/dotAPNS | dotAPNS.AspNetCore/ApnsClientFactory.cs | 2,661 | 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... | 38.944444 | 84 | 0.757489 | [
"MIT"
] | Tarak-Chandra-Sarkar/WebApp-Blob-Storage-DotNet | WebApp-Storage-DotNet/Properties/AssemblyInfo.cs | 1,405 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Restart : MonoBehaviour
{
public void RestartGame()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}
}
| 20.642857 | 67 | 0.757785 | [
"Unlicense"
] | AceofGrades/BombermanGame | Assets/Scripts/Restart.cs | 291 | C# |
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System.Linq;
#if UNITY_EDITOR
using UnityEditor;
#endif
/**
* Welcome to Unity Machine Learning Agents (ML-Agents).
*
* The ML-Agents toolkit contains five entities: Academy, Brain, Agent, Communicator and
* Python API. The academy, and... | 36.879688 | 96 | 0.574588 | [
"Apache-2.0"
] | Aranclanos/ml-agents | UnitySDK/Assets/ML-Agents/Scripts/Academy.cs | 23,605 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics.ContractsLight;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using BuildXL.Cache.ContentStore.Interfaces.FileSyst... | 30.58871 | 110 | 0.54996 | [
"MIT"
] | DamGouz/BuildXL | Public/Src/Cache/ContentStore/Distributed/ContentLocations/MachineLocation.cs | 3,793 | C# |
/*
* Intersight REST API
*
* This is Intersight REST API
*
* OpenAPI spec version: 1.0.9-262
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using Syst... | 32.661972 | 140 | 0.566624 | [
"Apache-2.0"
] | ategaw-cisco/intersight-powershell | csharp/swaggerClient/src/intersight/Model/HyperflexInstallerImageRef.cs | 4,638 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AsteroidsBL
{
/// <summary>
/// Verwaltet eine Menge von Asteroiden
/// </summary>
public interface IAsteroidsRepository
{
/// <summary>
/// Liefert den Ast... | 30.05 | 97 | 0.575153 | [
"MIT"
] | mk-prg-net/FunWithAsteroids | AsteroidsBL/IAsteroidsRepository.cs | 1,807 | C# |
#region Apache License
//
// 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... | 32.282759 | 166 | 0.627216 | [
"BSD-3-Clause"
] | BillyWarrhol/Aurora-Sim | Dependencies/log4net/Util/TypeConverters/IPAddressConverter.cs | 4,681 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.AppService.Models
{
public partia... | 47.844622 | 513 | 0.48447 | [
"MIT"
] | LeszekKalibrate/azure-sdk-for-net | sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitePatchResource.Serialization.cs | 12,009 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace System.Net.Quic.T... | 40.037906 | 168 | 0.545737 | [
"MIT"
] | LakshanF/runtime | src/libraries/System.Net.Quic/tests/FunctionalTests/QuicStreamTests.cs | 22,183 | C# |
namespace Application.Common.Interfaces
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Domain.Entities;
public interface IApplicationDbContext
{
DbSet<City> Cities { get; set; }
DbSet<District> Districts { get; set; }
... | 21.333333 | 72 | 0.671875 | [
"MIT"
] | ahmetsaiderdem/CleanArchitecture | src/Common/Application/Common/Interfaces/IApplicationDbContext.cs | 450 | C# |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using CloudConsult.Common.Builders;
using CloudConsult.Common.CQRS;
using CloudConsult.Consultation.Domain.Commands;
using CloudConsult.Consultation.Domain.Entities;
using CloudConsult.Consultation.Domain.Services... | 37.794872 | 121 | 0.715739 | [
"MIT"
] | devntofficial/CloudConsultRC | NET Microservices/consultation-service/CloudConsult.Consultation.Infrastructure/Handlers/AddTimeSlotsHandler.cs | 1,476 | C# |
// <auto-generated />
using HelloWorld.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using System;
namespace HelloW... | 37.669065 | 125 | 0.47097 | [
"MIT"
] | BhupeshGuptha/Enterprise-Application-Development-with-C-Sharp-9-and-.NET-5 | Chapter17/Pipelines/HelloWorld/HelloWorld/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs | 10,472 | C# |
using System.Web.Mvc;
using WebForLink.Application.Interfaces.WebForLink;
using WebForLink.Areas.WebForLink.ViewModels.MinhaFicha;
using WebForLink.Domain.Entities.WebForLink;
using WebForLink.Web.Controllers.Extensoes;
namespace WebForLink.Areas.WebForLink.Controllers
{
public class MinhaFichaController : Contro... | 32.892857 | 105 | 0.725299 | [
"MIT"
] | nelson1987/ProjetoPadraoTDD | Code/1_Presentation/WebForLink.Web/Areas/WebForLink/Controllers/MinhaFichaController.cs | 923 | C# |
using System;
using NetOffice;
namespace NetOffice.WordApi.Enums
{
/// <summary>
/// SupportByVersion Word 9, 10, 11, 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff838551.aspx </remarks>
[SupportByVersionAttribute("Word", 9,10,11,12... | 31.563636 | 119 | 0.649194 | [
"MIT"
] | Engineerumair/NetOffice | Source/Word/Enums/WdPhoneticGuideAlignmentType.cs | 1,736 | C# |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization... | 31.392405 | 88 | 0.583468 | [
"MIT"
] | n0ss4/Plan-X | planning/Controllers/AuthController.cs | 2,483 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Blish_HUD.Controls;
using Blish_HUD.Graphics.UI;
using Blish_HUD.Graphics.UI.Exceptions;
using Blish_HUD.Input;
using Blish_HUD.Modules.Pkgs;
using Blish_HUD.Modules.UI.Presenters;
using Microsoft.Scripting.Utils;
using Microsoft.Xna.Framework;
u... | 38.506073 | 165 | 0.550205 | [
"MIT"
] | eksime/Blish-HUD | Blish HUD/GameServices/Modules/UI/Views/ManagePkgView.cs | 9,513 | C# |
namespace AdjustSdk.Pcl
{
public class UnknowResponseData : ResponseData
{ }
}
| 14.666667 | 50 | 0.704545 | [
"MIT"
] | adjust/windows_sdk | WindowsPcl/UnknowResponseData.cs | 90 | C# |
namespace ArgentPonyWarcraftClient;
/// <summary>
/// An index of azerite essences.
/// </summary>
public record AzeriteEssencesIndex
{
/// <summary>
/// Gets links for the index of azerite essences.
/// </summary>
[JsonPropertyName("_links")]
public Links Links { get; init; }
/// <summary>
... | 25 | 67 | 0.66 | [
"MIT"
] | blizzard-net/warcraft | src/ArgentPonyWarcraftClient/Models/GameDataApi/AzeriteEssence/AzeriteEssencesIndex.cs | 502 | C# |
namespace CHIP8
{
public class CPU
{
public CPU()
{
}
}
}
| 9.4 | 20 | 0.393617 | [
"MIT"
] | PJohannessen/CHIP-8 | src/CPU.cs | 94 | C# |
using System;
using Arnible.Xunit;
using Xunit;
using Xunit.Abstractions;
namespace Arnible.Logger.Test
{
public class XunitLoggerTests : IDisposable
{
private readonly XunitLogger _logger;
public XunitLoggerTests(ITestOutputHelper output)
{
_logger = new(output);
}
[Fact]
p... | 20.690476 | 54 | 0.651323 | [
"Apache-2.0"
] | tomaszbiegacz/Arnible.MathModeling | Arnible.Test/Logger/XunitLoggerTests.cs | 869 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
using IdentityServer4;
using IdentityServer4.Models;
namespace IdentityServerDemo
{
public static clas... | 31.235294 | 107 | 0.536723 | [
"BSD-3-Clause"
] | agentS/AspNetCoreAuthenticationAuthorizationDemo | src/IdentityServerDemo/Config.cs | 1,595 | C# |
namespace Bet.Extensions.Walmart.Models.Orders;
public class Charge
{
/// <summary>
/// The charge type for line items can be one of the following: PRODUCT or SHIPPING For details, refer to 'Charge Types'.
/// </summary>
[JsonPropertyName("chargeType")]
public string? ChargeType { get; set; }
... | 31.241379 | 125 | 0.65011 | [
"Apache-2.0"
] | kdcllc/Bet.Extensions.Walmart | src/Bet.Extensions.Walmart.Models/Orders/Charge.cs | 908 | C# |
using System.Collections.Generic;
namespace GreatWall.Service.Dtos.NgAlain {
/// <summary>
/// NgAlain应用程序数据
/// </summary>
public class AppData {
/// <summary>
/// 初始化NgAlain应用程序数据
/// </summary>
public AppData() {
App = new AppInfo();
User = ne... | 23.064516 | 48 | 0.461538 | [
"MIT"
] | UtilCore/GreatWall | src/GreatWall.Service/Dtos/NgAlain/AppData.cs | 775 | C# |
using LINGYUN.Abp.LocalizationManagement.Localization;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.Validation;
using Volo.Abp.VirtualFileSystem;
namespace LINGYUN.Abp.LocalizationManagement
{
[DependsOn(
typeof(AbpValidationModule),
typeof(AbpLocalizationModule))]
pu... | 32.466667 | 98 | 0.665298 | [
"MIT"
] | ZhaoYis/abp-next-admin | aspnet-core/modules/lt/LINGYUN.Abp.LocalizationManagement.Domain.Shared/LINGYUN/Abp/LocalizationManagement/AbpLocalizationManagementDomainSharedModule.cs | 976 | 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.045045 | 149 | 0.630342 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/KinesisAnalytics/Generated/Model/Internal/MarshallTransformations/DeleteApplicationRequestMarshaller.cs | 4,001 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tarea.Arbol
{
class Program
{
static void Main(string[] args)
{
int opcion = 0;
String x = "";
Arbol a = new Arbol();
wh... | 27.54 | 73 | 0.400145 | [
"Apache-2.0"
] | choquejhoselin/programacionIIICAJ | Tareas/Tarea.Arbol/Tarea.Arbol/Program.cs | 1,379 | C# |
using System;
using System.Linq;
using SignalGo.Shared.DataTypes;
using SignalGo.ServerManager.Models;
namespace SignalGo.ServerManager.Services
{
[ServiceContract("ServerManager", ServiceType.OneWayService, InstanceType.SingleInstance)]
public class ServerManagerService
{
public bool StopServer(G... | 30.764706 | 94 | 0.591778 | [
"MIT"
] | JTOne123/SignalGo-full-net | SignalGo.ServerManager/Services/ServerManagerService.cs | 1,048 | C# |
using HDF.PInvoke;
using HDF5CSharp.DataTypes;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
namespace HDF5CSharp
{
public class ChunkedCompound<T> : IDisposable where T : struct
{
ulong[] _currentDims;
readonly ulong[... | 33.876 | 118 | 0.523911 | [
"MIT"
] | DavidSabbah/HDF5-CSharp | HDF5-CSharp/ChunkedCompound.cs | 8,471 | C# |
using System;
using System.Runtime.Serialization;
using System.Security.Permissions;
using XCode.DataAccessLayer;
namespace XCode.Exceptions
{
/// <summary>数据访问层SQL异常</summary>
[Serializable]
public class XSqlException : XDbSessionException
{
#region 属性
/// <summary>SQL语句</summary>
... | 36.025974 | 149 | 0.57318 | [
"MIT"
] | EnhWeb/DC.Framework | src/Ding.XCode/Exceptions/XSqlException.cs | 2,898 | C# |
using UnityEngine;
using System;
using System.Collections.Generic;
using MissionControl.Rules;
using MissionControl.Trigger;
namespace MissionControl.Logic {
public class AddEmployerLanceBatch {
public AddEmployerLanceBatch(EncounterRules encounterRules, string orientationTargetKey,
SpawnLogic.LookDirecti... | 50.3 | 170 | 0.764911 | [
"MIT"
] | Inveracity/MissionControl | src/Core/EncounterLogic/BatchedLogic/AddEmployerLanceBatch.cs | 2,012 | C# |
namespace FlashBAx
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
/// </summary>
/... | 59.067599 | 225 | 0.632399 | [
"MIT"
] | D3atHpR/FlashBax | FlashBAx/FlashBAx/Form1.Designer.cs | 25,355 | C# |
using ChaseLabs.CLConfiguration.List;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OlegMC.REST_API.Data;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using System.Timers;
using TraceLd.MineStatSharp;
using static OlegMC.... | 34.35894 | 207 | 0.455148 | [
"Apache-2.0"
] | DcmanProductions/Minecraft-Server-Manager | API/Model/ServerModel.cs | 25,943 | C# |
/*
* Copyright © 2020 EDDiscovery development team
*
* 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 applica... | 39.037383 | 181 | 0.570745 | [
"Apache-2.0"
] | EDDiscovery/EliteDangerousCore | EliteDangerous/IGAU/IGAUClass.cs | 4,180 | C# |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace DaretokuTools
{
public class UnitDef
{
private int _Day;
private int _Hour;
private int _Min;
private int _Sec;
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("time")]
public string Time {
set {
try
... | 17.76087 | 43 | 0.571603 | [
"MIT"
] | hamache9821/3MarcoConverter | 3MarcoConverter/UnitDef.cs | 819 | C# |
using System.Runtime.Serialization;
namespace EncompassRest.Loans.Enums
{
public enum InterestAccrualType
{
AverageDailyInterestAccrual = 0,
DailyInterestAccrual = 1
}
} | 19.8 | 40 | 0.712121 | [
"MIT"
] | gashach/EncompassRest | src/EncompassRest/Loans/Enums/InterestAccrualType.cs | 198 | C# |
using Samples.Client;
using Samples.Model;
using SignalRems.Client.Extensions;
using SignalRems.Core.Interfaces;
IHost host = Host.CreateDefaultBuilder(args)
.ConfigureServices(services =>
{
services.AddHostedService<Worker>();
services.AddSignalRemsClient();
services.AddTransient<ISubs... | 25.5 | 77 | 0.723039 | [
"MIT"
] | LiPascal/SignalRems | src/Samples/Samples.Client/Program.cs | 408 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.ModLoader.IO;
namespace MagicStorage.Components
{
public class TERemoteAccess : TEStorage... | 25.011236 | 92 | 0.690925 | [
"MIT"
] | AqlaSolutions/MagicStorage | Components/TERemoteAccess.cs | 2,226 | C# |
using Barrage.Bullet;
namespace Damage
{
public interface IDamageApplicable
{
AttackerType GetAttackerType();
void ApplyDamage(DamageData data);
}
}
| 16.272727 | 42 | 0.675978 | [
"MIT"
] | kotuakoutyan/3DBarrageSample | Assets/Scripts/Damage/IDamageApplicable.cs | 181 | 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... | 29.745763 | 114 | 0.663818 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/KinesisAnalytics/Generated/Model/JSONMappingParameters.cs | 1,755 | 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.Iam.V3.Model
{
/// <summary>
/// Response Object
/// </summary>
public... | 19.428571 | 81 | 0.747549 | [
"Apache-2.0"
] | Huaweicloud-SDK/huaweicloud-sdk-net-v3 | Services/Iam/V3/Model/KeystoneAssociateGroupWithDomainPermissionResponse.cs | 408 | C# |
[Serializable]
public class VideoScriptPlayableAsset : PlayableAsset // TypeDefIndex: 11810
{
// Fields
public ExposedReference<VideoPlayer> videoPlayer; // 0x18
[SerializeField] // RVA: 0x195300 Offset: 0x195401 VA: 0x195300
[NotKeyableAttribute] // RVA: 0x195300 Offset: 0x195401 VA: 0x195300
public VideoClip vid... | 39.83871 | 80 | 0.753846 | [
"MIT"
] | SinsofSloth/RF5-global-metadata | UnityEngine/Timeline/VideoScriptPlayableAsset.cs | 1,235 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using E_commerce.Models;
using Dapper;
using System.Configuration;
using System.Data.SqlClient;
namespace E_commerce.Controllers
{
public class CartController : Controller
{
private readonly str... | 31.533333 | 155 | 0.64623 | [
"MIT"
] | ericaglimsholt/shop | E-commerce/Controllers/CartController.cs | 1,421 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Mvc;
namespace WebAppFront.Controllers
{
/// <summary>
/// SetLanguage... | 28.208333 | 126 | 0.607829 | [
"MIT"
] | mroyon/CoreWebTemplate_V3.1 | WebSolutionTemplate/WebAppFront/Controllers/SetLanguageController.cs | 1,356 | C# |
using RarelySimple.AvatarScriptLink.Helpers;
using RarelySimple.AvatarScriptLink.Objects.Advanced;
using System;
using System.Collections.Generic;
using System.Text;
namespace RarelySimple.AvatarScriptLink.Objects
{
public class OptionObjectDecorator : IOptionObjectDecorator
{
private readonly IOption... | 50.724036 | 222 | 0.650404 | [
"MIT"
] | rarelysimple/RarelySimple.AvatarScriptLink | RarelySimple.AvatarScriptLink/Objects/OptionObjectDecorator.cs | 17,096 | C# |
// Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Jmelosegui.DevOpsCLI.Commands
{
using System.Collections.Generic;
using Jmelosegui.DevOps.Client;
using McMaster.Extensions.CommandLineUtil... | 31.677419 | 140 | 0.694501 | [
"MIT"
] | jmelosegui/devops-cli | DevOpsCLI/Commands/BuildDefinition/BuildDefinitionListCommand.cs | 982 | C# |
// Generator { Name: SearchAdvancedGenerator, Template: ISearchAdvanced }
using System;
namespace SuiteTalk
{
public partial class ContactRoleSearchAdvanced: ISearchAdvanced, ISearchAdvanced<ContactRoleSearch, ContactRoleSearchRow>
{
SearchRecord ISearchAdvanced.GetCriteria() => this.GetCriteria();
... | 36.351852 | 160 | 0.688742 | [
"Apache-2.0"
] | cloudextend/contrib-netsuite-servicemgr | Celigo.SuiteTalk/src/SuiteTalk/Generated/ContactRoleSearchAdvanced.gen.cs | 1,963 | C# |
/*
* Copyright 2010-2013 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 "lice... | 39.410569 | 177 | 0.58164 | [
"Apache-2.0"
] | jdluzen/aws-sdk-net-android | AWSSDK/Amazon.Auth/AccessControlPolicy/Policy.cs | 9,695 | C# |
using Codeable.Foundation.Common;
using Stencil.Common;
using Stencil.Domain;
using Stencil.Primary.Business.Index;
using Stencil.Primary.Health;
using sdk = Stencil.SDK.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using Codeable.Foundation.Core;
namespace Stencil.Primary.Synchronization.... | 40.084034 | 155 | 0.529979 | [
"MIT"
] | DanMasterson1/stencil | Source/Stencil.Server/Stencil.Primary/Business/Synchronization/Implementation/LineItemSynchronizer_Core.cs | 4,770 | C# |
namespace mvcSearch.Models
{
public class Product
{
public int OrderLineId { get; set; }
public string Name { get; set; }
public double Price { get; set; }
public int Quantity { get; set; }
}
} | 23.8 | 44 | 0.571429 | [
"MIT"
] | JamesRandall/Simple-Paging-Grid | examples/mvcSearch/mvcSearch/Models/Product.cs | 240 | C# |
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Queries.Expressions;
using JsonApiDotNetCore.Resources.Annotations;
namespace JsonApiDotNetCore.Queries.Internal.Parsing
{
[PublicAPI]
public class QueryStringParameterSco... | 39.7 | 145 | 0.701826 | [
"MIT"
] | 3volutionsAG/JsonApiDotNetCore | src/JsonApiDotNetCore/Queries/Internal/Parsing/QueryStringParameterScopeParser.cs | 3,176 | 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("Xs... | 41.27027 | 90 | 0.747872 | [
"MIT"
] | mvbalaw/XsdIncludeResolver | src/XsdIncludeResolver/Properties/AssemblyInfo.cs | 1,529 | C# |
using FluentNHibernate.Mapping;
using VocaDb.Model.Domain.Artists;
namespace VocaDb.Model.Mapping.Artists {
public class ArtistPictureFileMap : ClassMap<ArtistPictureFile> {
public ArtistPictureFileMap() {
Id(m => m.Id);
Map(m => m.Created).Not.Nullable();
Map(m => m.Mime).Length(32).Not.Nullable();
... | 19.583333 | 66 | 0.674468 | [
"MIT"
] | cazzar/VocaDbTagger | VocaDbModel/Mapping/Artists/ArtistPictureFileMap.cs | 472 | C# |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TravelAPI.Models;
namespace TravelAPI.Migrations
{
[DbContext(typeof(TravelAPIContext))]... | 29 | 75 | 0.586991 | [
"MIT"
] | CommaderDavid/TravelAPI.Solution | TravelAPI/Migrations/20210520222611_Initial.Designer.cs | 1,278 | C# |
#region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// 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... | 36.424847 | 177 | 0.567308 | [
"Apache-2.0"
] | MCLCODE/grpc-dotnet | test/FunctionalTests/Client/StreamingTests.cs | 23,751 | C# |
using System;
using System.Data.Entity.ModelConfiguration;
using Kore.Data;
using Kore.Data.EntityFramework;
namespace Kore.Web.ContentManagement.Areas.Admin.ContentBlocks.Domain
{
public class ContentBlock : IEntity
{
public Guid Id { get; set; }
public string BlockName { get; set... | 30.621212 | 99 | 0.585849 | [
"MIT"
] | artinite21/KoreCMS | Kore.Web.ContentManagement/Areas/Admin/ContentBlocks/Domain/ContentBlock.cs | 2,023 | 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... | 42.955224 | 196 | 0.628388 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/CodeArtifact/Generated/Model/Internal/MarshallTransformations/PutDomainPermissionsPolicyResponseUnmarshaller.cs | 5,756 | C# |
using AngleSharp.Dom;
using Microsoft.AspNetCore.Components.Web;
namespace KristofferStrube.Blazor.SVGEditor
{
public class Circle : Shape
{
public Circle(IElement element, SVG svg) : base(element, svg) { }
public override Type Editor => typeof(CircleEditor);
public double cx {
... | 33.081633 | 94 | 0.475324 | [
"MIT"
] | KristofferStrube/Blazor.SVGEditor | src/KristofferStrube.Blazor.SVGEditor/Circle.cs | 3,244 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Playnite.SDK.Models;
using Microsoft.Win32;
using System.IO;
using Playnite.Models;
namespace Playnite.Providers.Uplay
{
public class UplayLibrary : IUplayLibrary
{
p... | 35.034884 | 139 | 0.539993 | [
"MIT"
] | Slippy2k/Playnite | source/Playnite/Providers/Uplay/UplayLibrary.cs | 3,015 | C# |
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright noti... | 49.5 | 148 | 0.756614 | [
"Apache-2.0"
] | econmed/ImageServer20 | ImageServer/Model/EntityBrokers/IRequestAttributesEntityBroker.gen.cs | 2,079 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace STU.Common.Result
{
public class Result
{
public bool Success { get; set; }
public string Message { get; set; }
}
public class Result<T> : Result
{
public T Data { get; set; }
}
}
| 17.111111 | 43 | 0.600649 | [
"Apache-2.0"
] | jaseaman/thinkchangecrew | STU.Shared/Result/Result.cs | 310 | C# |
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNetAnalyser.Benchmarks;
using FluentAssertions;
using FsCheck;
using FsCheck.Xunit;
using NSubstitute;
using Xunit;
namespace BenchmarkDotNetAnalyser.Tests.Unit.Benchmarks
{
public class BenchmarkInfoExtensionsTests
{
[Pro... | 40.564 | 118 | 0.520757 | [
"Apache-2.0"
] | NewDayTechnology/benchmarkdotnet.analyser | test/BenchmarkDotNetAnalyser.Tests.Unit/Benchmarks/BenchmarkInfoExtensionsTests.cs | 10,143 | C# |
using System.ComponentModel.DataAnnotations;
namespace Blog.Shared.DTOs
{
public class CreatePostDTO
{
[Required]
[StringLength(100)]
public string Title { get; set; }
[Required]
[StringLength(100000)]
public string Introduction { get; set; }
[Required... | 20.35 | 48 | 0.594595 | [
"MIT"
] | misiukanis/simple-blog | Blog/Blog/Shared/DTOs/CreatePostDTO.cs | 409 | C# |
using System.ComponentModel;
using OrchardCore.ContentManagement.Metadata;
using OrchardCore.ContentManagement.Metadata.Settings;
using OrchardCore.Data.Migration;
using StatCan.OrchardCore.Extensions;
namespace StatCan.OrchardCore.OpenAPI
{
public class Migrations : DataMigration
{
private readonly IC... | 30.960784 | 81 | 0.559215 | [
"MIT"
] | StatCan/StatCan.OrchardCore | src/Modules/StatCan.OrchardCore.OpenAPI/Migrations.cs | 1,579 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Strata
{
public partial class PencilControl : UserControl
{
public PencilControl()
{
InitializeComponent();
Settings.Instance.Width = 27;
... | 33.655738 | 95 | 0.555285 | [
"MIT",
"MIT-0",
"Unlicense"
] | syzranov/strata | Strata/Controls/PencilControl.cs | 2,055 | C# |
using System.Threading.Tasks;
using NUnit.Framework;
namespace ShikimoriSharp.Tests.Information
{
[TestFixture]
public class ForumAndGenresTest : TestBase
{
[Test]
public async Task GetForumsTest()
{
Assert.IsNotEmpty(await Client.Forums.GetForums());
}
... | 21.761905 | 63 | 0.601751 | [
"MIT"
] | ColinFL/ShikimoriSharp | ShikimoriSharp.Tests/Information/ForumAndGenresTest.cs | 459 | C# |
using MusicPickerService.Models;
using Owin;
namespace MusicPickerService
{
public partial class Startup
{
public void ConfigureDbContext(IAppBuilder app)
{
app.CreatePerOwinContext(ApplicationDbContext.Create);
}
}
} | 20.538462 | 66 | 0.677903 | [
"Apache-2.0"
] | hutopi/MusicPickerService | MusicPickerService/App_Start/Startup.DbContext.cs | 269 | C# |
using UnityEngine;
namespace TechnomediaLabs
{
public static class MyLayers
{
// Toggle layers lock
//Tools.lockedLayers = 1 << LayerMask.NameToLayer("LayerName"); // Replace the whole value of lockedLayers.
//Tools.lockedLayers |= 1 << LayerMask.NameToLayer("LayerName"); // Add a value to lockedLayers.
/... | 30.208333 | 110 | 0.691034 | [
"Apache-2.0"
] | Damagree/selaru-vr | Selaru VR - 3D/Assets/Zetcil/Model/Variable Model/Inspector/Extensions/MyLayers.cs | 727 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18047
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 38.819444 | 185 | 0.604651 | [
"Apache-2.0"
] | onselaydin/Alinteri | NetSales.BackOffice/Properties/Resources.Designer.cs | 2,797 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
namespace TauCode.Parsing
{
public class ResultAccumulator : IResultAccumulator
{
#region Fields
private readonly List<object> _results;
#endregion
#region Constructor
public ResultAccumulator... | 20.20339 | 79 | 0.572148 | [
"Apache-2.0"
] | taucode/taucode.parsing | src/TauCode.Parsing/ResultAccumulator.cs | 1,194 | C# |
using System;
using System.Collections.Generic;
namespace SerializationBenchmark
{
internal static class TestData
{
public static readonly UserLicensesResponsePB TestValuePB;
static TestData()
{
var r = new Random();
foreach (var l in TestValue.Licenses)
... | 72.226531 | 211 | 0.551242 | [
"MIT"
] | JamesNK/SerializationBenchmark | TestData.cs | 35,393 | C# |
using Unity.Networking.Transport;
using Unity.NetCode;
using Unity.Mathematics;
public struct PilotSnapshotData : ISnapshotData<PilotSnapshotData>
{
public uint tick;
private int PilotDataPlayerId;
private int RotationValueX;
private int RotationValueY;
private int RotationValueZ;
private int R... | 59.003534 | 154 | 0.714457 | [
"Apache-2.0"
] | WireWhiz/OpenFall | Scripts/Networking/Player/Generated/PlayerSnapshotData.cs | 50,094 | C# |
namespace CarterSample.Features.Actors
{
public class FileForm
{
public File File { get; set; }
//[ApiSchemaAttributes(Format = "binary")]
public string FileBinary { get; set; }
}
}
| 19.333333 | 51 | 0.573276 | [
"MIT"
] | andrewlock/Carter | samples/CarterSample/Features/Actors/FileForm.cs | 234 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using WebApiClient;
using Xunit;
using System.Threading;
using System.Threading.Tasks;
namespace WebApiClient.Test.Internal
{
public class ConcurrentCacheTest
{
private int count = 0;
[Fact]
public void GetOrAddGet()
... | 22.285714 | 59 | 0.508974 | [
"MIT"
] | IvanZheng/WebApiClient | WebApiClient.Test/Internal/ConcurrentCacheTest.cs | 782 | C# |
// Copyright (c) 2020-2021 Vladimir Popov zor1994@gmail.com https://github.com/ZorPastaman/Behavior-Tree
using Zor.BehaviorTree.Core.Leaves.Actions;
using Zor.BehaviorTree.DrawingAttributes;
namespace Zor.BehaviorTree.Serialization.SerializedBehaviors.Leaves.Actions
{
[NameOverride("Source Property Name", 0), NameO... | 38.4375 | 105 | 0.795122 | [
"MIT"
] | ZorPastaman/Behavior-Tree | Runtime/Serialization/SerializedBehaviors/Leaves/Actions/SerializedCalculateNavMeshPathFiltered.cs | 617 | 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... | 52.013158 | 282 | 0.635011 | [
"MIT"
] | LGDoor/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRuleCollection.cs | 19,765 | 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... | 30.630597 | 110 | 0.57169 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/MediaPackage/Generated/Model/DescribeOriginEndpointResponse.cs | 8,209 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Playwright.Testing.Xunit;
using Microsoft.Playwright.Tests.BaseTests;
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.Playwright.Tests
{
[Collection(TestConstants.TestFixtureBrowserCollectionName)]
public class ClickNavig... | 39.076923 | 127 | 0.667979 | [
"MIT"
] | hardkoded/playwright-sharp | src/Playwright.Tests/PageNavigationTests.cs | 1,524 | C# |
using System;
using System.Collections.Generic;
using RedOwl.UIX.Engine;
using UnityEditor;
using UnityEngine;
using UnityEngine.UIElements;
namespace RedOwl.UIX.Editor
{
[CustomPropertyDrawer(typeof(ImplementationPicker))]
public class ImplementationPickerDrawer : PropertyDrawer
{
priv... | 37.297872 | 136 | 0.630348 | [
"Unlicense"
] | red-owl-games/UIX | Editor/ImplementationPickerDrawer.cs | 1,753 | C# |
#if CS101 && !BizTalk
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
using CSLibrary.Barcode;
using CSLibrary.Barcode.Constants;
using CSLibrary.Barcode.Structures;
namespace CSLibrary.Barcode
{
internal class MessageWindows : Mes... | 48.510417 | 153 | 0.409598 | [
"MIT"
] | cslrfid/CSL-Callback-Unified-SDK-App | Library Source/CSLibrary.Barcode/CSLibrary.Barcode.MsgWnd.cs | 9,314 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 37.088889 | 89 | 0.65728 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/firestore/v1/google-cloud-firestore-v1-csharp/Google.Cloud.Firestore.V1.StandaloneSnippets/FirestoreClient.UpdateDocumentRequestObjectSnippet.g.cs | 1,669 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace NumberArray
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console
.ReadLine()
.Split()
.Select(int.Parse)
.ToList()... | 27.031496 | 84 | 0.379551 | [
"MIT"
] | georgidelchev/C-Fundamentals-Tasks | [Programming Fundamentals - Exams]/[Middle Exams]/04 - [Programming Fundamentals Mid Exam - 30 June 2019 Group 1]/02 - [Number Array]/Program.cs | 3,435 | C# |
namespace P02_DatabaseFirst.Data
{
using Microsoft.EntityFrameworkCore;
using Models;
public class SoftUniContext : DbContext
{
public DbSet<Address> Addresses { get; set; }
public DbSet<Department> Departments { get; set; }
public DbSet<Employee> Employees { get; set; }
... | 35.431034 | 85 | 0.509813 | [
"MIT"
] | melikpehlivanov/Databases-Advanced-Entity-Framework-June-2018 | Exercises - Introduction to Entity Framework/P02_DatabaseFirst/Data/SoftUniContext.cs | 6,167 | C# |
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// </autogenerated>
//-------------------------... | 33.275862 | 86 | 0.554404 | [
"Apache-2.0"
] | loresoft/PLINQO.EntityFrameworkCore | Source/Samples/Ugly.Data/Entities/Template.Generated.cs | 967 | 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: AssemblyTit... | 39.621622 | 85 | 0.734652 | [
"MIT"
] | stoyanov7/SoftwareUniversity | C#Development/HighQualityCode/AirConditionerTesterSystem/AirConditionerTesterSystem.Core/Properties/AssemblyInfo.cs | 1,469 | C# |
using CsvHelper;
using HtmlAgilityPack;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using WebVella.Erp.Api;
using WebVella.Erp.Api.Models;
using WebVella.E... | 52.26151 | 163 | 0.562208 | [
"Apache-2.0"
] | emersonlara/WebVella-ERP | WebVella.Erp.Web/Services/RenderService.cs | 85,136 | C# |
using System.Collections.Generic;
namespace Smellyriver.TankInspector.UIComponents
{
internal interface IConsumableViewModel : IAccessoryViewModel
{
IEnumerable<string> Tags { get; }
IEnumerable<string> IncompatibleTags { get; }
}
}
| 23.636364 | 62 | 0.730769 | [
"MIT"
] | BTreeNewBee/tankinspector | TankInspector/UIComponents/IConsumableViewModel.cs | 262 | C# |
/*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | 31.395833 | 162 | 0.727462 | [
"BSD-2-Clause"
] | fortsnek9348/MatterControl | MatterControlLib/PartPreviewWindow/View3D/Actions/SubtractAndReplaceObject3D_2.cs | 10,551 | C# |
using System;
using System.Collections.Generic;
namespace PossumLabs.Specflow.Core.FluidDataCreation
{
internal class IgnoreCaseEqualityComparer : IEqualityComparer<string>
{
public bool Equals(string x, string y)
=> x.Equals(y, StringComparison.InvariantCultureIgnoreCase);
public... | 28.571429 | 73 | 0.7 | [
"MIT"
] | BasHamer/PossumLabs.Specflow.Core | PossumLabs.Specflow.Core/FluidDataCreation/IgnoreCaseEqualityComparer.cs | 402 | C# |
// Copyright (c) Martin Costello, 2021. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Diagnostics;
using MartinCostello.AppleFitnessWorkoutMapper.Data;
using Microsoft.EntityFrameworkCore;
namespace MartinCostello.Ap... | 33.563107 | 112 | 0.66011 | [
"Apache-2.0"
] | martincostello/apple-fitness-workout-mapper | src/AppleFitnessWorkoutMapper/Services/TrackImporter.cs | 3,459 | C# |
// <copyright file="UnityContainerFactory.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet 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 a copy of the License at http://www.apach... | 35.818182 | 85 | 0.715736 | [
"Apache-2.0"
] | alihassan5/TestAutomation | DesignPatternsInAutomatedTesting-Series/AdvancedBehavioursDesignPattern/Base/UnityContainerFactory.cs | 1,184 | 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("Fr... | 37.864865 | 84 | 0.745896 | [
"MIT"
] | GAlex7/TA | 12. DSA/13. Graph-Algorithms/FriendsOfPesho/Properties/AssemblyInfo.cs | 1,404 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.