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
sabotage/Util/ViewModel.cs
bert2/sabotage
1
7046233
<gh_stars>1-10 namespace sabotage { using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; public abstract class ViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler? PropertyChanged; protected void RaiseP...
Assets/Scripts/Ripcord.cs
KonstantinLackner/Net-lugg-lo
0
7046234
<reponame>KonstantinLackner/Net-lugg-lo<gh_stars>0 using UnityEngine; using UnityEngine.UIElements; public class Ripcord : MonoBehaviour { public LineRenderer line; private Vector3[] linePositions; private void Start() { linePositions = new[] { new Vector3(-3.1f, -1.78f, 0f), transform.positio...
Programming Fundamentals - may 2017/Homeworks/3.2 Data types and variables/p02_NumberChecker/NumberChecker.cs
sineochk/Softuni-courses
0
7046235
using System; using System.Linq; namespace p02_NumberChecker { class NumberChecker { static void Main(string[] args) { string num = Console.ReadLine(); string resultType = string.Empty; if (num.Contains('.') || num.Contains(',')) { ...
src/Web/Workshop.Web/Areas/Learning/Views/Notes/All.cshtml
DanielJekov/Workshop
1
7046236
<gh_stars>1-10 @model ICollection<Workshop.Web.ViewModels.Notes.NoteViewModel> @{ ViewData["Title"] = "Notes"; } <div class="row note"> <div class="col-12"> <div class="ml-4 mb-4"> <span class="btn btn-warning mb-2">Create</span> <span class="btn btn-primary mb-2">Options</span...
HttpSequencer/Logging/NLogProgressLog.cs
PunkUnicorn/HttpSequencer
0
7046237
<gh_stars>0 using NLog; using System; using System.Collections.Generic; using System.Text; namespace HttpSequencer.Logging { public class NLogProgressLog : IProgressLog { private const int padWidth = 50; private StringBuilder ProgressLog { get; set; } = new StringBuilder(); public NLog...
Core.Client.UnityClient.ExternalCompiler/CompileResult.cs
KonH/GameSystem
4
7046238
namespace Core.Client.UnityClient.ExternalCompiler { public class CompileResult { public readonly string Path; public readonly int ExitCode; public readonly string Output; public bool Success => (ExitCode == 0); public CompileResult(string path, int exitCode, string output) { Path = path; Exit...
src/Web.WebApp/Startup.cs
tolaveng/TrackMyExpense
0
7046239
<filename>src/Web.WebApp/Startup.cs<gh_stars>0 using Core.Application.IRepositories; using Core.Infrastructure.Configurations; using Core.Infrastructure.Database.Identity; using Core.Infrastructure.Repository; using MediatR; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetC...
src/IntelligentPlant.DataCore.HttpClient/Queries/UpdateTemplatedScriptTagRequest.cs
intelligentplant/IndustrialAppStore.ClientTools.DotNet
0
7046240
<reponame>intelligentplant/IndustrialAppStore.ClientTools.DotNet<gh_stars>0 using System.ComponentModel.DataAnnotations; using IntelligentPlant.DataCore.Client.Model.Scripting.Templates; namespace IntelligentPlant.DataCore.Client.Queries { public class UpdateTemplatedScriptTagRequest : DataSourceRequest { ...
PhatHanhSach.Web/Models/CtBaoCaoDLViewModel.cs
grazerjink/PhatHanhSach
0
7046242
namespace PhatHanhSach.Web.Models { public class CtBaoCaoDLViewModel { public int Id { get; set; } public int IdBaoCao { get; set; } public int IdSach { get; set; } public double DonGiaXuat { get; set; } public int SoLuongNhap { get; set; } public int SoLuongTonD...
SecurityDoors.Tests/WebConnectionTests.cs
securedevteam/Security-Door-Modeling
3
7046243
using Microsoft.VisualStudio.TestTools.UnitTesting; using SecurityDoors.BLL.Controllers; using SecurityDoors.BLL.Interfaces; namespace SecurityDoors.Tests { [TestClass()] public class WebConnectionTests { [TestMethod()] public void CheckConnectionAsyncTest() { // Arrang...
Pressford/Models/ArticleComment.cs
mallaume/Pressford
0
7046244
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Pressford.Models { public class ArticleComment { public int Id { get; set; } [Required] public Article Article { get; set; } [...
src/FerryData.Engine/Runner/WorkflowStepExecuteResultDto.cs
nast90210/FerryData
0
7046245
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FerryData.Engine.Runner { public class WorkflowStepExecuteResultDto { public Guid Uid { get; set; } public string Title { get; set; } public int Status { get; s...
NadekoBot.Core/Services/Database/Models/EventSchedule.cs
goshujin-senpai/Libria-tyan
0
7046246
using System; using System.Collections.Generic; using System.Dynamic; namespace NadekoBot.Core.Services.Database.Models { public class EventSchedule: DbEntity { public ulong GuildId { get; set; } public ulong UserId { get; set; } public DateTime Date { get; set; } public string...
Utility.UWP/ViewModel/XmlViewModel.cs
jonathanruisi/Utility.NET
0
7046247
using System; using System.Collections.Generic; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; using JLR.Utility.NETFramework; namespace JLR.Utility.UWP.ViewModel { /// <summary> /// <inheritdoc cref="ViewModel"/> /// These types are capable of serialization to and deserialization from...
src/BinaryKits.Zpl.Protocol.UnitTest/Commands/CommentCommandTest.cs
yijie0110/BinaryKits.Zpl
86
7046248
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BinaryKits.Zpl.Protocol.Commands.UnitTest { [TestClass] public class CommentCommandTest { [TestMethod] public void ToZpl_Default_Successful() { var command = new CommentCommand(); var zplCommand =...
MusicServer/MusicServer/Models/Database/MusicAssetTransfer.cs
DiepTieuDieu98/DigitalAssetBC
0
7046249
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace MusicServer.Models.Database { public class MusicAssetTransfer : BlockchainObject { [Key] [...
Examples/Servers/SessionProvider/Server.cs
ElbyFross/doloro-networking-framework
2
7046250
<reponame>ElbyFross/doloro-networking-framework<filename>Examples/Servers/SessionProvider/Server.cs //Copyright 2019 <NAME> // //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://w...
Microsoft.Xbox.Service.DevTools/XblConfig/AchievementImage.cs
I-Cat/xbox-live-developer-tools
1
7046251
<reponame>I-Cat/xbox-live-developer-tools // Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Xbox.Services.DevTools.XblConfig { using System; /// <summary> /// Represents an uploaded achievement ...
Mrp.Logger/Mrp.Logger/FileLogger/Configure/FileLoggerConfigure.cs
miklosa/Mrp.Logger
0
7046252
using Mrp.Logger.BaseLogger.Configure; using Mrp.Logger.Interfaces; using System.IO; using System.Reflection; namespace Mrp.Logger.FileLogger.Configure { public class FileLoggerConfigure : BaseConfigure, IConfigure { private FileLoggerConfigure() { } /// <summary> /// Default value is 5k /// </summary> p...
src/VRCATCompoeser/MainWindow.xaml.cs
phs008/PrismSolution
0
7046253
<filename>src/VRCATCompoeser/MainWindow.xaml.cs using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Windows.Forms; using System.Windows.Media; using System.Windows.Media.Imaging; namespace V...
src/ShaderTools.CodeAnalysis.Workspaces/Classification/IClassificationService.cs
stef-levesque/HlslTools
0
7046255
<filename>src/ShaderTools.CodeAnalysis.Workspaces/Classification/IClassificationService.cs<gh_stars>0 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threa...
Assets/SampleApp/Scripts/Domain/ISaveDataRepository.cs
TORISOUP/OnionSample
13
7046256
<filename>Assets/SampleApp/Scripts/Domain/ISaveDataRepository.cs using System.Threading.Tasks; namespace SampleApp.Domain { public interface ISaveDataRepository { Task<SaveData> FindAsync(string key); Task StoreAsync(string key, SaveData saveData); } }
Web2-Microservices/UserMicroservice/IntegrationEvents/EventHandling/SendMailToFriendIntegrationEventHandler.cs
bojanpisic/WebApp-Microservice-Arhitecture
0
7046257
using EventBus.Abstractions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using UserMicroservice.IntegrationEvents.Events; using UserMicroservice.Models; using UserMicroservice.Repository; namespace UserMicroservice.IntegrationEvents.EventHandling { public class...
NADD/NADD/Views/Avaliacaos/finalizarProva.cshtml
caiodomingues/Projeto-NADD
1
7046258
@model NADD.Models.Avaliacao @{ ViewData["Title"] = "Edit"; } <p class="sub-titulo">Considerações finais da Avaliação</p> <hr /> <div class="row"> <div class="col-md-12"> <form asp-action="finalizarProva"> <input type="hidden" asp-for="AvaliacaoId" /> <input type="hidden" asp...
Core/Input/ArrangeInput.cs
mifumi323/funyak
0
7046259
<filename>Core/Input/ArrangeInput.cs using System; namespace MifuminSoft.funyak.Input { /// <summary> /// 元の入力を加工した入力 /// </summary> public class ArrangeInput : IInput { /// <summary> /// 元の入力 /// </summary> public IInput Original { get; private set; } ...
CodeWarsTests/7kyu/80sKids1HowManyLicksDoesItTakeTests.cs
a-kozhanov/codewars_csharp
11
7046260
<reponame>a-kozhanov/codewars_csharp using System.Collections.Generic; using CodeWars; using NUnit.Framework; namespace CodeWarsTests { [TestFixture] public class _80sKids1HowManyLicksDoesItTakeTests { private _80sKids1HowManyLicksDoesItTake kata = new _80sKids1HowManyLicksDoesItTake(); [...
HDByte.MessageBroker/HDByte.MessageBroker/Events/BaseEvent.cs
hdbyte/MessageBroker
0
7046261
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace HDByte.MessageBroker.Events { public class BaseEvent { private static DateTime? _applicationStartTime; public readonly string Timestamp; public BaseEvent() { if (...
resharper/test/data/Runner/CustomBeforeAfterAttributeThrows.cs
derigel23/resharper-xunit
82
7046262
<reponame>derigel23/resharper-xunit<filename>resharper/test/data/Runner/CustomBeforeAfterAttributeThrows.cs<gh_stars>10-100 using System; using System.Reflection; using Xunit; using Xunit.Sdk; namespace Foo { public class CustomBeforeAfterThrows { [Fact] [CustomBeforeAfterTest] public v...
CryptoBotCore/Models/CoinMateCredentials.cs
tousekjan/AccBot
0
7046263
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Text; namespace CryptoBotCore.Models { public class CoinMateCredentials { public int ClientId { get; set; } public string PublicKey { get; set; } public string PrivateKey { get; set; ...
src/PackageSigning/Properties/AssemblyInfo.cs
tklingert/ProGet.PackageSigning.Extension
0
7046264
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle( "ProGet.PackageSigning" )] [assembly: AssemblyDescription( "Integration of automatic package signing" )] [assembly: AssemblyConfiguration( "" )] [assembly: AssemblyCompany( "" ...
Assets/Scripts/Objects/ObjectSelection/Floor.cs
pnghi320/CST-320-Project
0
7046265
<reponame>pnghi320/CST-320-Project using System.Collections; using System.Collections.Generic; using UnityEngine; //this class is for the teleport function of our game //inherent from GazeableObject public class Floor : GazeableObject { }
Csharp.Utilities/Extensions/SecureStringExtensions.cs
nh43de/csharp-utils
1
7046266
using System; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Text.RegularExpressions; namespace DataPowerTools.Extensions { public static class SecureStringExtensions { public static string GetString( this SecureString source) { ...
EmployeeConnect/Models/News_Spfx.cs
Abhijit-MSFT/EmployeeConnect
1
7046268
<reponame>Abhijit-MSFT/EmployeeConnect  using System; namespace EmployeeConnect.Models { public class SpfxNews { public string odatametadata { get; set; } public Values[] value { get; set; } } public class Values { public int Id { get; set; } public string Name { ...
StageMechanic/Assets/UI/HamburgerMenuButton.cs
TheRealCatherine/StageMechanic
13
7046269
using DG.Tweening; using System.Collections; using System.Collections.Generic; using UnityEngine; public class HamburgerMenuButton : MonoBehaviour { public GameObject HamburgerMenu; private Vector3 MenuPosition; private void Start() { MenuPosition = HamburgerMenu.transform.position; } public ...
src/ImageMosaic/Mosaic.GUI/ViewModels/PicturesViewModel.cs
den-nis/MosaicProject
0
7046270
using Microsoft.Toolkit.Mvvm.ComponentModel; using Microsoft.Toolkit.Mvvm.Input; using Mosaic.GUI.DataAccess; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Windows.Input; namespace Mosaic.GUI.ViewModels { public class PicturesViewModel : Observa...
CalithaGOLD/content/SymbolRecord.cs
luca-cardelli/KaemikaXM
8
7046271
<filename>CalithaGOLD/content/SymbolRecord.cs using System; using CalithaGoldParser.structure; namespace CalithaGoldParser.content { /// <summary> /// The SymbolRecord is a record that defines a symbol. /// </summary> public class SymbolRecord { private int index; private string name; private int kind; p...
manga/src/Manga.MvcApp/UseCases/GetAccount/GetAccount.cshtml
lamkr/clean-architecture
1
7046273
<reponame>lamkr/clean-architecture @model Manga.MvcApp.UseCases.GetAccount.AccountDetailsModel <form asp-controller="Customers" asp-action="Register"> <h2>Account</h2> <div class="form-group"> <dl class="dl-horizontal"> <dt> <label asp-for="@Model.AccountId" class="col-md...
Recipes/ios/content_controls/tables/handle_a_row_click/TableSource.cs
muruganas/docs-archive
2
7046274
<reponame>muruganas/docs-archive using System; using System.Collections.Generic; using System.IO; using Foundation; using UIKit; namespace BasicTable { public class TableSource : UITableViewSource { protected string[] tableItems; protected string cellIdentifier = "TableCell"; HomeScreen owner; public Tab...
Repositories/Interfaces/ICustomerRepository.cs
Vanquish875/DonutShop
2
7046275
using DonutShop.Models; using System.Threading.Tasks; namespace DonutShop.Repositories.Interfaces { public interface ICustomerRepository { Task<Customer> GetCustomer(int customerID); Task<int> CreateCustomer(Customer customer); Task<int> UpdateCustomer(Customer customer); Task<...
src/MiniExcel/Utils/DictionaryHelper.cs
0xced/MiniExcel
756
7046276
<filename>src/MiniExcel/Utils/DictionaryHelper.cs namespace MiniExcelLibs.Utils { using System; using System.Collections.Generic; internal static class DictionaryHelper { public static TValue GetValueOrDefault<TKey, TValue> (this IDictionary<TKey, TValue> dictionary, ...
GConsoleNGUI/GConsoleNGUISuggestion.cs
gzuidhof/GConsoleNGUI
1
7046277
using UnityEngine; using System.Collections; [AddComponentMenu("Scripts/GConsoleNGUISuggestion")] public class GConsoleNGUISuggestion : MonoBehaviour { public UILabel label; public void ShowSuggestion(string s) { if (string.IsNullOrEmpty(s)) gameObject.SetActive(false); else ...
sdk/dotnet/SqlVirtualMachine/V20170301Preview/Outputs/AutoPatchingSettingsResponse.cs
pulumi-bot/pulumi-azure-native
0
7046278
<reponame>pulumi-bot/pulumi-azure-native // *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pul...
NamespaceFormatAnalyzer/NamespaceFormatAnalyzer.Test/NamespaceFormatAnalyzerUnitTests.cs
KSchlobohm/NamespaceFormatAnalyzer
0
7046279
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using VerifyCS = NamespaceFormatAnalyzer.Test.CSharpAnalyzerVerifier< NamespaceFormatAnalyzer.NamespaceFormatAnalyzerAnalyzer>; namespace NamespaceFormatAnalyzer.Test { [TestClass] public class NamespaceFormatAnalyzerUnitTes...
src/ForEvolve.ExceptionMapper.HttpMiddleware/UnhandledStatusCodeException.cs
ForEvolve/ForEvolve.ExceptionMapper
1
7046280
<gh_stars>1-10 using System; namespace ForEvolve.ExceptionMapper { public class UnhandledStatusCodeException : Exception { public UnhandledStatusCodeException() : base($"An unhandled error occured.") { } } }
Babylon.js-2.4.0/Exporters/3ds Max/BabylonExport.Entities/BabylonIAnimatable.cs
Chaseshak/RetroVRCade
2
7046281
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BabylonExport.Entities { public interface BabylonIAnimatable { BabylonAnimation[] animations { get; set; } bool autoAnimate { get; set; } int autoAnimateFrom { ge...
MovieMood/Web/MovieMood.Web/Controllers/ProjectionsController.cs
Drumev00/MovieMood
1
7046282
<reponame>Drumev00/MovieMood namespace MovieMood.Web.Controllers { using Microsoft.AspNetCore.Mvc; using MovieMood.Services.Data.Projections; using MovieMood.Web.ViewModels.Projections.Users.ViewModels; public class ProjectionsController : BaseController { private readonly IProjectionsServ...
src/BarcodeScanner/CognitiveComputerVision/ComputerVisionFoodClient.cs
paulmey/interactiveHackathon
0
7046283
<gh_stars>0 using Microsoft.Azure.CognitiveServices.Vision.ComputerVision; using Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace BarcodeScanner.CognitiveComputerVision { public class ComputerVisionFoodClient ...
TaskyJ.STSDBServer/WaterfallTree/WTree.InternalNode.Maintenance.cs
gallargit/TaskyJ
0
7046284
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace STSdb4.WaterfallTree { public partial class WTree { private sealed partial class InternalNode : Node { public volatile bool HaveCh...
src/FactoryFactory.AspNet.DependencyInjection/ServiceProviderFactory.cs
gitter-badger/factoryfactory
0
7046285
<reponame>gitter-badger/factoryfactory<filename>src/FactoryFactory.AspNet.DependencyInjection/ServiceProviderFactory.cs using System; using System.Linq; using Microsoft.Extensions.DependencyInjection; namespace FactoryFactory.AspNet.DependencyInjection { public class ServiceProviderFactory : IServiceProviderFactor...
src/QuickInfo/Processors/Converters/Roman.cs
cromica/QuickInfo
0
7046286
using System.Linq; using System.Text; using static QuickInfo.NodeFactory; namespace QuickInfo { public class Roman : IProcessor { public object GetResult(Query query) { if (query.IsHelp) { return HelpTable ( ("MCMLXVIII...
aspnet-core/src/CentersFrontier.Production.Core/Tasks/DeliveryRecord.cs
lichncjx/production-center-frontier
0
7046287
using System; using Abp.Domain.Entities; using Abp.Events.Bus; using Abp.Timing; using CentersFrontier.Production.Entities; using CentersFrontier.Production.Tasks.Events; namespace CentersFrontier.Production.Tasks { public class DeliveryRecord : Entity, IReceptionAudited { public int DestinationId { g...
High Quality Code Part 1/07.HighQualityMethods/Methods/Mathematics.cs
ludzhev/TelerikAcademyHomeworks
0
7046288
<filename>High Quality Code Part 1/07.HighQualityMethods/Methods/Mathematics.cs // <copyright file="Mathematics.cs" company="CurrentCompany"> // All rights reserved. // </copyright> // <author>CurrentEmployee</author> // <summary>Holds implementation of static class Mathematics.</summary> using System; using System....
src/ResourceManagement/CustomerInsights/Generated/Models/ConnectorMappingCompleteOperation.cs
abharath27/azure-libraries-for-net
0
7046289
// <auto-generated> // 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. // </auto-generated> namespace Microsoft.Azure.Management.CustomerInsights.F...
src/GR.Extensions/GR.Crm.Extension/GR.Crm.Extensions/GR.Crm.Organizations/GR.Crm.Organizations.Razor/GR.Crm.Organizations.Razor/Controllers/EmployeeController.cs
indrivo/bizon360_crm
1
7046290
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using GR.Core.BaseControllers; using GR.Core.Extensions; using GR.Core.Helpers; using GR.Core.Helpers.Pagination; using GR.Core.Helpers.Responses; using GR.Crm.Organizations.Abstractions; using GR...
tests/NuGetGallery.Facts/Helpers/PackageHelperTests.cs
mogah/NuGetGallery
0
7046291
<gh_stars>0 // 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.Entities; using Xunit; namespace NuGetGallery.Helpers { public class PackageHelperTests { [Theory] ...
src/Nuclei.Plugins.Core/TypeExtensions.cs
thenucleus/nuclei.plugins
0
7046292
//----------------------------------------------------------------------- // <copyright company="TheNucleus"> // Copyright (c) TheNucleus. All rights reserved. // Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information. // </copyright> //-------...
test/FunctionalTests/Taupo/Source/Taupo/Contracts/EntityModel/CompositeAnnotation.cs
Sreejithpin/odata.net
629
7046293
<reponame>Sreejithpin/odata.net //--------------------------------------------------------------------- // <copyright file="CompositeAnnotation.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-...
src/NuGetGallery.Operations/Tasks/DataManagement/PopulateCredentialsTask.cs
dshaneg/NuGetGallery
1
7046294
// 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 System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper; usi...
Assets/Scripts/GameScreen/Characters/SimpleArrow.cs
novanadhagara/Legenda-Baturaden
2
7046295
using UnityEngine; using System.Collections; public class SimpleArrow : Arrow{//, ITakeDamage { //THIS SHOULD CHECK THE PLATFORM MASK : PLATFORMS, ENEMY; public Sprite[] Arrows; public GameObject DestroyerEffect; public float TimeToLive; public int Damage; public int PointsToGiveToPlayer; void Start(){ ...
Content.IntegrationTests/Tests/RestartRoundTest.cs
mirrorcult/outer-rim-14
0
7046296
<filename>Content.IntegrationTests/Tests/RestartRoundTest.cs using System.Threading.Tasks; using Content.Server.GameTicking; using Content.Shared.CCVar; using NUnit.Framework; using Robust.Shared.GameObjects; using Robust.Shared.IoC; namespace Content.IntegrationTests.Tests { [TestFixture] public class Restart...
Assets/GameMain/Scripts/DataTable/DRTower.cs
Luqr/GWF
0
7046297
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2020 <NAME>. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:<EMAIL> //------------------------------------------------------------ // 此文件由工具自动生成,请勿直接修改。 // 生成时间:2022-02-25 13:46:09.779 ...
src/NationalDrivingLicense/Pages/DriverLicenses/Details.cshtml.cs
swiss-ssi-group/TrinsicAspNetCore
6
7046298
<reponame>swiss-ssi-group/TrinsicAspNetCore<filename>src/NationalDrivingLicense/Pages/DriverLicenses/Details.cshtml.cs using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using NationalDrivingLicense.Data; n...
core/client/game/src/commonGame/net/response/login/RePlayerListResponse.cs
hw233/home3
8
7046299
using ShineEngine; /// <summary> /// 回复角色列表消息(generated by shine) /// </summary> public class RePlayerListResponse:GameResponse { /// <summary> /// 数据类型ID /// </summary> public const int dataID=GameResponseType.RePlayerList; /// <summary> /// 角色列表 /// </summary> public SList<PlayerLoginData> r...
samples/AdventureWorksLT.SqlServer/AdventureWorksLT/BaseModel.cs
aTiKhan/RDO.Net
23
7046300
<filename>samples/AdventureWorksLT.SqlServer/AdventureWorksLT/BaseModel.cs using DevZest.Data; using DevZest.Data.Annotations; using DevZest.Data.SqlServer; using System; namespace DevZest.Samples.AdventureWorksLT { [UniqueConstraint(nameof(AK_RowGuid), DbName = "AK_%_rowguid", Description = "Unique nonclustered ...
Drills.TennisMatch/Drills.TennisMatch.Component.Test/PointTest.cs
eddieshan/Drills
0
7046301
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Drills.TennisMatch.Component; namespace Drills.TennisMatch.Component.Test { [TestClass] public class PointTest { private static IEnumerable<object[]> PointValues { get ...
MvcWebUI/Controllers/ProductController.cs
dogukanc760/NorthwindLevelTwo
0
7046302
<filename>MvcWebUI/Controllers/ProductController.cs using Business.Abstract; using Microsoft.AspNetCore.Mvc; using MvcWebUI.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MvcWebUI.Controllers { public class ProductController : Controller { ...
DbShell.Driver.Common/Structure/SpecificObjectInfo.cs
dbshell/dbshell
2
7046303
<reponame>dbshell/dbshell using System; using System.Collections.Generic; using System.Linq; using System.Text; using DbShell.Driver.Common.Utility; using System.Runtime.Serialization; namespace DbShell.Driver.Common.Structure { [DataContract] public abstract class SpecificObjectInfo : NamedObjectInfo { ...
cards/DALARAN/DALA/Sim_DALA_BOSS_35h.cs
chi-rei-den/Silverfish
1
7046304
<filename>cards/DALARAN/DALA/Sim_DALA_BOSS_35h.cs /* _BEGIN_TEMPLATE_ { "id": "DALA_BOSS_35h", "name": [ "预言家佐伊", "<NAME>" ], "text": [ "<i>预言已毫无作用。这位治疗师将为城市而战!</i>", "<i>This healer will fight\nfor her city. Break\nout the sooths!</i>" ], "CardClass": "PRIEST", "type": "HERO", "cost": ...
AsyncChromeDriver/DriverCore/DomTracker.cs
DoctorDump/AsyncChromeDriver
0
7046305
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // This file is based on or incorporates material from the Chromium Projects, licensed under the BSD-style license. More info in THIRD-PARTY-NOTICES file. using Sys...
Source/Gtd.PublishedLanguage/Messages.cs
beingtheworst/btw-gtd
5
7046306
<reponame>beingtheworst/btw-gtd using System; using System.Collections.Generic; using System.Runtime.Serialization; // ReSharper disable PartialTypeWithSinglePart // ReSharper disable UnusedMember.Local namespace Gtd { #region Generated by Lokad Code DSL [DataContract(Namespace = "BTW2/GTD")] public partia...
Src/PCLMock.UnitTests/ArgumentFilters/IsBetweenArgumentFilterFixture.cs
pasn/PCLMock
45
7046308
namespace PCLMock.ArgumentFilters.UnitTests { using PCLMock.ArgumentFilters; using Xunit; public sealed class IsBetweenArgumentFilterFixture { [Fact] public void matches_returns_true_if_value_is_equal_to_the_minimum() { Assert.True(new IsBetweenArgumentFilter<int>(5...
src/Mocklis.Core.Tests/Core/MocklisClassAttributeConstructorTests.cs
eredmo/mocklis
7
7046309
<reponame>eredmo/mocklis // -------------------------------------------------------------------------------------------------------------------- // <copyright file="MocklisClassAttributeConstructorTests.cs"> // SPDX-License-Identifier: MIT // Copyright © 2019-2020 <NAME> and contributors. All rights reserved. // </...
src/fiskaltrust.Middleware.Interface.Client.Common/RetryLogic/RetryPolicyException.cs
StefanKert/middleware-interface-dotnet
0
7046310
<reponame>StefanKert/middleware-interface-dotnet using System; namespace fiskaltrust.Middleware.Interface.Client { public class RetryPolicyException : Exception { public RetryPolicyException(string message) : base(message) { } public RetryPolicyException(string message, Exception innerExcepti...
eProject-Sem3/ZuLuCommerce/ZuLuCommerce/Areas/ADMIN/Views/Coupons/Index.cshtml
lequanganhkhuong/eProject-Sem3
0
7046311
<filename>eProject-Sem3/ZuLuCommerce/ZuLuCommerce/Areas/ADMIN/Views/Coupons/Index.cshtml @model PagedList.IPagedList<ZuLuCommerce.Models.Coupon> @using PagedList.Mvc @{ ViewBag.Title = "Coupon list"; } <h2>Coupon list</h2> <a href=@Url.Action("Create") class="btn btn-success" style="margin:10px 0">Add new coupon...
Assets/SoccerBall.cs
Cody-Hoang/CNTTA
0
7046312
using System.Collections; using System.Collections.Generic; using UnityEngine; // public class SoccerBall : MonoBehaviour // { // public class SoccerBall : MonoBehaviour // { // public GameController Controller; // private void OnTriggerEnter(Collider other) // { // if (other.gameObject.tag == "...
OBSWebSocketLibrary/Models/TypeDefs/ObsOutput.cs
watfordjc/csharp-stream-controller
2
7046313
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace uk.JohnCook.dotnet.OBSWebSocketLibrary.TypeDefs { public class ObsOutput { [JsonPropertyName("name")] public string Name { get; set; } [JsonPropertyName("ty...
DatabaseSchemaReader/SqlGen/SqLite/SqLiteDataTypeMapper.cs
pshresth/dbschemareader
276
7046314
<filename>DatabaseSchemaReader/SqlGen/SqLite/SqLiteDataTypeMapper.cs<gh_stars>100-1000 using System.Collections.Generic; using System.Data; namespace DatabaseSchemaReader.SqlGen.SqLite { class SqLiteDataTypeMapper : DataTypeMapper { private readonly IDictionary<DbType, string> _mapping = new Di...
SimShift/SimShift/Data/Tdu2DataMiner.cs
nlhans/SimShift
24
7046315
using System; using System.Diagnostics; using System.Timers; using SimShift.Data.Common; namespace SimShift.Data { public class Tdu2DataMiner : IDataMiner { public string Application { get { return "TestDrive2"; } } public string Name { get { ret...
DirectN/DirectN/Generated/ID3D10Effect.cs
Steph55/DirectN
124
7046316
<reponame>Steph55/DirectN // c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d10effect.h(1315,1) using System; using System.Runtime.InteropServices; namespace DirectN { [ComImport, Guid("51b0ca8b-ec0b-4519-870d-8ee1cb5017c7"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public...
ExemploTDC2016/Writer.Presentation/Services/IEditingCommands.cs
igoravl/TDC2016_DotNet
1
7046317
<filename>ExemploTDC2016/Writer.Presentation/Services/IEditingCommands.cs using System.ComponentModel; namespace Waf.Writer.Presentation.Services { public interface IEditingCommands : INotifyPropertyChanged { bool IsBold { get; set; } bool IsItalic { get; set; } bool IsUnderline { ge...
src/KitHub/Client/KitHubResponse.cs
niklaskarl/KitHub
0
7046318
<filename>src/KitHub/Client/KitHubResponse.cs // ----------------------------------------------------------------------- // <copyright file="KitHubResponse.cs" company="<NAME>"> // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license inform...
Store.Domain/StoreContext/Entities/Customer.cs
douglasrg1/Store
0
7046319
using System; using System.Collections; using System.Collections.Generic; using FluentValidator; using Store.Domain.StoreContext.ValueObjects; using Store.Shared.Entities; namespace Store.Domain.StoreContext.Entities { public class Customer : Entity { private readonly ICollection<Address> _addresses; ...
src/Sudoku.Core/Concepts/Notations/RxCyNotation.cs
Sunnie-Shine/Sudoku
15
7046320
namespace Sudoku.Concepts.Notations; /// <summary> /// Encapsulates a set of methods that handles a variety of instances, using RxCy notation /// to output the <see cref="string"/> representation, or parse a <see cref="string"/> value to convert /// it to the suitable-typed instance. /// </summary> /// <remarks> /// ...
Assets/Scripts/Player/FunctionalItems/FuncShield.cs
TeamSuperSmash/Super-Science-Brother
0
7046322
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class FuncShield : FunctionalItem { public GameObject shieldPrefab; public float maxTimeMassShield = 10f; public float timerMassShield = 10f; public bool massShieldAlive; bool playOnce = false; void Start () { ...
tests/src/CoreMangLib/cti/system/sbyte/sbyteequals2.cs
danmosemsft/coreclr
6
7046323
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; /// <summary> /// SByte.Equals(SByte) /// </summary> public class SByteEquals2 { public static int ...
tests/Foundation.UnitTests/Extensions/PreviousOfTests.cs
vip32/Naos.Core
10
7046324
namespace Naos.Foundation.UnitTests.Extensions { using System.Collections.Generic; using Naos.Foundation; using Shouldly; using Xunit; public class PreviousOfTests { [Fact] public void TestVariousStringsReturnPrevious() { var sut = new List<string>() { "aaa"...
src/tweetz.core/Converters/ProfileLinkConverter.cs
mike-ward/tweetz
101
7046325
using System; using System.Globalization; using System.Windows.Data; namespace tweetz.core.Converters { public class ProfileLinkConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return "https://twitter.com/" ...
src/Lightweight.Business/Providers/Logging/Log4net/Logger.cs
noir2501/lightweight
0
7046326
<filename>src/Lightweight.Business/Providers/Logging/Log4net/Logger.cs using System; using log4net; namespace Lightweight.Business.Providers.Logging.Log4net { public class Logger { private static object configured = false; private readonly ILog log; private static void Configurelog4ne...
AutoRepair/AutoRepair/Catalogs/Catalog.Procedural.cs
CitiesSkylinesMods/AutoRepair
5
7046327
<filename>AutoRepair/AutoRepair/Catalogs/Catalog.Procedural.cs namespace AutoRepair.Catalogs { using AutoRepair.Descriptors; using AutoRepair.Enums; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; /// <summary> /// Procedural object creation/editing. /// </summary> ...
RoslynAnalyzers.POC/RoslynAnalyzers.POC.Rules/VS.Threading.Analyzers/VSTHRD110.cs
KaterynaZorina/RoslynAnalyzers.POC
0
7046328
using System; using System.Threading.Tasks; namespace RoslynAnalyzers.POC.Rules.VS.Threading.Analyzers { /// <summary> /// VSTHRD110 Observe result of async calls /// </summary> public class VSTHRD110 { public Task SomeAsyncMethod() { Console.WriteLine(); r...
src/Baseline.Filesystem/Exceptions/DirectoryNotFoundException.cs
lsymonds/Storio
1
7046329
<reponame>lsymonds/Storio<gh_stars>1-10 namespace Baseline.Filesystem { /// <summary> /// Exception that is thrown when a directory is not found. /// </summary> public class DirectoryNotFoundException : BaselineFilesystemException { /// <summary> /// Initialises a new instance of the...
CarRentalSystem/CarRentalSystem/login.Designer.cs
abanoubamin/Car-Rental-System
0
7046330
namespace CarRentalSystem { partial class login { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
Print settings and print notifications/C#/DeviceAppForPrinters/Constants.cs
mfloresn90/CSharpSources
1
7046331
<reponame>mfloresn90/CSharpSources //********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOS...
Blazor/Standard/BasicGamingUIBlazorLibrary/BasicControls/MultipleFrameContainers/BasicMultiplePilesBlazor.razor.cs
musictopia2/GamingPackXV3
0
7046332
<reponame>musictopia2/GamingPackXV3<gh_stars>0 namespace BasicGamingUIBlazorLibrary.BasicControls.MultipleFrameContainers; [CustomTag("", AlsoNoTags = true)] public partial class BasicMultiplePilesBlazor<D> : IDisposable, IHandleAsync<AnimateCardInPileEventModel<D>>, IHandle<ResetCardsEventModel> where D : class, I...
Services/Order/GetOrderList/GetOrderListResponse.cs
aburok/NorthwindStore
0
7046333
<filename>Services/Order/GetOrderList/GetOrderListResponse.cs using System.Collections.Generic; namespace NorthwindStore.Services.Order.GetOrderList { public class GetOrderListResponse { public GetOrderListResponse() { } public List<OrderApiDto> OrderList { get; set;...
MyWinformMvc/Navigation/OpenActionResult.cs
jingyiliu/My.WinformMvc
6
7046334
<reponame>jingyiliu/My.WinformMvc using System; namespace My.WinformMvc.Navigation { class OpenActionResult : IActionResult { protected readonly string _targetActionName; protected readonly string _targetControllerName; internal OpenActionResult(string targetControllerName, string targetActionNam...
src/OkonkwoCore.Netx/Data/RepositoryFactory.cs
mrchrisok/OkonkwoCore.Netx
0
7046335
<gh_stars>0 using OkonkwoCore.Netx.Contracts; using System.ComponentModel.Composition; namespace OkonkwoCore.Netx.Data { [Export(typeof(IRepositoryFactory))] [PartCreationPolicy(CreationPolicy.NonShared)] public class RepositoryFactory : IRepositoryFactory { private IComponentResolver _contain...
Samples/SimpleNTier/WpfUI/App.xaml.cs
vijaygill/csla
945
7046336
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; using Csla.Configuration; namespace WpfUI { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { protected override ...
DevOpsCLI/Commands/Release/Environment/ReleaseEnvironmentUpdateCommand.cs
jmelosegui/DevOps-CLI
1
7046337
<filename>DevOpsCLI/Commands/Release/Environment/ReleaseEnvironmentUpdateCommand.cs // Copyright (c) All contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Jmelosegui.DevOpsCLI.Commands { using System; using Jmelos...
component/samples/Starter-Android/Views/TestActivity.cs
ErikEJ/Akavache
4
7046338
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using ReactiveUI.Android; using ReactiveUI; using Starter.Core.ViewModels; using Akavache; namespace Starter.Views { [Activity (Label = "Starter-Android", MainLauncher = true)...