max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
test/UnitTests.Shared/AdventureWorks/DataObjects/Production_WorkOrder.cs
kellybirr/zonkey
3
7056484
<reponame>kellybirr/zonkey using System; using System.Data; using Zonkey.ObjectModel; namespace Zonkey.UnitTests.AdventureWorks.DataObjects { [DataItem("WorkOrder", SchemaName = "Production")] public class Production_WorkOrder : DataClass { #region Data Columns (Properties) [DataField("WorkOrderID", DbType.Int...
src/EasyKeys.Extensions.Caching/DependencyInjection/CachingServiceCollectionExtensions.cs
easykeys/EasyKeys.Extensions
4
7056485
using System; using EasyKeys.Extensions.Caching; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.StackExchangeRedis; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.DependencyInjection { public static class CachingServiceCollectionExtension...
src/ResourceManagement/ApiApp/ApiApp.Tests/Templates/GetTemplateMetadataTests.cs
cwickham3/azure-sdk-for-net
1
7056486
<reponame>cwickham3/azure-sdk-for-net using Microsoft.Azure.Management.ApiApps.Models; using Microsoft.Azure.Management.ApiApps.Tests.TestSupport; using Xunit; namespace Microsoft.Azure.Management.ApiApps.Tests.Templates { public class GetTemplateMetadataTests : ApiAppTestBase { [Fact] public ...
src/KaiHeiLa.Net.WebSocket/Entities/Messages/SocketMessageHelper.cs
gehongyan/KaiHeiLa.Net
4
7056487
using KaiHeiLa.API.Gateway; using KaiHeiLa.Rest; namespace KaiHeiLa.WebSocket; internal static class SocketMessageHelper { public static MessageSource GetSource(API.Message msg) { if (msg.Author.Bot ?? false) return MessageSource.Bot; if (msg.Type == MessageType.System) ...
Game_WhoIsWho_MVP/SingleModePage.cs
Helen2100/Game_WhoIsWho_MVP
0
7056488
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 Game_WhoIsWho_MVP { public partial class SingleModePage : Form { int quectionC...
source/R5T.D0071.Default/Code/Extensions/IServiceCollectionExtensions-Old.cs
SafetyCone/R5T.D0071
0
7056489
<gh_stars>0 using System; using Microsoft.Extensions.DependencyInjection; using R5T.Dacia; using R5T.Lombardy; using R5T.D0071.ExecutingAssembly; namespace R5T.D0071.Default { public static partial class IServiceCollectionExtensions { /// <summary> /// Adds the <see cref="FilePathProvider"...
src/Communication/generated/api/Models/Api20200820/CommunicationServiceResource.cs
Aviv-Yaniv/azure-powershell
3,336
7056490
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
src/NExpect/Interfaces/ICollectionAn.cs
tammylotter/NExpect
0
7056491
// ReSharper disable UnusedTypeParameter namespace NExpect.Interfaces { /// <summary> /// Continuation to provide the ".An" grammar for collections /// </summary> /// <typeparam name="T">Type of the continuation</typeparam> public interface ICollectionAn<T> { /// <summary> /// P...
EPIUnitTests/DynamicProgramming/ZigZagUnitTest.cs
dipakboyed/epibook.github.io.Puzzles
3
7056492
<filename>EPIUnitTests/DynamicProgramming/ZigZagUnitTest.cs using EPI.DynamicProgramming; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EPI.UnitTests.DynamicProgramming { [TestClass] public class ZigZagUnitTest { [TestMethod] public void FindLongestZigZagSubsequenceLengt...
src/Catel.Tests/Data/TestClasses/ObjectWithNonSerializableMembers.cs
mkhomutov/Catel
1
7056493
namespace Catel.Tests.Data { using Catel.Data; public class ObjectWithNonSerializableMembers : ModelBase { /// <summary> /// Gets or sets a non-serializable value. /// </summary> public NonSerializableClass NonSerializableValue { get { return GetValue<N...
HZH_Controls/HZH_Controls/Controls/DataGridView/DataGridViewCellEventArgs.cs
qiangvei/NetWinformControl
1,841
7056494
// *********************************************************************** // Assembly : HZH_Controls // Created : 08-09-2019 // // *********************************************************************** // <copyright file="DataGridViewCellEventArgs.cs"> // Copyright by <NAME>(黄正辉) All, QQ group:5...
src/Assets/Scripts/PlayerScripts/Camera/PlayerCasting.cs
tjramsey/CSU-Senior-Project
0
7056495
<reponame>tjramsey/CSU-Senior-Project<filename>src/Assets/Scripts/PlayerScripts/Camera/PlayerCasting.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerCasting : MonoBehaviour { // Update is called once per frame public static float DistanceFromTarget; ...
Homework/C#Fundamentals/C#Advanced/2.MultidimensionalArrays/Exercises/p01.MatrixOfPalindromes/StartUp.cs
GitHarr/SoftUni
0
7056496
namespace p01.MatrixOfPalindromes { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class StartUp { public static void Main() { var input = Console.ReadLine() .Split(' ') ...
Assets/Scripts/Examples/Example_OilTank.cs
nothke/MeshX
8
7056497
<filename>Assets/Scripts/Examples/Example_OilTank.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using MeshXtensions; public class Example_OilTank : MonoBehaviour { private void Start() { //gameObject.InitMesh(new ConicStrip(10, 2, 1, 1).ToMesh()); gameObje...
NPOI.OpenXmlFormats.Dml/CT_TransformEffect.cs
iNeverSleeeeep/NPOI-For-Unity
1
7056498
using System; using System.ComponentModel; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Dml { [Serializable] [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")] [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)] public class...
src/Testura.Android.PageObjectCreator/ViewModels/ScreenViewModel.cs
Testura/Testura.Android.PageObjectCreator
12
7056499
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Windows; using GalaSoft.MvvmLight; using PropertyChanged; using Testura.Android.Device.Ui.Nodes.Data; using Testura.Android.PageObjectCreator.Models; using Testura.Android.PageObjectCreator.Models.Messages; using Testura.A...
DofusProtocol/D2Parser/Protocol/Messages/game/context/roleplay/fight/arena/GameRolePlayArenaUpdatePlayerInfosMessage.cs
ImNotARobot742/DofusProtocol
0
7056500
// Generated on 03/23/2022 09:50:23 using System; using System.Collections.Generic; using System.Linq; using AmaknaProxy.API.Protocol.Types; using AmaknaProxy.API.IO; using AmaknaProxy.API.Network; namespace AmaknaProxy.API.Protocol.Messages { public class GameRolePlayArenaUpdatePlayerInfosMessage : NetworkMessa...
Dota2Test/src/Dota2.SteamService/DotaService.cs
mangeg/dota2test
0
7056501
namespace Dota2.SteamService { using System; using System.Collections.Generic; using System.Net.Http; using Microsoft.Framework.OptionsModel; using Newtonsoft.Json.Linq; public class DotaService : IDotaService { private readonly Uri _baseAddress = new Uri( "https://api.steampowered...
KSoft.Blam/RuntimeData/Content/ContentMiniMetadata.cs
KornnerStudios/KSoft.Blam
17
7056502
<filename>KSoft.Blam/RuntimeData/Content/ContentMiniMetadata.cs using System; #if CONTRACTS_FULL_SHIM using Contract = System.Diagnostics.ContractsShim.Contract; #else using Contract = System.Diagnostics.Contracts.Contract; // SHIM'D #endif namespace KSoft.Blam.RuntimeData { using GameEngineTypeBitStreamer ...
Gtfs.IO/ClassMap/RouteMap.cs
WSDOT-GIS/GTFS.NET
3
7056503
<gh_stars>1-10 using CsvHelper.Configuration; using System.Globalization; using Wsdot.Gtfs.Contract; namespace Wsdot.Gtfs.IO.ClassMap { /// <summary> /// Provides CSV mapping for <see cref="Route"/>. /// </summary> public class RouteMap : CsvClassMap<Route> { /// <summary>Create CSV map.</summary> public ove...
Source/NFX.Wave/Handlers/StockContentSiteHandler.cs
PavelTorgashov/nfx
1
7056504
<reponame>PavelTorgashov/nfx /*<FILE_LICENSE> * NFX (.NET Framework Extension) Unistack Library * Copyright 2003-2014 IT Adapter Inc / 2015 Aum Code 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...
tests/Lykke.Service.Assets.Tests/v2/AssetPairsControllerTests.cs
swisschain/Lykke.Service.Assets
0
7056505
// Test temporaly disabled //using System; //using System.Collections.Generic; //using System.Linq; //using System.Threading.Tasks; //using Lykke.Service.Assets.Controllers.V2; //using Lykke.Service.Assets.Core.Domain; //using Lykke.Service.Assets.Core.Services; //using Lykke.Service.Assets.Responses.V2; //using Mic...
MainControl.Designer.cs
khangp0000/ACT.DFAssist
44
7056506
namespace ACT.DFAssist { partial class MainControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
SaveAndPlay/ViewModels/DropboxViewModel.cs
rlecole/SaveAndPlay
2
7056507
#region Apache License, Version 2.0 // 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, V...
Tests/Tests/Tests/Entitas.Migration/Fixtures/M0360/AddViewFromObjectPoolSystem.cs
woshihuo12/Entitas-CSharp
6,042
7056509
<gh_stars>1000+ using System.Collections.Generic; using Entitas; using UnityEngine; public sealed class AddViewFromObjectPoolSystem : ISetPool, IReactiveSystem, IEnsureComponents, IExcludeComponents { public TriggerOnEvent trigger { get { return BulletsMatcher.ViewObjectPool.OnEntityRemoved(); } } pu...
MenoPreDieta/MenoPreDieta/Views/PickNamePage.xaml.cs
PeterMilovcik/MenoPreDieta
0
7056510
<filename>MenoPreDieta/MenoPreDieta/Views/PickNamePage.xaml.cs using MenoPreDieta.Dialogs; using MenoPreDieta.ViewModels; using Xamarin.Forms.Xaml; namespace MenoPreDieta.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class PickNamePage { private readonly PickNameViewMode...
tests/Laraue.EfCoreTriggers.MySqlTests/Unit/MySqlUnitMemberAssignmentFunctionsTests.cs
Ali-YousefiTelori/Laraue.EfCoreTriggers
0
7056511
<gh_stars>0 using Laraue.EfCoreTriggers.MySql.Extensions; using Laraue.EfCoreTriggers.Tests; using Laraue.EfCoreTriggers.Tests.Infrastructure; using Laraue.EfCoreTriggers.Tests.Tests.Unit; using Xunit; namespace Laraue.EfCoreTriggers.MySqlTests.Unit { [Collection(CollectionNames.MySql)] public class MySqlUnit...
Vestorly/AdvisorContainer.cs
Vestorly/vestorly-csharp
0
7056512
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Vestorly { class AdvisorContainer { public Advisor advisor { get; set; } } }
ZeroLevel.Qdrant/Models/Filters/Condition.cs
ogoun/Zero
0
7056513
namespace ZeroLevel.Qdrant.Models.Filters { /// <summary> /// Condition for qdrant filters /// </summary> public class Condition : Operand { /* integer - 64-bit integer in the range -9223372036854775808 to 9223372036854775807. array of long float - 64-bit floati...
BfresLibrary/Switch/Texture/Swizzle/TegraX1Swizzle.cs
shukenmg/BfresLibrary
11
7056514
using System; using System.Collections.Generic; using Syroot.NintenTools.NSW.Bntx.GFX; using Syroot.NintenTools.NSW.Bntx; namespace BfresLibrary.Swizzling { public class TegraX1Swizzle { public static byte[] GetImageData(Texture texture, byte[] ImageData, int ArrayLevel, int MipLevel, int DepthLevel, ...
src/CodeWithQB.Infrastructure/AppDbContext.cs
manvekar/CodeWithQB
16
7056515
<gh_stars>10-100 using CodeWithQB.Core.Interfaces; using CodeWithQB.Core.Models; using Microsoft.EntityFrameworkCore; namespace CodeWithQB.Infrastructure { public class AppDbContext: DbContext, IAppDbContext { public AppDbContext(DbContextOptions options) :base(options) { } ...
CSharp-OOP-June-2019/03-InheritanceLab/CustomRandomList/RandomList.cs
marinakolova/SoftUni-CSharp-Courses
0
7056516
using System; using System.Collections.Generic; using System.Text; namespace CustomRandomList { public class RandomList : List<string> { public List<string> TheList { get; set; } public RandomList() { this.TheList = new List<string>(); } public string Rand...
Core/Rendering/PbrSphereLight.cs
kajott/tooll
639
7056517
<reponame>kajott/tooll<filename>Core/Rendering/PbrSphereLight.cs using System.Runtime.InteropServices; using SharpDX; namespace Framefield.Core.Rendering { public interface IPbrSphereLight { Vector3 Position { get; } float Radius { get; } Color3 Color { get; } Vector3...
Source/CarShack/Domain/Customer/CustomerService.cs
bluehands/WebApiHypermediaExtensions
20
7056518
using System; using System.Collections.Generic; using CarShack.Util; namespace CarShack.Domain.Customer { public static class CustomerService { private static readonly Random random = new Random(33); private static readonly NameGenerator nameGenerator = new NameGenerator(12); private s...
SmartHive.Services/SmartHive.Common/Data/Office.cs
microsoft/MTC_SmartHive
6
7056520
<reponame>microsoft/MTC_SmartHive using System; using System.Collections.Generic; namespace SmartHive.Common.Data { public partial class Office { public Office() { Level = new HashSet<Level>(); } public int OfficeId { get; set; } public string OfficeCode { ...
0685/Program.1.cs
twilightgod/PlayLeetcode
1
7056521
<filename>0685/Program.1.cs using System; using System.Collections.Generic; namespace _0685_1 { public class UnionFind { Dictionary<int, int> root = new Dictionary<int, int>(); Dictionary<int, int> rank = new Dictionary<int, int>(); public int Find(int x) { if (!ro...
src/SFA.DAS.EmployerDemand.Domain.UnitTests/Locations/Api/WhenBuildingTheGetLocationsApiRequest.cs
uk-gov-mirror/SkillsFundingAgency.das-employerdemand-web
0
7056522
using AutoFixture.NUnit3; using FluentAssertions; using NUnit.Framework; using SFA.DAS.EmployerDemand.Domain.Locations.Api.Requests; namespace SFA.DAS.EmployerDemand.Domain.UnitTests.Locations.Api { public class WhenBuildingTheGetLocationsApiRequest { [Test, AutoData] public void Then_The_Url_I...
src/Telegram.BotAPI/Available Methods/setMyDefaultAdministratorRights.cs
Eptagone/Telegram-API
1
7056523
// Copyright (c) 2022 <NAME>. // Licensed under the MIT License, See LICENCE in the project root for license information. using System; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Telegram.BotAPI.AvailableTypes; #nullable enable namespace Telegram.BotAPI.Availabl...
g7/Class 4/PizzaApp/PizzaApp.Web/Views/Order/Order.cshtml
sedc-codecademy/skwd8-08-aspnetmvc
0
7056524
@model List<OrderViewModel> <h1>@ViewBag.Title</h1> <h3>Your orders: </h3> @{ if (Model.Count == 0) { var orderControler = "order"; var action = "placeOrder"; <h5>You have no orders.</h5> @Html.Button("submit", "Place order", new List<string> { "btn", "btn-primary"...
Assets/_Project/Scripts/DialogSystem/UI/WaitForInputIndicator.cs
Grumpy-Bear-Games/Duality-Prototype
0
7056525
using UnityEngine; namespace DualityGame.DialogSystem.UI { public class WaitForInputIndicator : MonoBehaviour { public void Show() => gameObject.SetActive(true); public void Hide() => gameObject.SetActive(false); } }
FireFinder.Logic/Models/RootObject.cs
scharph/FireFinder
1
7056526
<reponame>scharph/FireFinder using System; using System.Collections.Generic; namespace FireFinder.Logic.Models { public class RootObject { public DateTime LastRefresh { get; set; } public DateTime Published { get; set; } public String Title { get; set; } public int? District { ...
2015/Day08.cs
boombuler/adventofcode
0
7056527
namespace AdventOfCode._2015; using System.Linq; using AdventOfCode.Utils; class Day08 : Solution { private static long CountChars(string input) => input.Lines().Select(s => (long)s.Trim().Length).Sum(); private static long CountUnquoted(string input) { long sum = 0; foreach (var...
ExtensionsTests/StartupTest.cs
Code-Artist/CodeArtEng.Extensions
3
7056529
<filename>ExtensionsTests/StartupTest.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Microsoft.Win32; namespace System.Windows.Forms { [TestFixture] public class StartupTest { [Test] public...
SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/WebSite/Consent/ConsentActionsFixture.cs
appkins/SimpleIdentityServer
71
7056530
<filename>SimpleIdentityServer/tests/SimpleIdentityServer.Core.UnitTests/WebSite/Consent/ConsentActionsFixture.cs<gh_stars>10-100 using Moq; using SimpleIdentityServer.Core.Parameters; using SimpleIdentityServer.Core.WebSite.Consent; using SimpleIdentityServer.Core.WebSite.Consent.Actions; using System; using System.T...
02. CSharp Advanced/03. Numeral Systems/BinaryShort/BinaryShort.cs
1337sh33p/TelerikAcademy
0
7056531
<reponame>1337sh33p/TelerikAcademy using System; using System.Text; namespace BinaryShort { class BinaryShort { static void Main() { var inputNumber = short.Parse(Console.ReadLine()); bool isPositive = inputNumber >= 0; if (isPositive) { ...
ProjetoAcessoUsuario/Conta_Admin.Designer.cs
PotatoMexicano/Sistema-DS
0
7056532
namespace ProjetoAcessoUsuario { partial class Conta_Admin { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
Source/Qactive/QactiveTraceSources.cs
RxDave/Qactive
160
7056533
using System.Diagnostics; namespace Qactive { public static class QactiveTraceSources { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes", Justification = "Using a similar pattern to PresentationTraceSources. This is a cross-cutting prope...
Unity Project/Assets/SCRIPT/BuildingMenu.cs
alessandraurso/gameoff2020
22
7056534
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BuildingMenu : MonoBehaviour { public List<BuildingToggle> choices; public BuildingObject selectedBuilding; public Text title; public Text description; public Transform buildingHolder...
src/Areas/Me/Pages/Index.cshtml.cs
jessejburton/socialarts.club
0
7056535
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.Rendering; using Newtonsoft.Json; using socialarts.club.Data; using socialarts....
src/PlainElastic.Net.Tests/Serialization/When_status_command_result_deserialized.cs
skbkontur/PlainElastic.Net
90
7056536
<filename>src/PlainElastic.Net.Tests/Serialization/When_status_command_result_deserialized.cs using Machine.Specifications; using PlainElastic.Net.Serialization; using PlainElastic.Net.Utils; namespace PlainElastic.Net.Tests.Serialization { [Subject(typeof(JsonNetSerializer))] class When_status_command_result_...
Facilis.Core/Facilis.Core/Helpers/UserRelatedHelper.cs
Zay-Dev/Facilis.Core
0
7056537
using Facilis.Core.Abstractions; using System; using System.Linq; using System.Linq.Expressions; namespace Facilis.Core.Helpers { public static class UserRelatedHelper { public static IQueryable<T> WhereEnabledByUserId<T>( this IEntities<T> entities, string userId, ...
Scripts/CreditPlay.cs
Velkur-Bharath/Platformer
0
7056539
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CreditPlay : MonoBehaviour { public Animator anim; // Start is called before the first frame update void Start() { } // Update is called once per frame void Updat...
src/StatusAggregator/Manual/EditStatusMessageManualChangeHandler.cs
nikhgup/NuGet.Jobs
44
7056540
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using NuGet.Services.Status.Table; using NuGet.Services.Status.Table.Manual; using StatusAggregator.Table; using System; using System.Threading.Tasks; ...
Ragnarok/Update/Updater.cs
ebifrier/Ragnarok
8
7056541
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.IO; using System.Net; using System.Text; using System.Threading; namespace Ragnarok.Update { /// <summary> /// アプリの更新処理を行います。 /// </summary> /// <remark...
00-Core/Core.Data/Validation/Annotations/DecimalValidationAttribute.cs
amkherad/AMKs-Gear.net
2
7056542
<gh_stars>1-10 //using System; //using WMS.framework.core.objects.attributes; //using WMS.framework.data.validators; //namespace WMS.framework.data.modelbase.attributes //{ // [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] // public class DecimalValidationAttribute : ValidationAttribute // {...
src/BinaryFormatter/Writer/TypeInfoGetterContext.cs
xfrogcn/Xfrogcn.BinaryFormatter
13
7056543
using System; using System.Collections.Generic; using System.Text; namespace Xfrogcn.BinaryFormatter { public class TypeInfoGetterContext { public ushort TypeSeq { get; internal set; } } }
PSS/MZXRM.PSS.Data/Supporting.cs
mzxrmsolutions/PetrocoalSalesSystem
0
7056544
<filename>PSS/MZXRM.PSS.Data/Supporting.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MZXRM.PSS.Data { public class Reference { public Guid Id; public string Name; public static Reference GetNull() { return new Re...
Excel-MyXls/Assets/Excel-MyXls/Scripts/ExcelManager.cs
itsxwz/Work
0
7056545
<reponame>itsxwz/Work<gh_stars>0 namespace UnityFramework { using org.in2bits.MyXls; using System.Collections.Generic; using System.IO; using UnityEngine; public class ExcelManager : MonoBehaviour { public string m_ExcelPath; //Excel路径 public string m_ExcelName; //Excel名称 ...
lang/csharp/src/IFC/IfcRelReferencedInSpatialStructure.g.cs
jkrmc12/IFC-gen
28
7056546
<gh_stars>10-100 using System; using System.ComponentModel; using System.Collections.Generic; using Newtonsoft.Json; using System.Linq; using STEP; namespace IFC { /// <summary> /// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcrelreferencedinspatialstructure.htm"/> /// </summary> pub...
src/Compiler/Compilation.cs
TimoRoth/mango-sdk
0
7056547
<reponame>TimoRoth/mango-sdk using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using Mango.Compiler.Binding; using Mango.Compiler.Syntax; namespace Mango.Compiler { public sealed class Compilation { private readonly string _applicationName; ...
src/SoftGage.EntityFramework.Migrations/Annotations/NonClusteredAttribute.cs
DarkCompiled/entity-framework-migrations-extensions
1
7056548
using System; namespace SoftGage.EntityFramework.Migrations.Annotations { /// <summary> /// Preventes a Primary Key to create a Clustered Index. /// </summary> [AttributeUsage(AttributeTargets.Property)] public sealed class NonClusteredAttribute : Attribute { } }
Third year/Segundo Semestre/InventarisPro/Modelo/Entidades/Historial.cs
seba-m/University-Projects
1
7056549
using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace InventarisPro.Modelo.Entidades { [Table("Historial")] public partial class Historial { [Key] [StringLength(10)] [DisplayName("Rut Trabajador")] ...
backend/Omnikeeper/GraphQL/Types/CITypes.cs
max-bytes/omnikeeper
10
7056551
<filename>backend/Omnikeeper/GraphQL/Types/CITypes.cs using GraphQL; using GraphQL.DataLoader; using GraphQL.Execution; using GraphQL.Language.AST; using GraphQL.Types; using Omnikeeper.Base.Entity; using Omnikeeper.Base.Entity.DataOrigin; using Omnikeeper.Base.Entity.DTO; using Omnikeeper.Base.Model; using Omnikeeper...
src/Never/Remoting/Http/Response.cs
shelldudu/never
17
7056552
using Never; using Never.Sockets.AsyncArgs; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Never.Remoting.Http { /// <summary> /// 响应参数 /// </summary> public class Resp...
Project/OauthControllers/OAuthSettingController.cs
xpnas/itemplate
0
7056553
using Project.Data.Models.Project; using Project.Data.Models.System; using Project.Oauth; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Linq; namespace Project.OauthControllers { [ApiController] [Route("api/settingsys")] public class OAuthSettingController : BaseCo...
src/Minesweeper/Models/MinesweeperGridIterator.cs
Minesweeper-6-Team-Project-Telerik/Minesweeper-6
0
7056554
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MinesweeperGridIterator.cs" company="Telerik Academy"> // Teamwork Project "Minesweeper-6" // </copyright> // <summary> // The minesweeper grid iterator. // </summary> // ----...
Assets/Editor/BuildTools/Scripts/BuildSetupEntry.cs
studentutu/unity-build-tools
0
7056555
using System; using System.Collections.Generic; using UnityEditor; namespace Himeki.Build { [Serializable] public class BuildSetupEntry { public bool enabled = true; public string buildName = ""; public BuildTarget target = BuildTarget.NoTarget; public bool debugBuild = fa...
aspnet-core/src/fuwo.Core/Authorization/PermissionChecker.cs
zhaoqishan/wufo
0
7056556
using Abp.Authorization; using fuwo.Authorization.Roles; using fuwo.Authorization.Users; namespace fuwo.Authorization { public class PermissionChecker : PermissionChecker<Role, User> { public PermissionChecker(UserManager userManager) : base(userManager) { } } }
softWeb/Views/Customers/Index.cshtml
Viniiixz/softWeb
0
7056557
@{ string[] TableHeaders = new string[] { "ID", "Nome", "Aniversário", "Estado Civil", "Gênero ", "Email", "Ocupação", "Endereço", "Telefone" }; } <h1>Cus...
Scribble/ValueTuple/Reflection/Primitives.cs
ufcpp/UfcppSample
126
7056558
<reponame>ufcpp/UfcppSample using System; using System.Collections.Generic; using System.Linq; namespace ValueTuples.Reflection { class SimpleTypeInfo<T> : RecordTypeInfo { public override Type Type => typeof(T); public override bool IsSimple => true; public override IEnumerable<Record...
test/Wangkanai.Detection.Test/VersionTests.cs
Rachit43/Detection
1
7056559
// Copyright (c) 2018 <NAME>, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using Xunit; namespace Wangkanai.Detection.Test { public class VersionTests { [Theory] [InlineData("1")] [InlineData("1.1")] [InlineD...
ImGuiExtension/TextExtension.cs
SheepGoMeh/SideHUD
2
7056560
using System; using System.Numerics; using ImGuiNET; namespace SideHUDPlugin.ImGuiExtension { public static class TextExtension { private struct FontGlyph { #pragma warning disable 649 public uint Codepoint; public float AdvanceX; public float X0, Y0, X1, Y1; public float U0, V0, U1, V1; #pragma war...
tests/SkiaSharp.Android.Tests/AndroidTests.cs
jonathanpeppers/SkiaSharp
2,793
7056561
<reponame>jonathanpeppers/SkiaSharp using Android.Graphics; using SkiaSharp.Tests; using Xunit; namespace SkiaSharp.Views.Android.Tests { public abstract class AndroidTests : SKTest { protected static void ValidateTestBitmap(Bitmap bmp, byte alpha = 255) { Assert.NotNull(bmp); Assert.Equal(40, bmp.Width);...
Service.Sdk/Service.Sdk/Service.Sdk/Services/OperationResult.cs
MichaelDiers/ShopNothingToBuy
0
7056563
<reponame>MichaelDiers/ShopNothingToBuy<filename>Service.Sdk/Service.Sdk/Service.Sdk/Services/OperationResult.cs namespace Service.Sdk.Services { using Service.Sdk.Contracts.Crud.Base; /// <summary> /// Describes the result of a service operation. /// </summary> /// <typeparam name="TEntry">The type of ...
Books/ViewModels/BookViewModel.cs
RodionChachura/books-manager
0
7056564
<gh_stars>0 using AutoMapper; using Books.Abstraction; using Books.Commands; using Books.Models; using Books.Models.Validation; using System.Collections.Generic; using System.ComponentModel; using System.Threading; using System.Windows.Input; namespace Books.ViewModels { public class BookViewModel : IViewModel, I...
Runtime/Internal/FinalState.cs
CoderGamester/com.gamelovers.statechart
0
7056565
<filename>Runtime/Internal/FinalState.cs using System; using System.Collections.Generic; // ReSharper disable CheckNamespace namespace GameLovers.Statechart.Internal { /// <inheritdoc cref="IFinalState"/> internal class FinalState : StateInternal, IFinalState { private readonly IList<Action> _onEnter = new List<...
Data-Structures-and-Algorithms/02. Linear-Data-Structures/TelerikDSALinearDataStructuresHW/Task9PrintFirst50Members/StartUp.cs
shopOFF/TelerikAcademyCourses
0
7056566
using System; using System.Collections.Generic; namespace Task9PrintFirst50Members { public class StartUp { internal static Queue<int> SequenceCreator(int number) { int numberOfMembersToPrint = 50; var container = new Queue<int>(); container.Enqueue(number);...
UniCade Interface (Alpha Prototype)/UniCadeCmd/LicenseEntry.cs
benlen10/UniCade-Cmd-Interface-Alpha
0
7056567
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 UniCadeCmd { public partial class LicenseEntry : Form { public LicenseEntry() ...
Gorgon/Gorgon.Graphics.Core/Pipeline/GorgonVertexBufferBinding.cs
Tape-Worm/Gorgon
55
7056568
<filename>Gorgon/Gorgon.Graphics.Core/Pipeline/GorgonVertexBufferBinding.cs<gh_stars>10-100 #region MIT. // // Gorgon. // Copyright (C) 2012 <NAME> // // 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...
lab6_pacman_master_new/pacman-master/Pacman/Classes/FormElements.cs
WhyHollow/lab_1_IntelectSystems
0
7056569
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing; namespace Pacman { class FormElements { public Label PlayerOneScoreText = new Label(); public Label HighScoreText = new Label();...
src/DataWorx.Core/Attributes/NameFieldAttribute.cs
Damovisa/DataWorx
3
7056570
<filename>src/DataWorx.Core/Attributes/NameFieldAttribute.cs using System; using System.Linq; using System.Collections.Generic; using DataWorx.Core.FieldBuilders; namespace DataWorx.Core.Attributes { public class NameFieldAttribute : FieldAttribute { public NameFieldAttribute(int min, int max) ...
src/GraphQL.EntityFramework/PropertyAccess/Property.cs
timvandesteeg/GraphQL.EntityFramework
1
7056571
<reponame>timvandesteeg/GraphQL.EntityFramework using System; using System.Linq.Expressions; using System.Reflection; class Property<TInput> { public Func<TInput, object> Func; public ParameterExpression SourceParameter; public Expression Left; public Type PropertyType; public Expression<Func<TInp...
AwesomeMvcDemo/AwesomeMvcDemo/Controllers/Awesome/MultiLookup/MealsTableLayoutMultiLookupController.cs
kansiris/AwesomeMvc
0
7056572
using System.Linq; using System.Web.Mvc; using AwesomeMvcDemo.Models; using Omu.AwesomeMvc; namespace AwesomeMvcDemo.Controllers.Awesome.MultiLookup { public class MealsTableLayoutMultiLookupController : Controller { public ActionResult GetItems(int[] v) { v = v ?? new int[] { }; ...
src/VerifyBot/Services/WorldVerificationService.cs
InfamousPride/VerifyBot
0
7056573
using Discord; using System; using System.Threading.Tasks; using VerifyBot.Models; namespace VerifyBot.Services { public class WorldVerificationService { private readonly Manager manager; private readonly UserStrings strings; public WorldVerificationService(Manager manager, UserStrin...
03.CSharpDev/01.Advanced/01.StacksAndQueues-Exercise/07.BalancedParenthesis/BalancedParenthesis.cs
Steffkn/SoftUni
1
7056574
 namespace _07.BalancedParenthesis { using System; using System.Collections.Generic; public class BalancedParenthesis { static void Main() { var input = Console.ReadLine(); var bracketsStack = new Stack<char>(); for (int i = 0; i < input.Length; i+...
Assets/Scripts/GenerateEnemies.cs
dreese33/Reign-Forest
3
7056575
using System.Collections; using UnityEngine; using UnityEngine.UI; public class GenerateEnemies : MonoBehaviour { //Replace with pooling later [SerializeField] GameObject zombie; [SerializeField] public Text waveLabel; int currentSpawnValue = 20; bool beingHandled = false; //Gam...
UniLerp.cs
JordanRobinson/unilerp
1
7056576
<filename>UniLerp.cs using System.Collections.Generic; using System.Linq; using UnityEngine; public static class UniLerp { private static readonly List<Lerpable> Lerpables = new List<Lerpable>(); /// <summary> /// Checks all lerpable items set up and steps through each, applying the movement req...
Tool-Old-Versions/Version-Three/PNP.Tool.UI/Core/Main/IMainView.cs
Granock/PNP-Tool
0
7056577
<gh_stars>0 using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using PNP.Tool.Core.BaseObj; using PNP.Tool.Core.Enums.Modules; using PNP_UI.Base.Interfaces; namespace PNP_UI.Core.Main { public interface IMainView : IBaseView { #region Actions ///...
aula-02/BuscaCep/BuscaCep.Mobile/BuscaCep.Mobile/MainPage.xaml.cs
WELL1NGTON/Introducao-Xamarin.Forms-2020
1
7056578
using BuscaCep.Mobile.ViewModels; using Xamarin.Forms; namespace BuscaCep.Mobile; public partial class MainPage : ContentPage { BuscaCepViewModel ViewModel { get => ((BuscaCepViewModel)BindingContext); } public MainPage() { InitializeComponent(); } public class ViaCepDto { ...
src/tests/FluiTec.AppFx.Networking.Mail.Tests/Helpers/MailTransportMockHelper.cs
FluiTec/FluiTec.AppFx.Networking
0
7056579
<filename>src/tests/FluiTec.AppFx.Networking.Mail.Tests/Helpers/MailTransportMockHelper.cs<gh_stars>0 using System.Linq; using MailKit; using MailKit.Security; using MimeKit; using Moq; namespace FluiTec.AppFx.Networking.Mail.Tests.Helpers { public static class MailTransportMockHelper { public static ...
src/csharpRoseDemo/Identity/AuthData.cs
primaverabss/rose-extensibility-samples
2
7056580
<reponame>primaverabss/rose-extensibility-samples  namespace RoseSample.Identity { public class AuthData { /// <summary> /// The account key. /// </summary> public string AccountKey { get; set; } /// <summary> /// The Subscription Key. /// </summary> ...
src/Controller/Engine/Visualization/Changes/NextCompetitorNumberBlink.cs
bkoelman/DogAgilityCompetitionManagemen
0
7056581
<reponame>bkoelman/DogAgilityCompetitionManagemen<gh_stars>0 using DogAgilityCompetition.Circe; namespace DogAgilityCompetition.Controller.Engine.Visualization.Changes { /// <summary> /// A visualization change that starts/stops number blinking for next competitor. /// </summary> public sealed class Ne...
src/Android/Google.Apis.Android.Generated/Google.Apis.Dfareporting.v1.1.cs
Dmiri/Xamarin.google-apis
40
7056582
<gh_stars>10-100 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.4984 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-...
Project-Aurora/Profiles/Guild Wars 2/GameEvent_GW2.cs
snichola/Aurora
0
7056583
<reponame>snichola/Aurora using System.Collections.Generic; using Aurora.EffectsEngine; using Aurora.Profiles.Aurora_Wrapper; namespace Aurora.Profiles.Guild_Wars_2 { public class GameEvent_GW2 : GameEvent_Aurora_Wrapper { public GameEvent_GW2() { profilename = "GW2"; } ...
KeePass-2.34-Source-Patched/KeePass/DataExchange/Formats/AnyPwCsv144.cs
retr0-13/KeeThief
355
7056585
<filename>KeePass-2.34-Source-Patched/KeePass/DataExchange/Formats/AnyPwCsv144.cs /* KeePass Password Safe - The Open-Source Password Manager Copyright (C) 2003-2016 <NAME> <<EMAIL>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
SkylinesMultiplayer/NetworkCarObject.cs
devenlil/Skylines-Multiplayer
0
7056587
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace SkylinesMultiplayer { public class NetworkCarObject { public int ID { get; set; } public int CarID { get; set; } public GameObject GameObject { get; set; } } }
LUIS/Authoring/LUIS.Authoring.Sample/Pages/Management/AppDetailsPage.cs
GitHubRepoDescription/cognitive-services-dotnet-sdk-samples
107
7056588
<reponame>GitHubRepoDescription/cognitive-services-dotnet-sdk-samples<gh_stars>100-1000 namespace Microsoft.Azure.CognitiveServices.LUIS.Authoring.Sample.Pages.Management { using Language.LUIS.Authoring; using System; class AppDetailsPage : BasePage, IAppPage { public Guid AppId { get; set; } ...
src/SuperSocket.Udp/UdpChannelCreatorFactory.cs
yangzhinong/SuperSocket
0
7056589
using System; using System.Buffers; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using SuperSocket.Channel; using SuperSocket.ProtoBase; namespace SuperSocket.Udp { class UdpChannelCreatorFactory : IChannelCreatorFactory { private readonl...
03. Exercise Code First/HospitalDatabase/Infrastructure/DatabaseSeed/Generators/MedicamentGenerator.cs
thelad43/Databases-Advanced-Entity-Framework-SoftUni
0
7056590
<gh_stars>0 namespace HospitalDatabase.Infrastructure.DatabaseSeed.Generators { using Data; using Data.Models; public class MedicamentGenerator { public static void InitialMedicamentSeed(HospitalDbContext db) { var medicamentNames = new string[] { ...
LibQQProtocol/TlvLib/Tlvs/TLV_030F.cs
mikuKeeper/QQBot
1
7056591
using LibQQProtocol.Structs; using LibQQProtocol.Util; using System.IO; using System.Text; namespace LibQQProtocol.TlvLib.Tlvs { [TlvTag(TlvTags.ComputerName)] internal class TLV030F : BaseTLV { public TLV030F() { this.Command = 0x030F; this.Name = "SSO2::TLV_ComputerName"; ...