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
src/MsiUpdate/AppUpdater.cs
jacek-lapinski/winbot
2
7054566
<gh_stars>1-10 using System.Diagnostics; using System.IO; namespace AppUpdate { public static class AppUpdater { public static void Main(string[] args) { if (args.Length != 2) return; var appProcessId = int.Parse(args[0]); var msiFilePath = ...
StkUiPlugins/CSharp/OperatorsToolBox/Stk12.OperatorsToolBox/OperatorsToolbox/Coverage/CoveragePlugin.Designer.cs
tstritch/STKCodeExamples
0
7054567
<gh_stars>0 namespace OperatorsToolbox.Coverage { partial class CoveragePlugin { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
NetWebScript/NetWebScript/JsClr/ScriptAst/ScriptExpression.cs
jetelain/NetWebScript
0
7054568
using System; using System.Collections.Generic; using NetWebScript.JsClr.AstBuilder.Cil; using System.Diagnostics.Contracts; namespace NetWebScript.JsClr.ScriptAst { public abstract class ScriptExpression : ScriptStatement { public int? IlOffset { get; protected set; } internal ScriptExpression(i...
ios8/CloudKitAtlas/CloudKitAtlas/Form/TextFieldTableViewCell.cs
susairajs/ios-samples
863
7054569
<gh_stars>100-1000 using System; using UIKit; using Foundation; namespace CloudKitAtlas { public partial class TextFieldTableViewCell : FormFieldTableViewCell { [Outlet] public UITextField TextField { get; set; } public TextInput TextInput { get; set; } public TextFieldTableViewCell (IntPtr handle) : b...
Render/ComputeShaderDemo/Assets/ShowFPS.cs
blueinsert/Unity3DStudy
0
7054570
<filename>Render/ComputeShaderDemo/Assets/ShowFPS.cs<gh_stars>0 /// <summary> /// Set FPS /// this script use to set FPS if platform is mobile /// </summary> using UnityEngine; using System.Collections; using System.Collections.Generic; public class ShowFPS : MonoBehaviour { public int fpsTarget; public float ...
Gerrymander/Gerrymander.Bot/LuisClient.cs
mshudx/gerrymander
1
7054571
<filename>Gerrymander/Gerrymander.Bot/LuisClient.cs using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Web; namespace Gerrymander.Bot { public class LuisClient { private readonly string id; ...
Source/ComfyBot.Bot/ChatBot/Services/WildcardReplacer.cs
comfydeveloper/comfybot
0
7054572
<gh_stars>0 namespace ComfyBot.Bot.ChatBot.Services { using System; using System.Text.RegularExpressions; using ComfyBot.Bot.ChatBot.Chatters; using ComfyBot.Bot.Extensions; public class WildcardReplacer : IWildcardReplacer { private readonly IChattersCache chattersCache; pub...
BenFattoTeste/BenFatto.Data/Repository/BaseRepository.cs
botelhorv/benfatto
0
7054573
<filename>BenFattoTeste/BenFatto.Data/Repository/BaseRepository.cs<gh_stars>0 using BenFatto.Domain.Entities; using BenFatto.Domain.Interfaces; using System.Collections.Generic; using System.Linq; namespace BenFatto.Data.Repository { public class BaseRepository<T> : IRepository<T> where T : BaseEntity { ...
Starfield.Core/Item/Items/ItemKelp.cs
dskprt/nylium
10
7054574
// FILE AUTOGENERATED. DO NOT MODIFY namespace Starfield.Core.Item.Items { [Item("minecraft:kelp", 134, 64, 574)] public class ItemKelp : BlockItem { } }
src/Quick.Communication/Process/ShareMemoryWriter.cs
autcn/Quick.Communication
0
7054575
using System.Text; namespace Quick.Communication { /// <summary> /// Represents a ShareMemoryWriter object that derived from Quick.Communication.ShareMemoryBase /// </summary> public class ShareMemoryWriter : ShareMemoryBase { #region Constructor /// <summary> /// Initializ...
MrWindows/Util/MathEx.cs
MrWindows/MrWindows
24
7054576
<gh_stars>10-100 using System; using System.Drawing; namespace Dear.Util { public static class MathEx { public static Point CalcMiddle(Point a, Point b) { return new Point((a.X + b.X)/2, (a.Y + b.Y)/2); } public static double CalcDistance(Point a, Point b) { return...
Flyweight/CarFactory.cs
isbdnt/csharp-design-patterns
1
7054577
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Flyweight { static class CarFactory { static Dictionary<string, CarModel> carModels = new Dictionary<string, CarModel>(); public static void AddCarModel(string modelNa...
FusionSamples/Submarines/SubmarinesGameLibrary/GameEntity/Torpedo.cs
demiurghg/FusionFramework
12
7054578
<filename>FusionSamples/Submarines/SubmarinesGameLibrary/GameEntity/Torpedo.cs<gh_stars>10-100 using Fusion; using Fusion.Mathematics; using Fusion.Graphics; using SubmarinesWars.SubmarinesGameLibrary.Field; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Ta...
server/Newtonsoft.Json/Linq/JProperty.cs
jabbo/Jabbo
6
7054579
<reponame>jabbo/Jabbo #region License // Copyright (c) 2007 <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 // restriction, including without limitation the rights to us...
Ratbuddyssey/AudysseyMultEQAvrTcp.cs
VioletGiraffe/ratbuddyssey
52
7054581
using System; using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Diagnostics; using System.ComponentModel; using System.Collections.ObjectModel; using System.Linq; namespace Audyssey { namespace MultEQAvr { public class AudysseyMultEQAvrTcp : INotifyPropertyChanged ...
EIDSS v6/bltoolkit.3.2.dev/EditableObjects/EditableValue.cs
EIDSS/EIDSS-Legacy
2
7054582
#pragma warning disable 3008 using System; using System.Collections; using System.Reflection; using System.Xml.Serialization; // BVChanges using BLToolkit.TypeBuilder; namespace BLToolkit.EditableObjects { [Serializable] public struct EditableValue<T>: IEditable, IMemberwiseEditable, IPrintDebugState {...
Lazurite/LazuriteMobile.App/LazuriteMobile.App/DeviceDataHandler.cs
noant/Pyrite2
55
7054583
<gh_stars>10-100 using Lazurite.IOC; using Lazurite.Logging; using Lazurite.MainDomain; using Plugin.DeviceInfo; using System; namespace LazuriteMobile.App { public class DeviceDataHandler : IAddictionalDataHandler { private static readonly ILogger Log = Singleton.Resolve<ILogger>(); public v...
AvaloniaEx/Services/BaseDialogService.cs
Macabresoft/AvaloniaEx
1
7054584
<reponame>Macabresoft/AvaloniaEx<gh_stars>1-10 namespace Macabresoft.AvaloniaEx; using System; using System.Threading.Tasks; using Avalonia.Controls; using Unity; /// <summary> /// An interface for a base dialog service. /// </summary> public interface IBaseDialogService { /// <summary> /// Shows a warning di...
grockart/Grockart.BUSINESSLAYER/ProductList.cs
DeepSingh93/Grockart
0
7054585
<gh_stars>0 using System; using System.Collections.Generic; using Grockart.DATALAYER; using System.Data; using Grockart.CUSTOM_RESPONSE_CLASSES; using Grockart.LOGGER; namespace Grockart.BUSINESSLAYER { public class ProductsByCategory : Category { public List<Products> Product { get; set; } i...
Dragablz/IItemsOrganiser.cs
strohlaj/Dragablz
0
7054586
<reponame>strohlaj/Dragablz using System; using System.Collections.Generic; using System.Text; using System.Windows; namespace Dragablz { public interface IItemsOrganiser { void Organise(Size bounds, IEnumerable<DragablzItem> items); void OrganiseOnDragStarted(Size bounds, IEnumerable<Dragablz...
Kooboo.Sites/Render/Functions/LocalCache.cs
xiaoxd/Kooboo
296
7054587
using System; using System.Collections.Generic; using System.Text; using Kooboo.Data.Context; using System.Linq; namespace Kooboo.Sites.Render.Functions { //cache external resource as local. public class LocalCache : IFunction { public string Name => "LocalCache"; public List<IFunction> ...
Symbioz/World/Records/Maps/MapRecord.cs
CarlCochet/Symbioz
2
7054588
using Symbioz.Core.Startup; using Symbioz.Helper; using Symbioz.ORM; using Symbioz.World.Models; using Symbioz.World.Models.Maps; using Symbioz.World.PathProvider; using Symbioz.World.Records.Maps; using Symbioz.World.Records.Monsters; using System; using System.Collections.Generic; using System.Linq; using System.Tex...
DataGrid.Core/dg_grid.cs
ericsink/DrawnDataGridFramework
6
7054589
<gh_stars>1-10 /* Copyright 2014 Zumero, 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
CloudOps/Generated/DataPipeline/DescribePipelinesOperation.cs
austindimmer/AWSRetriever
0
7054590
using Amazon; using Amazon.DataPipeline; using Amazon.DataPipeline.Model; using Amazon.Runtime; namespace CloudOps.DataPipeline { public class DescribePipelinesOperation : Operation { public override string Name => "DescribePipelines"; public override string Description => "Retrieves metadata ...
src/TreeLine.Sagas.DependencyInjection/SagaServiceProvider.cs
aserowy/TreeLine.Sagas
5
7054591
using Microsoft.Extensions.DependencyInjection; using System; using TreeLine.Sagas.Building; using TreeLine.Sagas.Messaging; namespace TreeLine.Sagas.DependencyInjection { internal sealed class SagaServiceProvider : ISagaServiceProvider { private readonly IServiceProvider _serviceProvider; pu...
Extensiones/Registro.cs
JuanParraC/Jen
0
7054592
<reponame>JuanParraC/Jen namespace Jen.Extensiones { using Jen; using System.Text; using Ev = System.Environment; public static partial class Extensiones { public static void ScriptBD(this Registro reg, ref StringBuilder sb) { //sqlScriptTablaTabDesc (ref sbCT); ...
VisioCleanup.Core/Contracts/IExcelService.cs
fenrick/VisioCleanup
2
7054593
<reponame>fenrick/VisioCleanup // ----------------------------------------------------------------------- // <copyright file="IExcelService.cs" company="<NAME>"> // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copy...
RiotGamesApi/Extensions/Extension6.cs
msx752/RiotGamesApi
3
7054594
<filename>RiotGamesApi/Extensions/Extension6.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json; using RiotGamesApi.Enums; us...
BeyondThemes.BeyondAdmin/Models/Directorio/ParcialEstablecimientosPorEmpresaViewModel.cs
simadine/simad
0
7054595
<reponame>simadine/simad using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BeyondThemes.BeyondAdmin.Models.Directorio { public class ParcialEstablecimientosPorEmpresaViewModel { public List<DetalleEstablecimiento> Establecimientos { get;...
src/HRM.DAL/ComplaintsDAL.cs
jencyraj/HumanResourceManagementProject
0
7054596
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using HRM.BOL; namespace HRM.DAL { public class ComplaintsDAL { public int Save(ComplaintsBOL objEmp) { DataAccess objDA = new DataAccess(); List<SqlParameter>...
01. Basic Syntax, Conditional Statements And Loops/More Exercises/04. Reverse String/Program.cs
1TaNaTa1/Programming-Fundamentals
0
7054597
<gh_stars>0 using System; namespace _04._Reverse_String { class Program { static void Main() { string text = Console.ReadLine(); for (int i = text.Length - 1; i >= 0; i--) { Console.Write(text[i]); } } } }
MyFootballManagerObjects/MatchList.cs
SerbanConstantinMatei/MyFootballManager
0
7054598
<reponame>SerbanConstantinMatei/MyFootballManager<filename>MyFootballManagerObjects/MatchList.cs using System.Collections.Generic; using System.Linq; namespace MyFootballManagerObjects { public class MatchList:List<Match> { public List<Team> teams = new List<Team>(); public MatchList...
Amazon.IonObjectMapper/Attribute/IonSerializerAttribute.cs
amzn/ion-object-mapper-dotnet
4
7054600
/* * Copyright (c) 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://www.apache.org/licenses/LICENSE-2.0 * * or in the "li...
source/Resonance.WebRTC/Adapters/WebRTC/WebRTCAdapter.cs
royben/Resonance
16
7054601
<gh_stars>10-100 using Microsoft.Extensions.Logging; using Resonance.ExtensionMethods; using Resonance.Threading; using Resonance.WebRTC; using Resonance.WebRTC.Exceptions; using Resonance.WebRTC.Messages; using SIPSorcery.Net; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using...
Lombiq.HelpfulLibraries/Libraries/Contents/ContentTypeDefinitionBuilderExtensions.cs
hishamco/Helpful-Libraries
0
7054602
using OrchardCore.ContentManagement.Metadata.Settings; using OrchardCore.Title.Models; namespace OrchardCore.ContentManagement.Metadata.Builders { public static class ContentTypeDefinitionBuilderExtensions { /// <summary> /// Merges all <see langword="bool"/> content type settings; the...
Pixelator.Api/EncryptionType.cs
TimeToogo/Pixelator.Api
39
7054603
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pixelator.Api { public enum EncryptionType : byte { Aes256 = 0, Rijndael256 = 1 } }
Puppeteer/Conditions/GameObject/Condition.cs
GameUnitLab/GamePuppet
16
7054604
 namespace Puppetry.Puppeteer.Conditions.GameObject { public abstract class Condition { protected Puppeteer.GameObject CurentGameObject; public abstract bool Invoke<T>(T gameObject) where T : Puppeteer.GameObject; protected abstract string DescribeExpected(); protected abstra...
src/Http.OAuth/AccessTokenDelegatingHandler.cs
CureMedia/Http
0
7054605
using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Cure.Http.OAuth.Abstractions; namespace Cure.Http.OAuth { /// <summary> /// A <see cref="DelegatingHandler" /> wrapper for <see cref="ITokenNegotiator" /> for token management when accessing /// resources ...
sdk/dotnet/Ltm/ProfileFtp.cs
pulumi/pulumi-f5bigip
4
7054606
// *** 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...
Tests/Core/Sources/ArchiveReaderExtTest.cs
kawazoet/Cube.FileSystem.SevenZip
0
7054607
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
Ryujinx.Graphics.GAL/Multithreading/Commands/SetPrimitiveTopologyCommand.cs
BSoDGamingYT/Ryujinx
11,580
7054608
<reponame>BSoDGamingYT/Ryujinx namespace Ryujinx.Graphics.GAL.Multithreading.Commands { struct SetPrimitiveTopologyCommand : IGALCommand { public CommandType CommandType => CommandType.SetPrimitiveTopology; private PrimitiveTopology _topology; public void Set(PrimitiveTopology topology...
WebRTCme.Connection/MediaSoup/WebRTCme.Connection.MediaSoup.Proxy/Models/JoinResponse.cs
BlazorHub/WebRTCme
67
7054609
<filename>WebRTCme.Connection/MediaSoup/WebRTCme.Connection.MediaSoup.Proxy/Models/JoinResponse.cs using System; using System.Collections.Generic; using System.Text; namespace WebRTCme.Connection.MediaSoup.Proxy.Models { public class JoinResponse { public Peer[] Peers { get; init; } } }
Assets/ZergRush/CodeGen/CodeGenTests.cs
CeleriedAway/ZergRush
9
7054610
<reponame>CeleriedAway/ZergRush using System; using System.Collections.Generic; using System.IO; using System.Linq; using ZergRush.Alive; using UnityEngine; using ZergRush; using ZergRush.ReactiveCore; using Random = System.Random; namespace TestGen { public static class CodeGenTests { // static Rando...
src/RepoLite/RepoLite/Commands/CommandManager.cs
JamesPattison/RepoLite
5
7054611
using System; using System.Collections.Generic; namespace RepoLite.Commands { public class CommandEventArgs : EventArgs { public CommandEventArgs(object data) { Data = data; } public object Data { get; } } public enum CommandType { /// <summary...
modules/Volo.CmsKit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Blogs/BlogPostPublicAppService.cs
daridakr/ProgGuru
1
7054612
using Daridakr.ProgGuru.Entities.Groups; using JetBrains.Annotations; using System; using System.Linq; using System.Threading.Tasks; using Volo.Abp.Application.Dtos; using Volo.Abp.GlobalFeatures; using Volo.Abp.Identity; using Volo.CmsKit.Blogs; using Volo.CmsKit.Comments; using Volo.CmsKit.GlobalFeatures; using Volo...
test/ScriptCs.Tests/ConfigTests.cs
kuacci/scriptcs
1,530
7054613
using Should; using Xunit.Extensions; namespace ScriptCs.Tests { using ScriptCs.Contracts; using Xunit; public class ConfigTests { public class TheApplyMethod { [Theory] [InlineData(true, null, LogLevel.Error, LogLevel.Debug)] [InlineData(false, nul...
CG_Project_5/CG_Project_5/Diamond.cs
Milka03/Computer-Graphics-Projects
0
7054614
<reponame>Milka03/Computer-Graphics-Projects<filename>CG_Project_5/CG_Project_5/Diamond.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Shapes; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Med...
TensorShaderTest/Links/Trivector/TrivectorArithmetric/TrivectorUnaryArithmetric/TrivectorDecayTest.cs
tk-yoshimura/TensorShader
2
7054615
<reponame>tk-yoshimura/TensorShader using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using TensorShader; using static TensorShader.Field; namespace TensorShaderTest.Links.TrivectorArithmetric { [TestClass] public class TrivectorDecayTest { [TestMethod] public void Referenc...
Engine/Igneel.IA/ML/Trainers/FFNNBackPropCPUTrainer.cs
ansel86castro/Igneel
8
7054616
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Igneel.IA.Resources; using Igneel.IA.ML.Evaluators; using Igneel.IA.ML.Activations; namespace Igneel.IA.ML.Trainers { public class FFNNBackPropCPUTrainer : INNetTrainer { private F...
Backend/Entities/DTOs/PersonDTO.cs
HasanKurt/BaskislaAngular
0
7054618
using System; using System.Collections.Generic; using System.Text; namespace Entities.DTOs { public class PersonDTO { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public int Father { get; set; } public int Mother...
common/HR.TA.CommonLibrary/HR.TA.Talent/TalentContracts/ExpressionSuggestion.cs
microsoft/msrecruit-scheduling-engine
8
7054619
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //----------------------------------------------------------------------- namespace HR.TA.Common.TalentAttract.Contract { using System.Runtime.Serialization; //...
Source/Demo/Options.cs
ahmad-luqman/VirtualTextureDemo
0
7054621
<reponame>ahmad-luqman/VirtualTextureDemo /* MIT License Copyright (c) 2009 <NAME> (www.linedef.com) 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 witho...
csgl/ResourceType.cs
KoMaTo3/csgl
1
7054622
using System; namespace csgl { public enum ResourceType { UNKNOWN = 0, TEXT = 1, SHADER = 2, IMAGE = 3, MODEL = 4, SOUND = 5, SHADER_PROGRAM = 6, NULL = 7, MATERIAL = 8, TEXTURE = 9, MESH = 10, } }
src/ContosoAssets.AMPIntegration/Controllers/MarketplaceWebhookController.cs
Ercenk/ContosoAssets
5
7054623
using System.Threading.Tasks; using ContosoAssets.SolutionManagement.AzureMarketplaceFulfillment; using ContosoAssets.SolutionManagement.SubscriptionManagement; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using SaaSFulfillmentClient.WebHook; namespace ContosoAsse...
src/NLedger.Launchpad/Models/AppViewModel.cs
dmitry-merzlyakov/nledger-launchpad
5
7054624
<filename>src/NLedger.Launchpad/Models/AppViewModel.cs using Microsoft.JSInterop; using NLedger.Launchpad.Abstracts; using NLedger.Launchpad.Repositories; using NLedger.Launchpad.Repositories.Config; using NLedger.Launchpad.Repositories.Favorites; using NLedger.Launchpad.Repositories.FileSystem; using NLedger.Launchpa...
Quorum/Modules/MainModule.cs
itsrachelfish/forums
1
7054625
<filename>Quorum/Modules/MainModule.cs using Nancy; using Quorum.Providers; using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace Quorum.Modules { public class MainModule : NancyModule { public Mai...
Dominio/Usuarios.cs
Luiz-HSSD/LES_passagens_areas
0
7054626
<filename>Dominio/Usuarios.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dominio { public class Usuarios : EntidadeDominio { private string login; public string Login { get { retu...
GameServer/Client.cs
Morganeon/Codalium-Server
0
7054627
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Security; using System.Net.Sockets; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace GameServer { ...
Beeffective.Tests/Presentations/MainViewModelTests/ShowAsync.cs
PeterMilovcik/Beeffective
0
7054628
using Beeffective.Data.Entities; using FluentAssertions; using NUnit.Framework; namespace Beeffective.Tests.Presentations.MainViewModelTests { public class ShowAsync : TestFixture { private TaskEntity taskEntity; public override void OneTimeSetUp() { base.OneTimeSetUp(); ...
CloudJumpPY-AC/Assets/Scripts/Health.cs
AdilurChoudhury/My-Unity-Games
0
7054629
<filename>CloudJumpPY-AC/Assets/Scripts/Health.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Health : MonoBehaviour { public GameObject player; float health = 1; public Transform healthBar; public SpriteRenderer healt...
Mosaic.Core/Controls/MosaicFriendWidgetControl.xaml.cs
mediaexplorer74/Mosaic2022
0
7054630
<reponame>mediaexplorer74/Mosaic2022 using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media.Animation; using System.Windows.Threading; using Mosaic.Base; namespace Mosaic.Core.Controls { /// <summary> /// Interaction logic for MosaicFriendWidgetControl.xaml /// </sum...
PM_Studio/PM_Studio_Windows/Pages/AlgorithmEditor.xaml.cs
ZyadHamed/PM_Studio
2
7054631
<gh_stars>1-10 using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace PM_Studio { /// <summary> /// Interaction logic for AlgorithmEditor.xaml /// </summary> public partial class AlgorithmEditor : Page { FileManger...
Assets/IMMATERIA/Forms/Skinning/Bones.cs
cabbibo/IMMATERIAL
3
7054632
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bones: Form { public Transform tmpTransform; public SkinnedMeshRenderer mesh; public Transform[] bones; public Matrix4x4[] bindPoses; public Matrix4x4 tmpMat; public int speed = 1; ...
source/Solution/SolutionLib/ViewModels/Browser/FolderViewModel.cs
johnmbaughman/InplaceEditBoxLib
32
7054633
namespace SolutionLib.ViewModels.Browser { using SolutionLib.Interfaces; internal class FolderViewModel : Base.ItemChildrenViewModel, IFolder { #region constructors /// <summary> /// Class constructor /// </summary> /// <param name="parent"></param> /// <par...
BattleNet.D3/Models/D3Object.cs
DirtyRasa/HeroHelp_Win8
1
7054634
<filename>BattleNet.D3/Models/D3Object.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BattleNet.D3 { public class D3Object { /// <summary> /// Ignore this field in Deserializing /// </summar...
Genesis.NET/Entities/Responses/Successful/SingleChargebackSuccessResponse.cs
GenesisGateway/genesis_dotnet
1
7054635
using System; using System.Xml.Serialization; using CopaceticSoftware.pMixins.Attributes; namespace Genesis.Net.Entities.Responses.Successful { [pMixin(Mixin = typeof(AuthorizationModel))] [pMixin(Mixin = typeof(TransactionTypeModel))] [pMixin(Mixin = typeof(MoneyModel))] [pMixin(Mixin = typeof(Retriev...
source/Processor/Addons/Housekeeping/HousekeepTask.cs
contensive/Contensive50
0
7054636
<gh_stars>0  using Contensive.BaseClasses; using Contensive.Processor.Controllers; using System; // namespace Contensive.Processor.Addons.Housekeeping { /// <summary> /// support for housekeeping functions /// </summary> public class HousekeepTask : AddonBaseClass { // //===============...
src/Hotel/Models/Price.cs
SaMirzaei/hotel
0
7054637
<reponame>SaMirzaei/hotel namespace Hotel.Models { using Newtonsoft.Json; public class Price { [JsonProperty("currency")] public string Currency { get; set; } [JsonProperty("numericFloat")] public double NumericFloat { get; set; } [JsonProperty("numericInteger")] ...
Trucker/Xamarin.Forms.DragNDrop/Xamarin.Forms.DragNDrop/Interfaces/IOrderable.cs
Roman-Dementiev/Dwares
0
7054639
<gh_stars>0 using System; namespace Xamarin.Forms.DragNDrop { /// <summary> /// Used by bound collections to expose ordering methods/events /// </summary> public interface IOrderable { /// <summary> /// Event fired when the items in the collection are re-ordered. /// </summ...
Modules/AudioModule/Preconditions/RequireSearchResult.cs
emre1702/BonusBo
9
7054640
using BonusBot.AudioModule.Language; using BonusBot.AudioModule.LavaLink.Clients; using Discord.Commands; using System; using System.Linq; using System.Threading.Tasks; namespace BonusBot.AudioModule.Preconditions { internal class RequireSearchResult : PreconditionAttribute { public override Task<Prec...
src/Models/PasswordRecovery.cs
albedoteam/wrk-identity-users
0
7054641
<filename>src/Models/PasswordRecovery.cs namespace Identity.Business.Users.Models { using System; using AlbedoTeam.Sdk.DataLayerAccess.Abstractions; using AlbedoTeam.Sdk.DataLayerAccess.Attributes; [Collection("PasswordRecoveries")] public class PasswordRecovery : DocumentWithAccount { ...
src/SchwabenCode.QuickIO/QuickIOPath.ToPath.cs
SVemulapalli/QuickIO
66
7054642
<reponame>SVemulapalli/QuickIO // <copyright company="<NAME> ( http://www.benjamin-abt.com - http://quickIO.NET )"> // Copyright (c) 2016 <NAME> Rights Reserved - DO NOT REMOVE OR EDIT COPYRIGHT // </copyright> // <author><NAME></author> using System; using System.Diagnostics.Contracts; namespace SchwabenCode.Q...
LD40/Assets/Scripts/EnemyBehaviour.cs
shakamaiden/LD40
1
7054643
<reponame>shakamaiden/LD40 using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyBehaviour : MonoBehaviour { public Transform target; int moveSpeed = 2; float minDistance = .5f; int maxDistance = 5; void Start () { } void Update () { transf...
src/unity3d/train_sim/Assets/data_publish.cs
RBEGamer/FH2Rail_DataGenerator
1
7054644
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Net; using uPLibrary.Networking.M2Mqtt; using uPLibrary.Networking.M2Mqtt.Messages; using uPLibrary.Networking.M2Mqtt.Utility; using uPLibrary.Networking.M2Mqtt.Exceptions; public class data_publish : MonoBehaviour { priva...
src/Editor/Text/Impl/TextModel/Projection/WeakEventHook.cs
AmadeusW/vs-editor-api
77
7054645
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // This file contain implementations details that are subject to change without notice. // Use at your own risk. // namespace Microsoft.VisualStudio.Text....
sdks/dotnet/tests/3.0/Tests.Types/Serialization/EventStartSerializationTests.cs
chilimuffin/xml-import
2
7054646
using System; using AutoFixture; using AutoFixture.Kernel; using EMG.XML; using NUnit.Framework; using TestHelper; namespace Tests.EMG30.Serialization { [TestFixture] public class EventStartSerializationTests { private IFixture fixture; [SetUp] public void Initialize() { ...
Assets/Extra3Force.cs
facundoezequiel/FinalGame
0
7054647
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Extra3Force : MonoBehaviour { public PowerUpsManager manager; private void OnTriggerEnter2D (Collider2D collider) { if (collider.tag == "Character") { manager.extra3Force = true; ...
KeLi.FlatDesign.UI/Forms/BorderlessSubForm.cs
kelicto/KeLi.FlatDesign
4
7054648
using System.Windows.Forms; namespace KeLi.FlatDesign.UI.Forms { public partial class BorderlessSubForm : Form { private BorderlessSubForm() { InitializeComponent(); } protected BorderlessSubForm(Panel parent) : this() { // ReSharper disable onc...
LiteArch.Lab.Apps.Seeder/SeederService.cs
mahermali/litearch.lab.apps
2
7054649
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; namespace LiteArch.Lab.Apps.Seeder { public class SeederService:IHostedService { private readonly IConfiguration _configuration; ...
Tests/Concerning_the_PageObject/Given_a_PageObject/When_a_ContentsObject_is_added.cs
W0dan/PdfCraft
2
7054650
using System.Drawing; using NUnit.Framework; using PdfCraft; namespace Tests.Concerning_the_PageObject.Given_a_PageObject { [TestFixture] public class When_a_ContentsObject_is_added : BaseTest { private int _pageObjectNumber; private PageObject _sut; private int _contentsObjectNumb...
src/StandardUI/generated/Controls/BorderExtensions.cs
debonte/standard-ui
44
7054651
// This file is generated from IBorder.cs. Update the source file to change its contents. using Microsoft.StandardUI.Media; namespace Microsoft.StandardUI.Controls { public static class BorderExtensions { public static T Background<T>(this T border, IBrush value) where T : IBorder { ...
Module-1/02.CSharp Part 2/Numeral Systems/01.Decimal to binary/DecimalToBinary.cs
NikolaiMishev/Telerik-Academy
0
7054652
<reponame>NikolaiMishev/Telerik-Academy //Write a program to convert decimal numbers to their binary representation. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class DecimalToBinary { static void Main() { Console.Write("Enter...
LunaTheGlobal/Common/Search.cs
erhan11040/C--LunaTheGlobal
6
7054654
using System; using System.Collections.Generic; using System.Data.OleDb; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LunaTheGlobal.Common { public class Search { List<string> dirs = new List<string>(); public void DirSearch(string driver,strin...
ServiceCenterWeb/ServiceCenterWeb/Views/Home/Privacy.cshtml
AlexeyBuryanov/ServiceCenterWeb
1
7054655
<gh_stars>1-10 @{ ViewData["Title"] = "Политика конфиденциальности"; } <br /><br /> <h2>@ViewData["Title"]</h2> <p> На сайте используются cookie-файлы и другие аналогичные технологии. Если прочитав это сообщение, Вы остаётесь на нашем сайте, это означает, что Вы не возражаете против использования этих...
ShinePhoto/ViewModels/SignatureAlbumViewModel.cs
changweihua/ShinePhoto
1
7054656
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using ShinePhoto.Interfaces; using System.ComponentModel.Composition; using Caliburn.Micro; using ShinePhoto.Interface; namespace ShinePhoto.ViewModels { /// <summary> /// 签名相册视图 ViewModel /// </summary> ...
Ffo.UnitTest/RelativeFfolderTest.cs
generateui/Ffo
0
7054657
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Linq; namespace Ffo.UnitTest { [TestClass] public class RelativeFfolderTest { private readonly string _current; public RelativeFfolderTest() { _current = System.Environment.Cu...
Dialogue/DialogEvents.cs
TheRayOfSeasons/The-Adventures-of-Inday-Scripts
0
7054658
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class DialogEvents : MonoBehaviour { public enum DialogEventName { ShowUIEvent } public delegate void DialogEvent(); }
sdk/textanalytics/Azure.AI.TextAnalytics/tests/ExtractSummaryTests.cs
ChenTanyi/azure-sdk-for-net
0
7054659
<reponame>ChenTanyi/azure-sdk-for-net<filename>sdk/textanalytics/Azure.AI.TextAnalytics/tests/ExtractSummaryTests.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Core.TestF...
src/Modules/Contrib.Profile/Services/IFrontEndProfileService.cs
INVA-Spa/Laser.Orchard.Platform
8
7054660
using Orchard; using Orchard.ContentManagement.MetaData.Models; using Orchard.ContentTypes.Settings; using Orchard.Security; using System; using Laser.Orchard.StartupConfig.Services; namespace Contrib.Profile.Services { public interface IFrontEndProfileService : IFrontEndEditService { /// <summary> ...
Utils.NetTests/Interactivity/Behaviors/ListViewExtensionBehaviorTests.cs
kaloyankrastev/Utils.Net
0
7054661
using System.Collections; using System.Collections.ObjectModel; using System.Linq; using System.Windows.Controls; using System.Windows.Input; using Microsoft.VisualStudio.TestTools.UnitTesting; using Utils.NetTests; namespace Utils.Net.Interactivity.Behaviors.Tests { [TestClass] public class ListViewExtension...
Sources/Engine/NeoAxis.Core/Libraries/BulletSharp/LinearMath/DefaultMotionState.cs
intensifier/NeoAxisEngine
0
7054662
<filename>Sources/Engine/NeoAxis.Core/Libraries/BulletSharp/LinearMath/DefaultMotionState.cs using System; using BulletSharp.Math; using static BulletSharp.UnsafeNativeMethods; namespace BulletSharp { public class DefaultMotionState : MotionState { public DefaultMotionState() : base(btDefaultMotionState_new()) ...
ImageGallery/Controllers/GalleryAdminController.cs
kishancool11/MVC-ImageGallery
1
7054663
<filename>ImageGallery/Controllers/GalleryAdminController.cs<gh_stars>1-10 using ImageGallery.Models.DAL; using ImageGallery.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ImageGallery.Controllers { public class GalleryAdmi...
ETradeSite.Entities/DbEntities/ECategories.cs
sinantok/e-trade
1
7054664
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ETradeSite.Entities.DbEntities { [Table("Categories")] pub...
src/CacheManager.Web/ContextFactory.cs
aturgarg/CacheManager
0
7054665
using System; using System.Web; namespace CacheManager.Web { internal static class ContextFactory { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "HttpContext", Justification = "External naming")] public static H...
workers/unity/Assets/Fps/Scripts/GameLogic/WorldTiles/TileTypeCollection.cs
frankcarey/improbable_fps_shooter_demo
1
7054666
using UnityEngine; using Random = System.Random; namespace Fps { [CreateAssetMenu(fileName = "New TileTypeCollection", menuName = "Improbable/Tile Type Collection")] public class TileTypeCollection : ScriptableObject { [SerializeField] private GameObject[] tiles; [SerializeField] [Range(0f...
DownloaderLocalTests/TaskManagerTests.cs
jxing2/DownloadDLL
0
7054667
using Microsoft.VisualStudio.TestTools.UnitTesting; using DownloaderLocal; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; namespace DownloaderLocal.Tests { [TestClass()] public class TaskManagerTests { [Te...
csharp/2021/08-Seven-Segment-Search/Day08.cs
DavidPesta/AdventOfCode
3
7054668
using AdventOfCode; namespace Year2021 { public class Day08 : DayOption { public Day08(string day) : base(day, "Seven Segment Search"){} // Number of segments in digits: // 2: 1 // 3: 7 // 4: 4 // 5: 2, 3, 5 // 6: 0, 6, 9 // 7: 8 public void Part1(string input) { var lineOutputs = input....
src/UrlShortener.DataProvider/Entities/HashingSpaceItem.cs
MasterKolka/MercedesBenzCodingCase
0
7054669
using Microsoft.EntityFrameworkCore; using UrlShortener.DataProvider.Entities.Base; namespace UrlShortener.DataProvider.Entities; [Index(nameof(RangeStart), nameof(RangeEnd))] public class HashingSpaceItem: Entity { public long RangeStart { get; set; } public long RangeEnd { get; set; } }
GameScreenTests2/Location/LocationViewmodelTests.cs
zerotwooneone/GameScreen
0
7054670
using System; using System.Linq; using System.Threading.Tasks; using GameScreen.Location; using GameScreen.Navigation; using GameScreen.Node; using GameScreen.Pageable; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace GameScreenTests2.Location { [TestClass] public class LocationViewmode...
optimized/Field/Injection/FieldByName.cs
unitycontainer/compliance-tests
2
7054671
<reponame>unitycontainer/compliance-tests<gh_stars>1-10 using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Unity.Specification.Field.Injection { public abstract partial class SpecificationTests { [TestMethod] public virtual void BogusNameRegister() { ...