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
ModelGenerator/Model/SqlWord.cs
yswenli/WEF
9
7064746
/**************************************************************************** *Copyright (c) 2021 Oceania All Rights Reserved. *CLR版本: 4.0.30319.42000 *机器名称:LP20210416002 *公司名称:Oceania *命名空间:WEF.ModelGenerator.Model *文件名: SqlWord *版本号: V1.0.0.0 *唯一标识:b8d23148-cfc1-4afc-b8e3-5f67dec79264 *当前的用户域:OCEANIA *创建人: Mason.Wen...
async-dolls/5-AsyncDolls/Dequeuing/MessageReceiverEndpointConfigurationReadonlyExtensions.cs
danielmarbach/async-dolls
68
7064747
<reponame>danielmarbach/async-dolls<filename>async-dolls/5-AsyncDolls/Dequeuing/MessageReceiverEndpointConfigurationReadonlyExtensions.cs namespace AsyncDolls.Dequeuing { static class MessageReceiverEndpointConfigurationReadonlyExtensions { public static string DestinationQueue(this EndpointConfiguratio...
Assets/Scripts/LevelName.cs
gioragutt/unity-kapara-game
9
7064748
<filename>Assets/Scripts/LevelName.cs<gh_stars>1-10 using Assets.Scripts; using UnityEngine; using UnityEngine.UI; public class LevelName : MonoBehaviour { public Text levelNameText; void Update() { if (GameManager.Get().GameHasEnded) levelNameText.text = ""; else ...
Source/TheBoxSoftware.Documentation/Exporting/ExportConfigFile.cs
barry-jones/live-documenter
58
7064749
 namespace TheBoxSoftware.Documentation.Exporting { using System; using System.Collections.Generic; using System.IO; using System.Xml; /// <summary> /// Reads a file that contains all of the information needed to perform an export. /// </summary> /// <remarks> /// This file is a zi...
src/VehicleRepairLog.Infrastructure/Entities/User.cs
Taelfer/VehicleRepairLog
0
7064750
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace VehicleRepairLog.Infrastructure.Entities { public class User { [Key] public int Id { get; set; } [MaxLength(100)] public string FirstName { get; set; } [MaxLength(10...
Unity/Assets/Cold/UIControls/VirtualizingTreeView/VirtualizingScrollRect.cs
dayfox5317/ET_Lua
1
7064751
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; namespace Battlehub.UIControls { /// <summary> /// Virtualize Items Horizontally or Vertically /// </summary> public enum VirtualizingMode { Horizontal, Vertical,...
Assets/Scripts/Models/PieceModel.cs
endovitsky/Match3
0
7064752
<gh_stars>0 using Helpers; using UniRx; using UnityEngine; using Utils; namespace Models { public class PieceModel: ISelectable { public Color Color => _color; public ReactiveProperty<SquareModel> SquareModel = new ReactiveProperty<SquareModel>(); private Color _color; public ...
test/CLITest/Performance/Helper/FileUploadOperation.cs
EmmaZhu/pshtest
0
7064753
using Management.Storage.ScenarioTest.Util; using Microsoft.WindowsAzure.Storage.File; using StorageTestLib; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Management.Storage.ScenarioTest.Performance.Helper { public class FileUploadOperation : Abst...
src/ITGlobal.MarkDocs.Search/SearchOptions.cs
ITGlobal/MarkDocs
4
7064754
using JetBrains.Annotations; namespace ITGlobal.MarkDocs.Search { /// <summary> /// Options for search extension /// </summary> [PublicAPI] public sealed class SearchOptions { /// <summary> /// Path to lucene index directory /// </summary> [NotNull] ...
Microsoft.Azure.Cosmos.Encryption/src/QueryDefinitionExtensions.cs
prasadu-microsoft/azure-cosmos-dotnet-v3
0
7064755
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Encryption { using System; using System.IO; using System.Threading; using System....
GardenersMultitool.Domain/ValueObjects/EcologicalFunctions/Nurse/Nurse.cs
RedSyndicate/GardenerMultitool
0
7064756
using System; using System.Collections.Generic; using CSharpFunctionalExtensions; namespace GardenersMultitool.Domain.ValueObjects.EcologicalFunctions.Nurse { public class Nurse : ValueObject, INurse, IEcologicalFunctionFactory { public string Label => "Nurse"; public static INurse Create(str...
ARM_dolg/DBentities/Lab.cs
n0bleman-null/awp_StudyArrear
0
7064757
<filename>ARM_dolg/DBentities/Lab.cs using System; using System.Collections.Generic; #nullable disable namespace ARM_dolg { public partial class Lab { public Lab() { StudentLabs = new HashSet<StudentLab>(); } public long Id { get; set; } public long Группа...
AlipaySDKNet/Response/ZhimaCreditPeLevelQueryResponse.cs
Varorbc/alipay-sdk-net-all
0
7064758
<reponame>Varorbc/alipay-sdk-net-all<gh_stars>0 using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// ZhimaCreditPeLevelQueryResponse. /// </summary> public class ZhimaCreditPeLevelQueryResponse : AopResponse { /// <summary> /// 芝麻信用对于每一次请求返回的业...
src/LightVx/Validators/GuidValidator.cs
TjWheeler/LightVx
4
7064759
using System; namespace LightVx.Validators { public class GuidValidator : ValidatorBase { protected override void Validate() { if (_Input == null || _Input is string && (string)_Input == string.Empty) { Succeed(); return; } ...
src/HorseGame.Generator/Program.cs
Anduin2017/HorseGame
2
7064760
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json; using System.Threading.Tasks; namespace HorseGame.Generator { public class Program { public static void Main(string[] args) { var generator = new SuitableGameGenerator(); ...
gate/Bost.Proto/Types/McInt.cs
SlenderEmpire/CraftAI
0
7064761
using System; using System.Linq; namespace Bost.Proto.Types { public class McInt { // bytes = 4 public static bool TryParse(ref byte[] buffer, out int result) { result = BitConverter.ToInt32(buffer[0..4].Reverse().ToArray()); buffer = buffer[4..]; return true; } public static byte[] ToBytes(int v...
dev/products/eboards/pm/Polestar_PM/Polestar_PM.OpsGUI/GameStatsDisplay.cs
business-sims-toolkit/business-sims-toolkit
0
7064762
<reponame>business-sims-toolkit/business-sims-toolkit using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Data; using System.Windows.Forms; using System.Xml; using System.Globalization; using System.Drawing.Text; using System.IO; using ...
sapHowmuch.VSExtension/Utilities/SHCONT.cs
shockzinfinity/sapHowmuch.Base
7
7064763
<reponame>shockzinfinity/sapHowmuch.Base using System; namespace sapHowmuch.VSExtension.Utilities { partial class LocateFile { [Flags] internal enum SHCONT : ushort { SHCONTF_CHECKING_FOR_CHILDREN = 0x10, SHCONTF_ENABLE_ASYNC = 0x8000, SHCONTF_FASTITEMS = 0x2000, SHCONTF_FLATLIST = 0x4000, SHCO...
src/Modules/StatCan.OrchardCore.Hackathon/Indexes/HackathonUsersIndex.cs
hyzx86/StatCan.OrchardCore
45
7064764
<filename>src/Modules/StatCan.OrchardCore.Hackathon/Indexes/HackathonUsersIndex.cs using OrchardCore.ContentManagement; using OrchardCore.Users.Models; using System; using YesSql.Indexes; namespace StatCan.OrchardCore.Hackathon.Indexes { public class HackathonUsersIndex : MapIndex { public string UserI...
PasswordGenerator/About.Designer.cs
johnfultonorg/passwordgenerator
0
7064765
namespace PasswordGenerator { partial class About { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
src/CheckoutSdk/Tokens/TokenResponse.cs
neal-nankivell-cko/checkout-sdk-net
0
7064766
<filename>src/CheckoutSdk/Tokens/TokenResponse.cs using System; using Checkout.Common; namespace Checkout.Tokens { /// <summary> /// Indicates successful token creation containing the token details. /// </summary> public class TokenResponse : Resource { /// <summary> /// Gets the to...
src/AppleFitnessWorkoutMapper/Program.cs
martincostello/apple-fitness-workout-mapper
3
7064767
<filename>src/AppleFitnessWorkoutMapper/Program.cs // Copyright (c) <NAME>, 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.IO.Compression; using MartinCostello.AppleFitnessWorkoutMapper; using MartinCostello.Appl...
HelloWorld.V4.Web.Write/App_Start/AutomapperConfiguration.cs
superchar/hello-world-app
1
7064768
<reponame>superchar/hello-world-app  using AutoMapper; namespace HelloWorld.V4.App_Start { public class AutomapperConfiguration { public static void Configure() { Mapper.Initialize(c => { c.CreateMap<Write.Infrastructure.HelloWorld, Write.Domain.HelloWor...
src/sdk/PnP.Core.Transformation.SharePoint/Extensions/ListItemExtensions.cs
PaoloPia/pnpcore
0
7064769
using Microsoft.SharePoint.Client; using PnP.Core.Transformation.SharePoint.Model; using System; using System.Collections.Generic; using System.Text; namespace PnP.Core.Transformation.SharePoint.Extensions { /// <summary> /// Extension class for ListItem objects /// </summary> internal static class Li...
ConspectoPatronum/Controllers/TeachersController.cs
comsq/conspecto-patronum
0
7064771
<reponame>comsq/conspecto-patronum using ConspectoPatronum.Core.Services; using ConspectoPatronum.Domain; using ConspectoPatronum.Models; using System; using System.Web.Mvc; namespace ConspectoPatronum.Controllers { public class TeachersController : Controller { private readonly ISubjectsService _subj...
ManiacEditor/Entity Renders/Normal Renders/Generic/PlaneSwitch.cs
Tannermanner2008/ManiacEditor-GenerationsEdition
10
7064772
using System; using RSDKv5; using System.Linq; namespace ManiacEditor.Entity_Renders { public class PlaneSwitch : EntityRenderer { public override void Draw(Structures.EntityRenderProp Properties) { DevicePanel d = Properties.Graphics; Classes.Scene.EditorEntity e = Pro...
Wobble/Graphics/Primitives/RectangleSprite.cs
AndyTechGuy/Wobble
67
7064773
<gh_stars>10-100 using Microsoft.Xna.Framework; using Wobble.Graphics.Sprites; namespace Wobble.Graphics.Primitives { /// <summary> /// A rectangle that isn't filled in. /// </summary> public class RectangleSprite : Sprite { /// <summary> /// How thick the rectangle border ...
Plugins/DokoDemoPainter/Scripts/DokoDemoPainterPen.cs
emilianavt/DokoDemoPainter
41
7064774
// Copyright (c) 2018 Emiliana (twitter.com/Emiliana_vt) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, ...
Sweet.Jayson/JaysonTypeMemberCache.cs
1bcrona/Sweet.Jayson
6
7064775
<reponame>1bcrona/Sweet.Jayson<gh_stars>1-10 # region License // The MIT License (MIT) // // Copyright (c) 2015, <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 the Software without r...
KUnit/Assert.cs
Job79/KUnit
5
7064776
<gh_stars>1-10 using System; using System.Collections.Generic; using KUnit.Core; using KUnit.Core.Exceptions; namespace KUnit { public static class Assert { /// <summary> /// Throws an TestCanceledException and fails the test /// </summary> public static void Fail(string message...
Utility/MyShell/MyShell/SystemInfo.cs
Dahjochri/Misc-Code
0
7064777
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MyShell { static class SystemInfo { public static string Hostname { get { return System.Environment.MachineName; } } p...
src/Util/Native.cs
BNETDocs/MBNCSUtil
5
7064778
<filename>src/Util/Native.cs /* MBNCSUtil -- Managed Battle.net Authentication Library Copyright (C) 2005-2008 by <NAME> 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 a...
LibMinecraft/Model/Blocks/DandelionBlock.cs
vatt849/LibMinecraft
1
7064779
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LibMinecraft.Model.Blocks { /// <summary> /// A Dandelion Block (ID=37) /// </summary> public class DandelionBlock : Block { /// <summary> /// Returns a block's ID. /// Dandelion...
src/Abstractions/IDocument.cs
albedoteam/sdk-datalayeraccess
0
7064780
<gh_stars>0 namespace AlbedoTeam.Sdk.DataLayerAccess.Abstractions { using System; using Migrations.Documents.Structs; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; public interface IDocument { [BsonId] [BsonRepresentation(BsonType.String)] ObjectId Id...
Technical Support/Homework Assignments/KingSurvival/KingSurvivalUnitTests/ChessboardManagerTest.cs
vic-alexiev/TelerikAcademy
4
7064781
// ******************************** // <copyright file="ChessboardManagerTest.cs" company="Telerik Academy"> // Copyright (c) 2013 Telerik Academy. All rights reserved. // </copyright> // // ******************************** namespace KingSurvivalUnitTests { using System; using KingSurvival; using Microsof...
ITShare.CSharp.Module1.ConditionalStatements/Program.cs
mahmoodFcis/aspnet-core-samples
1
7064782
using System; namespace ITShare.CSharp.Module1.ConditionalStatements { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); // Switch Sample string name = "ali"; string result = ""; switch(name.Length...
Source/SandboxCS/Wrapper/CMagazine.cs
shanefarris/CoreGameEngine
3
7064783
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.10 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
Runtime/SharedResources/Scripts/SnapZoneManager.cs
ExtendRealityLtd/Tilia.Interactions.SnapZone.Unity
3
7064784
namespace Tilia.Interactions.SnapZone { using Tilia.Interactions.Interactables.Interactables; using UnityEngine; using Zinnia.Extension; /// <summary> /// A helper class for managing scene snap zones. /// </summary> public class SnapZoneManager : MonoBehaviour { /// <summary> ...
csharp/NShovel/Shovel/Api.cs
mbrezu/Shovel
26
7064785
// Copyright (c) 2012, <NAME> // 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 // notice, this list of conditions ...
Unity/Assets/MiniatureGardenSound/Scripts/Extensions/SceneObjectExtensions.cs
MizoTake/MiniatureGardenSound
1
7064786
namespace MiniatureGardenSound.Extensions { public static class SceneObjectExtensions { public static bool IsEmpty(this SceneObject sceneObject) { return (string)sceneObject == ""; } } }
CsvGnome/Writer.cs
benmosheron/CsvGnome
1
7064787
<filename>CsvGnome/Writer.cs<gh_stars>1-10 using CsvGnome.Fields; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace CsvGnome { public class Writer { Configuration.IProvider ConfigurationProvider; public Writer(Configuration.IProvi...
Assets/_Game/Scripts/Mechanics/Ship/WeaponControls.cs
realimatech/AsteroidZ
0
7064788
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Events; using static UnityEngine.InputSystem.InputAction; namespace realima.asterioidz { public class WeaponControls : MonoBehaviour { [SerializeField] Rigidbody _body; [Serializ...
src/Parsifal.Math/Provider/MKL/MklNativeMethod.cs
itachijames/Parsifal.Math
0
7064789
using System.Runtime.InteropServices; namespace Parsifal.Math.Provider.MKL { /* MKL库的一些常用信息 * 1. Level 1 为向量-向量运算;Level 2 为矩阵-向量运算;Level 3 为矩阵-矩阵运算 * 2. s 实数单精度;d 实数双精度;c 复数单精度;z 复数双精度 * 3. ge 一般矩阵;gb 一般带状矩阵;sy 对称矩阵;sp 对称矩阵(压缩存储);sb 对称带状矩阵;tr 三角矩阵; tp 三角矩阵(压缩存储); tb 三角带状矩阵 * 4. mv 矩阵向量乘;mm 矩阵矩...
src/AwsCdkWithDesignPatterns.Domain/Entities/LambdaFunctionRuntimes/LambdaFunctionRuntimeNodeJs81.cs
rafaeldalsenter/aws-cdk-with-design-patterns
0
7064790
using Amazon.CDK.AWS.Lambda; namespace AwsCdkWithDesignPatterns.Domain.Entities.LambdaFunctionRuntimes { public class LambdaFunctionRuntimeNodeJs81 : ILambdaFunctionRuntime { public Runtime GetRuntime() { return Runtime.NODEJS_8_10; } } }
PizzaBox.Testing/Tests/StoreTests.cs
cyoung7749/project-pizzabox
0
7064791
<reponame>cyoung7749/project-pizzabox<filename>PizzaBox.Testing/Tests/StoreTests.cs using System.Collections.Generic; using PizzaBox.Domain.Abstracts; using PizzaBox.Domain.Models; using PizzaBox.Domain.Models.Stores; using Xunit; namespace PizzaBox.Testing.Tests { public class StoreTests { //public declarations ...
CmdCore/Program.cs
imv-uw/trifuse
2
7064792
<filename>CmdCore/Program.cs using System; using System.Linq; using CmdCore.Splice; namespace CmdCore { class Program { static void Main(string[] args) { try { bool okArgs = false; //okArgs |= (new CyclizeAssemblyFlags()).ParseArgs(args);...
Regular Expressions - Exercise/02 - [Race]/Program.cs
Wa4e7o/C--Fundamentals
3
7064793
<reponame>Wa4e7o/C--Fundamentals using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Race { class Program { static void Main(string[] args) { string input; string personName = @"[A-Za-z]"; string...
Framework/Atf.Core/Dom/DomNodeRefAdapter.cs
blue3k/ATFClone
1
7064794
<filename>Framework/Atf.Core/Dom/DomNodeRefAdapter.cs //Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.Collections.Generic; namespace Sce.Atf.Dom { /// <summary> /// Adapter that ensures that every DOM node in the subtree has a unique id</summary> ...
common/src/Microsoft.Azure.IIoT.Core/src/Utils/BsonConvert.cs
benjguin/Industrial-IoT
2
7064795
<filename>common/src/Microsoft.Azure.IIoT.Core/src/Utils/BsonConvert.cs // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------...
Assets/Steam Networking/steam/steamServer.cs
Milk-Drinker01/SteamNetworkingSockets-in-Unity-with-Facepunch.Steamworks
0
7064796
<gh_stars>0 using Steamworks; using Steamworks.Data; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using UnityEngine; public class steamServer : SocketManager {...
Packages/com.careboo.blinq/CareBoo.Blinq.Tests/DistinctTest.cs
CareBoo/BLinq
17
7064797
<reponame>CareBoo/BLinq<filename>Packages/com.careboo.blinq/CareBoo.Blinq.Tests/DistinctTest.cs using NUnit.Framework; using Unity.Collections; using Blinq = CareBoo.Blinq.Sequence; using Linq = System.Linq.Enumerable; using static Utils; internal class DistinctTest { [Test, Parallelizable, Timeout(5000)] pub...
src/Data/MailboxConverter.cs
latestchatty/simple-chatty-server
3
7064798
<gh_stars>1-10 using System; using System.Text.Json; using System.Text.Json.Serialization; using SimpleChattyServer.Exceptions; namespace SimpleChattyServer.Data { public sealed class MailboxConverter : JsonConverter<Mailbox> { public override Mailbox Read(ref Utf8JsonReader reader, Type typeToConvert,...
fishingGame/Assets/Scripts/General/State.cs
dhoun001/fishingGame
2
7064799
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class State: MonoBehaviour { public virtual void OnEnter() { } public virtual void OnUpdate() { } public virtual void OnLateUpdate() { } public virtual void OnExit() { ...
Documentation/ItemDoc/GetMarkedClass.cs
johnmott59/ShapeTemplate
0
7064800
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; namespace ShapeTemplateLib { public partial class ItemDoc { /// <summary> /// Retrieve a single class marked with the...
Chapter 11/.NET Core 3.1/FlixOne.BookStore.UserService/Controllers/UserController.cs
guilherme-stefano/Microservices
53
7064801
<reponame>guilherme-stefano/Microservices using AutoMapper; using FlixOne.BookStore.UserService.Extensions; using FlixOne.BookStore.UserService.Models; using FlixOne.BookStore.UserService.Models.Identity; using FlixOne.BookStore.VendorService.Contexts; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mv...
Editor/InternalUtility.cs
t-macnaga/UIBuilderExtensions
3
7064802
<filename>Editor/InternalUtility.cs<gh_stars>1-10 using UnityEditor; using System.Reflection; public static class InternalUtility { public static void OpenFileOnSpecificLineAndColumn(string filePath, int line, int column) { Assembly.GetAssembly(typeof(EditorApplication)) .GetType("UnityEditor....
Project/Assets/xNode/Examples/MathGraph/MathGraph.cs
moonsh/ml-agents
1
7064803
<reponame>moonsh/ml-agents using System; using UnityEngine; namespace XNode.Examples { /// <summary> Defines an example nodegraph that can be created as an asset in the Project window. </summary> [Serializable, CreateAssetMenu(fileName = "New Math Graph", menuName = "xNode Examples/Math Graph")] pub...
Utilities/SiteDeployer/Netlify/NetlifyDeployerSettings.cs
kaorun55/RssToSiteCreator
0
7064804
namespace RssToSiteCreator.Utilities.SiteCreator.SiteDeployer.Netlify { public class NetlifyDeployerSettings { /// <summary> /// Netlifyのアクセストークン /// </summary> public string AccessToken { get; set; } = string.Empty; /// <summary> /// Netlifyのデプロイ先サイトI...
Source/Models/Common/PluginModel.Common/VariablesViewModel.cs
Logi3PL/Quartzmin
0
7064805
using System; using System.Collections.Generic; using System.Text; namespace Quartz.Plugins.Model.Common.PluginModel { [Serializable] public class VariablesViewModel { public List<VariablesViewItemModel> Items { get; set; } public VariablesViewModel() { this.Items = new...
backend/.net core-be/Pygma/src/data/Pygma.Data/Migrations/20200415195100_initial.cs
CodeExcavator/project-pygma
0
7064806
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Pygma.Data.Migrations { public partial class initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Logs", col...
src/Infrastructure/Startup.cs
yanshengjie/eShopOnWeb
1
7064807
<reponame>yanshengjie/eShopOnWeb using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.eShopWeb.ApplicationCore.Interfaces; using Microsoft.eShopWeb.Infrastructure.Data; using Microsoft.eShopWeb.Infrastructure.Identity; using Microsoft.eShopWeb.Infrastructure.Logging; using Microsoft...
Service/Plugins/Thriot.Plugins.Azure/CurrentDataTableEntity.cs
kpocza/thriot
4
7064808
<filename>Service/Plugins/Thriot.Plugins.Azure/CurrentDataTableEntity.cs using System; using Thriot.Framework.Azure.DataAccess; namespace Thriot.Plugins.Azure { public class CurrentDataTableEntity : PreparableTableEntity { public DateTime Time { get; set; } public string Payload { get; set; }...
Scripts/Gameplay/Tic-Tac-Toe/XO.cs
TheKleee/SoccerMark
0
7064809
<reponame>TheKleee/SoccerMark using System.Collections; using System.Collections.Generic; using UnityEngine; using MEC; public class XO : MonoBehaviour { public enum Board { Small, Medium, Large } [Header("Board (small = 3x3, medium = 4x4, large = 5x5):")] p...
GraphicsModule/GraphicsModule/Models/Painters/PhaseCoordinatesPainter.cs
NeroLocker/graphics-module
0
7064810
<reponame>NeroLocker/graphics-module using System; using GraphicsModule.Interfaces; using SkiaSharp; namespace GraphicsModule.Models.Painters { /// <summary> /// Отрисовщик координат для фазово-частотной характеристики. /// </summary> public class PhaseCoordinatesPainter : BasePainter, ICoordinates...
src/Dnn.DependencyInjection.Samples.WebForms/Settings.ascx.cs
nvisionative/DNN.DependencyInjection.Samples
6
7064811
using DotNetNuke.Entities.Modules; using DotNetNuke.Services.Exceptions; using System; namespace Dnn.DependencyInjection.Samples.WebForms { public partial class Settings : ModuleSettingsBase { #region Base Method Implementations public override void LoadSettings() { try ...
netframework/Stuuck/Stuuck.Tests/ReminderUnitTest.cs
rabadiw/vmworld-2020
0
7064812
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Stuuck.Tests { [TestClass] public class ReminderUnitTest { // TODO: Unit Test Reminders // So, how do I start? 😕 // I want to make sure my code handles the CRUD correctly // I want to make sure m...
tests/Generic/SqlServer/TableClasses/ContactType.cs
MightyOrm/MightyOrm
86
7064813
using System; namespace Mighty.Generic.Tests.SqlServer.TableClasses { public class ContactType { public int ContactTypeID { get; set; } public string Name { get; set; } public DateTime ModifiedDate { get; set; } } public class ContactTypes : MightyOrm<ContactType> { ...
IOTA Gears/LambdaComparer.cs
Hribek25/IOTA-Integration-Gateway
4
7064814
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IOTAGears { public class LambdaComparer<T> : IEqualityComparer<T> { // based on http://brendan.enrick.com/post/LINQ-Your-Collections-with-IEqualityComparer-and-Lambda-Expressions private...
src/Narvalo.Fx/Applicative/Result.g.cs
chtoucas/Narvalo.NET
17
7064815
<filename>src/Narvalo.Fx/Applicative/Result.g.cs // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. Changes to this fi...
PopOptBox.Optimisers.EvolutionaryComputation.Test/Recombination/CrossoverSimulatedBinarySelfAdaptive2Tests.cs
Clymsw/PopOptBox
1
7064816
using System; using System.Linq; using PopOptBox.Base.Management; using PopOptBox.Optimisers.EvolutionaryComputation.Test; using Xunit; namespace PopOptBox.Optimisers.EvolutionaryComputation.Recombination.Test { public class CrossoverSimulatedBinarySelfAdaptive2Tests { private readonly Population popul...
sdk/dotnet/GetUserContactMethod.cs
pulumi/pulumi-pagerduty
5
7064817
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
CopperSharp/Entity/Impl/Dolphin.cs
Maxuss/CopperSharp
2
7064818
using CopperSharp.Data.Locations; namespace CopperSharp.Entity.Impl; /// <summary> /// Represents a dolphin entity /// </summary> public sealed class Dolphin : LivingEntity { internal Dolphin(EntityType type) : base(type) { } /// <summary> /// If true, this dolphin can lead a player to tr...
src/Nuuvify.CommonPack.Extensions/JsonConverter/JsonDateTimeToInferredTypesConverter.cs
lzocateli00/Lzfy.DevPack
0
7064819
<reponame>lzocateli00/Lzfy.DevPack<filename>src/Nuuvify.CommonPack.Extensions/JsonConverter/JsonDateTimeToInferredTypesConverter.cs<gh_stars>0 using System; using System.Text.Json; using System.Text.Json.Serialization; namespace Nuuvify.CommonPack.Extensions.JsonConverter { public class JsonDateTimeToInferredType...
Web/Journey.Web/Views/Wishlist/Index.cshtml
stefandenchev/Journey
0
7064820
<reponame>stefandenchev/Journey @model WishlistIndexViewModel @{ this.ViewBag.Title = "Your Wish List"; } <div class="container mb-5"> <h2>@this.ViewBag.Title</h2> <br /> @if (Model.Games.Any()) { <div class="container"> <section id="core-guts" class="stringy fatty"> ...
BracePLUS_Smartphone_App/BracePLUS/BracePLUS/Extensions/Constants.cs
surgtechlab/MagLib
2
7064821
using System; using Xamarin.Forms; using System.Drawing; namespace BracePLUS.Extensions { public static class Constants { // Sensor Device Packet Size Definitions public const int NODE_SINGLE = 10; // 3axes * 2bytes/axis + 4 time bytes public const int NODE_FOUR = 28; // 6b...
src/Middleware/src/Headstart.Common/Repositories/Models/LineItemDetailData.cs
haramizu/headstart
0
7064822
<reponame>haramizu/headstart<gh_stars>0 using Headstart.Models; using ordercloud.integrations.library; namespace Headstart.Common.Models { public class LineItemDetailData : CosmosObject { public string PartitionKey { get; set; } public string OrderID { get; set; } public HSOrderLineIte...
VideoWeb/VideoWeb/Mappings/Requests/PrivateConsultationRequestMapper.cs
hmcts/vh-video-web
9
7064823
<gh_stars>1-10 using System; using VideoWeb.Contract.Request; using VideoWeb.Mappings.Interfaces; using VideoApi.Contract.Requests; namespace VideoWeb.Mappings.Requests { public class PrivateConsultationRequestMapper : IMapTo<PrivateConsultationRequest, ConsultationRequestResponse> { public Consultatio...
src/Sql/Sql/EndpointCertificate/Services/AzureSqlInstanceEndpointCertificateAdapter.cs
pavel-petrenko/azure-powershell
0
7064824
<gh_stars>0 // ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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 ...
NFleetSDK/Data/DepotUpdateRequest.cs
nfleet/.net-sdk
0
7064825
using System.Collections.Generic; using System.Runtime.Serialization; namespace NFleet.Data { public class DepotUpdateRequest { public static string MIMEType = DepotData.MIMEType; public static string MIMEVersion = DepotData.MIMEVersion; [DataMember] public int Id {...
RankGenerator/Classes/Word.cs
bcanseco/rank-generator
0
7064826
using System; using System.Collections.Generic; namespace Rank_Generator.Classes { public class Word : IEquatable<Word> { public string Phrase { get; set; } public IList<string> Categories { get; set; } public IList<string> Whitelist { get; set; } public IList<string> Blacklist...
sample/tanka-graphql-sample-chat-client-shared/QueryBase.cs
anttikajanus/tanka-graphql-net-client
5
7064827
<filename>sample/tanka-graphql-sample-chat-client-shared/QueryBase.cs<gh_stars>1-10 using Microsoft.AspNetCore.SignalR.Client; using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Tanka.GraphQL.Sample.Chat.Client.Shared.Queries; namespace Tanka.GraphQL.Sample.Chat.Client.Shared { ...
NetGL.Constructor/UI/ComponentsInspector.xaml.cs
0x0015/NetGL
14
7064829
using System; using System.Collections.ObjectModel; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Threading; using NetGL.Constructor.Infrastructure; using NetGL.SceneGraph.Scene; namespace NetGL.Constructor.UI { public partial class ComponentsInspector : UserControl,...
Edura.WebUI/Entity/Image.cs
emreakturk1125/EduraProject
0
7064830
<reponame>emreakturk1125/EduraProject using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Edura.WebUI.Entity { public class Image { public int ImageId { get; set; } public string ImageName { get; set; } public int ProductId { get; ...
Assets/Scripts/OpenDoorScript.cs
GDAEON/InGameHero
2
7064831
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class OpenDoorScript : MonoBehaviour { private bool trigger = false; private void Update() { if (trigger) gameObject.transform.position = Vector3.Lerp(gameObject.transform.position, ...
OTTDLib/AIEngine.cs
ttv86/CsNut
0
7064832
<filename>OTTDLib/AIEngine.cs namespace OpenTTD { /// <summary>Class that handles all engine related functions.</summary> public static class AIEngine { /** * Checks whether the given engine type is valid. * An engine is valid for a company if it has at least one vehicle of this e...
src/Mimp.SeeSharper.DependencyInjection.Extensions.Configuration/ConfigurationDependencySourceBuilder.cs
DavenaHack/SeeSharper.DependencyInjection
2
7064833
using Microsoft.Extensions.Configuration; using Mimp.SeeSharper.DependencyInjection.Abstraction; using Mimp.SeeSharper.DependencyInjection.Extensions.Configuration.Abstraction; using Mimp.SeeSharper.DependencyInjection.Scope; using Mimp.SeeSharper.DependencyInjection.Scope.Abstraction; using System; using System.Colle...
TAScanner/Models/IndicatorItem.cs
SnnK/Technical-Analysis-Scanner
0
7064834
<reponame>SnnK/Technical-Analysis-Scanner using System; using System.Reflection; namespace TAScanner.Models { public class IndicatorItem { public MethodInfo methodInfo { get; set; } public Type returnType { get; set; } } }
Assets/Scripts/bulletFlight.cs
NearFutureBand/biplanes2
0
7064835
using System.Collections; using System.Collections.Generic; using UnityEngine; public class bulletFlight : MonoBehaviour { public float bulletSpeed; public float selfDestroyTime = 10.0f; private Rigidbody bullet; // Use this for initialization void Start () { bullet = GetComponent<Rigidbody> (); bullet.velo...
Ruano/ViewModels/LoginViewModel.cs
jorgemht/Ruano
0
7064836
namespace Ruano.ViewModels { using System.Threading.Tasks; using System.Windows.Input; using Ruano.Models; using Ruano.Utils; using Ruano.ViewModels.Base; using Ruano.Views; using Xamarin.Forms; public class LoginViewModel : ViewModelBase { private string _image; pr...
src/RongCloud.Server.Sdk/models/response/ChatroomUserQueryResult.cs
hemiaoio/RongCloud.Sdk
0
7064837
<reponame>hemiaoio/RongCloud.Sdk<filename>src/RongCloud.Server.Sdk/models/response/ChatroomUserQueryResult.cs using System.Collections.Generic; using Newtonsoft.Json; using RongCloud.Server.models.chatroom; namespace RongCloud.Server.models.response { public class ChatroomUserQueryResult : Result { /*...
src/services/catalog/Catalog.API/ItemDto.cs
eiq21/trading
0
7064838
<reponame>eiq21/trading using System.ComponentModel.DataAnnotations; namespace Catalog.API { public record ItemDto(Guid Id, string Name, string Description, decimal Price, DateTimeOffset createdDate); public record CreateItemDto([Required] string Name, string Description, [Range(0, 1000)] decimal Price); p...
Ag_Crm_BE/Crm.Application/Contacts/GetCompanyContacts/GetCompanyEmployeeContactsQuery.cs
massimomannoni/CRM_BE
1
7064839
using MediatR; using System; using System.Collections.Generic; namespace Crm.Application.Contacts.GetCompanyEmployeeContacts { public class GetCompanyEmployeeContactsQuery : IRequest<List<ContactDto>> { public Guid CompanyId { get; set; } public Guid EmployeeId { get; set; } public Ge...
src/trape/Trape.Datalayer/Models/OrderList.cs
asymetrixs/Trape
2
7064840
<reponame>asymetrixs/Trape using System; using System.Collections.Generic; using Trape.Datalayer.Enums; namespace Trape.Datalayer.Models { public class OrderList : AbstractKey { #region Constructor /// <summary> /// Initializes a new instance of the <c>OrderList</c> class. ...
src/net45/Default/WampSharp.NewtonsoftJson/Newtonsoft/ReflectionExtensions.cs
Jopie64/WampSharp
0
7064841
#if PCL using System; using System.Reflection; namespace WampSharp.Newtonsoft { internal static class ReflectionExtensions { public static bool IsAssignableFrom(this Type interfaceType, Type type) { TypeInfo interfaceTypeInfo = interfaceType.GetTypeInfo(); TypeInfo type...
test/TestAssets/CodeCoverageTest/UnitTest1.cs
mcooley/vstest
272
7064842
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CodeCoverageTest { [TestClass] public class UnitTest1 { private Logic logic; public UnitTest1() { this.logic = new Logic(); } [TestMethod] public void TestAbs() ...
BigBoxNet/ISmsInteractiveService.cs
Kodesiana/BigBoxNet
0
7064843
// // PROJECT : BigBoxNet // FILENAME : ISmsInteractiveService.cs // AUTHOR : <NAME> // NPM : 065118116 // // This file is part of BigBoxNet, licensed under MIT license. using System.Threading; using System.Threading.Tasks; namespace BigBoxNet { /// <summary> /// SMS interactive servic...
VisioAutomation_2010/VisioScripting/Commands/CommandSet.cs
jhliptak/VisioAutomation
99
7064844
using System.Collections.Generic; using System.Linq; namespace VisioScripting.Commands { public class CommandSet { // Keep a reference back to the parent client. This gives access to all other commands // for a the current context protected readonly Client _client; ...
Assets/Scripts/Main Enemy/EnemyMask.cs
Ziggareto/ucl-vr-game-2021
2
7064845
<filename>Assets/Scripts/Main Enemy/EnemyMask.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyMask : MonoBehaviour { bool crashing = false; public float thrustFailRate = 0.05f; public GameObject particleObjectPrefab; float thrustFailure = 0f; Rig...
CodeGenerator/src/Models/MethodInfo.cs
RealGoodAppsLLC/BlazorJavascript
8
7064846
<reponame>RealGoodAppsLLC/BlazorJavascript using RealGoodApps.ValueImmutableCollections; namespace RealGoodApps.BlazorJavascript.CodeGenerator.Models { public sealed record MethodInfo( string Name, ExtractTypeParametersResult ExtractTypeParametersResult, TypeInfo ReturnType, ValueIm...
src/Purview/generated/api/Models/Api20210701/CheckNameAvailabilityResult.cs
mbentancour/azure-powershell
3,336
7064847
<reponame>mbentancour/azure-powershell namespace Microsoft.Azure.PowerShell.Cmdlets.Purview.Models.Api20210701 { using static Microsoft.Azure.PowerShell.Cmdlets.Purview.Runtime.Extensions; /// <summary>The response payload for CheckNameAvailability API</summary> public partial class CheckNameAvailabil...