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/357.System/Entities/EntityBase.cs | DISN/357 | 0 | 7060945 | using Engine.System.Interfaces;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Engine.System.Entities
{
#if GameEditorMode
public cl... |
cards/OG/OG/Sim_OG_023.cs | chi-rei-den/Silverfish | 1 | 7060946 | using HearthDb.Enums;
/* _BEGIN_TEMPLATE_
{
"id": "OG_023",
"name": [
"原始融合",
"Primal Fusion"
],
"text": [
"你每有一个图腾,就使一个随从获得+1/+1。",
"Give a minion +1/+1 for each of your Totems."
],
"cardClass": "SHAMAN",
"type": "SPELL",
"cost": 1,
"rarity": "COMMON",
"set": "OG",
"collectible":... |
Assets/Scripts/TwitchController.cs | DanielSnd/opensfridaygame | 0 | 7060947 | <filename>Assets/Scripts/TwitchController.cs
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent(typeof(TwitchIRC))]
public class TwitchController : MonoBehaviour {
private TwitchIRC IRC;
/// <summary>
/// Maximum amount of players to spawn a... |
api/AltV.Net.Client/Elements/Interfaces/IAudio.cs | zziger/coreclr-module | 0 | 7060948 | <reponame>zziger/coreclr-module
using AltV.Net.Client.Elements.Entities;
namespace AltV.Net.Client.Elements.Interfaces
{
public interface IAudio : IBaseObject
{
IntPtr AudioNativePointer { get; }
uint AudioCategory { get; set; }
bool Looped { get; set; }
float Volume { get; set... |
src/Essensoft.Paylink.Alipay/Response/AlipayCommerceEducateStucodeUserQueryResponse.cs | essensoft/paymen | 522 | 7060949 | using System.Text.Json.Serialization;
using Essensoft.Paylink.Alipay.Domain;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayCommerceEducateStucodeUserQueryResponse.
/// </summary>
public class AlipayCommerceEducateStucodeUserQueryResponse : AlipayResponse
{
/// <summ... |
SchedulerBot/SchedulerBot.Business.Commands/Commands/NextCommand.cs | Scheduler-Bot/scheduler-bot | 0 | 7060950 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Logging;
using SchedulerBot.Business.Commands.Utils;
using SchedulerBot.Business.Entities;
using SchedulerBot.Business.U... |
Source/ImageProcessing.App.ServiceLayer.Win/ServiceModel/Visitors/Histogram/Implementation/HistogramVisitor.cs | dudinda/Image-Processing | 2 | 7060951 | using System.Drawing;
using System.Linq;
using System.Windows.Forms.DataVisualization.Charting;
using ImageProcessing.App.DomainLayer.Code.Extensions.EnumExt;
using ImageProcessing.App.ServiceLayer.Code.Enums;
using ImageProcessing.App.ServiceLayer.Services.Distribution.BitmapLuminance.Interface;
using ImageProcessing... |
tests/Silverback.Integration.Tests.E2E/TestTypes/TestPrioritizedOutboundRouter.cs | gitjosephbeer/silverback | 139 | 7060952 | // Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System.Collections.Generic;
using Silverback.Messaging;
using Silverback.Messaging.Messages;
using Silverback.Messaging.Outbound.Routing;
using Silverback.Tests.Integration.E2E.TestTypes.Messages;
namespace Si... |
KameraTakip.cs | ibrahimyahyaaydinli/android-3d-yilan-oyunu | 1 | 7060953 | <reponame>ibrahimyahyaaydinli/android-3d-yilan-oyunu<filename>KameraTakip.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KameraTakip : MonoBehaviour
{
GameObject player;
void Start()
{
player = GameObject.FindGameObjectWithTag("as");
... |
src/NServiceBus.Kafka.AcceptanceTests/App_Packages/NSB.AcceptanceTests.6.1.3/Routing/SubscriptionBehavior.cs | pablocastilla/NServiceBus.Kafka | 17 | 7060954 | namespace NServiceBus.AcceptanceTests.Routing
{
using System;
using System.Threading.Tasks;
using AcceptanceTesting;
using NServiceBus.Pipeline;
using Transport;
class SubscriptionBehavior<TContext> : IBehavior<ITransportReceiveContext, ITransportReceiveContext> where TContext : ScenarioContex... |
src/MarshalStructureTest/frmMain.cs | smokingpc/CSharpTest | 0 | 7060955 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics.CodeAnalysis;
namespace MarshalStructureT... |
test/Cool.Normalization.Wrapping.Tests/Models/RegulationResponse_Tests.cs | MaiReo/cool-normalization | 0 | 7060956 | <gh_stars>0
using Cool.Normalization.Models;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Cool.Normalization.Tests
{
public class normalizationResponse_Tests
{
[Fact]
public void Property_Tests()
{
var requestId =... |
TanmaNabu/GameLogic/Game/Components/GameDebugMessageComponent.cs | kubagdynia/TanmaNabu | 0 | 7060957 | using Entitas;
using TanmaNabu.GameLogic.Components;
namespace TanmaNabu.GameLogic.Game
{
public partial class GameEntity
{
public DebugMessageComponent DebugMessage => (DebugMessageComponent)GetComponent(GameComponentsLookup.DebugMessage);
public bool HasDebugMessage => HasComponent(GameCompo... |
CameraUserControl/MainPage.xaml.cs | Roger-random/UWPTest_3DP | 1 | 7060958 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Foundation.Diagnostics;
using Windows.UI.Xaml;
using Windows.UI... |
GroupChat/DAL/GroupChatInitializer.cs | difer300/group-chat | 0 | 7060959 | using GroupChat.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
namespace GroupChat.DAL
{
public class GroupChatInitializer : DropCreateDatabaseIfModelChanges<GroupChatContext>
{
protected override void Seed(GroupChatContext context)
{
var users = ... |
src/Image_IAT_Header.cs | pdemian/PELinker | 5 | 7060960 | using System;
namespace Linker
{
internal class Image_IAT_Header
{
public uint Address;
public byte[] ToBytes()
{
return BitConverter.GetBytes(Address);
}
}
}
|
src/TTY.GMP.Entity/Common/ResponsePagingBase.cs | chenjian8541/gmp | 5 | 7060961 | <reponame>chenjian8541/gmp
using System;
using System.Collections.Generic;
using System.Text;
namespace TTY.GMP.Entity.Common
{
/// <summary>
/// 分页请求响应基类
/// </summary>
public class ResponsePagingBase : ResponseBase
{
/// <summary>
/// 记录数
/// </summary>
public int... |
Assets/Game_Scripts/LevelManager.cs | briveramelo/SeriousHealth | 0 | 7060962 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Level {
public Level(List<Round> i_Rounds) {
rounds = i_Rounds;
}
public List<Round> rounds = new List<Round>();
}
public class Round {
public Round(List<PhonemeScreenObj> i_ScreenPhonemeObjects, List<... |
test/Elastic.Apm.Tests/SpecTests.cs | xiaozhidev/apm-agent-dotnet | 512 | 7060963 | // Licensed to Elasticsearch B.V under
// one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Refle... |
Explosion.cs | AbrarZShahriar/Calvin-Weibel-Easy-Weapons-for-VRTK | 0 | 7060964 | <gh_stars>0
/// <summary>
/// Explosion.cs
/// Author: MutantGopher
/// Attach this script to your explosion prefabs. It handles damage for
/// nearby healths, force for nearby rigidbodies, and camera shaking FX.
/// </summary>
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public cl... |
Dotnet/AxeDemo/Tests/AxeTests.cs | najaybabu/AccessibilityDemo | 1 | 7060965 | using Magenic.Maqs.BaseSeleniumTest;
using Magenic.Maqs.Utilities.Helper;
using Magenic.Maqs.Utilities.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using OpenQA.Selenium;
using OpenQA.Selenium.Internal;
using PageModel;
using Selenium.Axe;
using System.IO;
[assembly: Parallelize... |
src/GraphQLParser/AST/GraphQLObjectValue.cs | freakingawesome/parser | 0 | 7060966 | <filename>src/GraphQLParser/AST/GraphQLObjectValue.cs<gh_stars>0
using System.Collections.Generic;
namespace GraphQLParser.AST
{
public class GraphQLObjectValue : GraphQLValue
{
public IEnumerable<GraphQLObjectField> Fields { get; set; }
public override ASTNodeKind Kind
{
... |
SportGames/Models/RefereeCompetition.cs | ElliNow/sportCompetition | 0 | 7060967 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportGames.Models
{
public class RefereeCompetition
{
public int Id { get; set; }
public int CompetitionId { get; set; }
public virtual Competition Competitio... |
Temp.Domain/Models/EmploymentStatuses/Exceptions/InvalidEmploymentStatusException.cs | dusankuburic/Temp | 1 | 7060968 | <filename>Temp.Domain/Models/EmploymentStatuses/Exceptions/InvalidEmploymentStatusException.cs<gh_stars>1-10
using System;
namespace Temp.Domain.Models.EmploymentStatuses.Exceptions
{
public class InvalidEmploymentStatusException : Exception
{
public InvalidEmploymentStatusException(string parameterNa... |
src/Shared/BlazorBoilerplate.Shared/Interfaces/IDynamicComponent.cs | genkokudo/BlizzardHaunt | 0 | 7060969 | <filename>src/Shared/BlazorBoilerplate.Shared/Interfaces/IDynamicComponent.cs
namespace BlazorBoilerplate.Shared.Interfaces
{
// @implements IDynamicComponent をrazorファイルに書くと使用できる。
// 何でこれを作ってるのかわからない
/// <summary>
/// 各.razorファイルで実装する
/// </summary>
public interface IDynamicComponent
{
... |
tests/Ml.Cli.Tests/JobsTests/VersionUnitTest.cs | AxaGuilDEv/ml-cli | 19 | 7060970 | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Ml.Cli.FileLoader;
using Ml.Cli.JobVersion;
using Ml.Cli.PathManager;
using Moq;
using Moq.Contrib.HttpClient;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Xunit;
using Version = Ml.Cli.JobVersion.V... |
AuctionApp/Repositories/LoadOptions.cs | jfrankelp/auctionAppChallenge | 0 | 7060971 | using System;
namespace AuctionApp.Repositories
{
[Flags]
public enum LoadOptions
{
TrackingDisabled = 1,
TrackingEnabled = 2,
LoadRelatedData = 4 | TrackingEnabled
}
} |
coordinator/Migrations/20200915141458_UpdateSchema.cs | Codevka/rurikawa | 40 | 7060972 | <filename>coordinator/Migrations/20200915141458_UpdateSchema.cs
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Karenia.Rurikawa.Coordinator.Migrations
{
public partial class UpdateSchema : Migration
{
protected override void Up(MigrationBuilde... |
Encapsulation-Exercise/01ClassBox/Box.cs | StackSmack007/OOP-Basics | 0 | 7060973 | <filename>Encapsulation-Exercise/01ClassBox/Box.cs
namespace _01ClassBox
{
public class Box
{
private double length;
private double height;
private double width;
public Box(double length, double height, double width)
{
this.length = length;
... |
Common/Tests/AssemblyInfoCommon.cs | pavel-petrenko/nodejstools | 1,984 | 7060974 | // 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.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// The following assembly information is common t... |
src/PeriodEnd/LevyPayments/SFA.DAS.ProviderPayments.Calc.LevyPayments/Application/Payments/Payment.cs | SkillsFundingAgency/das-providerpayments | 0 | 7060975 | using SFA.DAS.Payments.DCFS.Domain;
using System;
namespace SFA.DAS.ProviderPayments.Calc.LevyPayments.Application.Payments
{
public class Payment
{
public string Id { get; set; }
public Guid RequiredPaymentId { get; set; }
public int DeliveryMonth { get; set; }
public int De... |
src/ImageSharp.Drawing/Processing/Extensions/DrawTextExtensions.cs | jtjackson/ImageSharp.Drawing | 171 | 7060976 | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using SixLabors.Fonts;
using SixLabors.ImageSharp.Drawing.Processing.Processors.Text;
using SixLabors.ImageSharp.Processing;
namespace SixLabors.ImageSharp.Drawing.Processing
{
/// <summary>
/// Adds extensions that allow the drawing ... |
Patches/CustomBeatmapLoadingOverridePatch.cs | TacoDogUnbeatableThing/CustomBeatmapsV2 | 0 | 7060977 | <reponame>TacoDogUnbeatableThing/CustomBeatmapsV2
using System;
using CustomBeatmaps.Packages;
using HarmonyLib;
using Rhythm;
using UnityEngine;
namespace CustomBeatmaps.Patches
{
public static class CustomBeatmapLoadingOverridePatch
{
private static CustomBeatmapInfo _override;
public stat... |
AdventOfCode/Solutions/Year2020/Day20/Solution.cs | p-kostic/AdventOfCode20xx | 1 | 7060978 | <reponame>p-kostic/AdventOfCode20xx<filename>AdventOfCode/Solutions/Year2020/Day20/Solution.cs
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode.Solutions.Year2020
{
internal class Day20 : ASolution
{
private readonly Dictionary<int, SubGrid> _inputGrids;
public enum ... |
Commons/Collections/LazyDictionary.cs | chrisg32/Commons | 0 | 7060979 | <reponame>chrisg32/Commons<filename>Commons/Collections/LazyDictionary.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace CG.Commons.Collections
{
public static class LazyDictionary
{
public static LazyDictionary<TKeyType, TVal... |
FirstMVCApp/Views/Home/CreatePerson.cshtml | SauravDhami/netcore | 0 | 7060980 | <reponame>SauravDhami/netcore
@{ ViewData["Title"] = "CreatePerson"; }
<h1>CreatePerson</h1>
@model PersonalDetail
@{ ViewData["Title"] = "PersonalDetail"; }
<h2>Please enter the details for new person below.</h2>
@Html.ActionLink("Back to Persons", "Persons", "Home", null, new { @class = "btn btn-secondary" })... |
Directory/DAL/DataService.cs | rostrastegaev/Directory | 0 | 7060981 | <filename>Directory/DAL/DataService.cs
using Microsoft.EntityFrameworkCore;
namespace DAL
{
public class DataService : DbContext, IDataService
{
public DbSet<User> Users { get; set; }
public DbSet<Record> Records { get; set; }
public DbSet<Image> Images { get; set; }
public Da... |
sorumatikEmu/sorumatikEmu/Form1.Designer.cs | lim10dev/sorumatik | 2 | 7060982 | <reponame>lim10dev/sorumatik
namespace sorumatikEmu
{
partial class Form1
{
/// <summary>
///Gerekli tasarımcı değişkeni.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
///Kullanılan tüm kaynakları temizleyin.
... |
Core/Workflow/DonorWorkflow.cs | devlooped/api.nosayudamos.org | 3 | 7060983 | using System.Threading.Tasks;
namespace NosAyudamos
{
[Workflow(nameof(Role.Donor))]
class DonorWorkflow : IWorkflow
{
readonly IEventStreamAsync events;
public DonorWorkflow(IEventStreamAsync events) => this.events = events;
public async Task RunAsync(MessageReceived message, Tex... |
WebApiThrottle.WebApiDemo/Helpers/RedisCacheClient.cs | noobwu/WebApiThrottle | 0 | 7060984 | using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApiThrottle.WebApiDemo.Helpers
{
public class RedisCacheClient
{
/// <summary>
/// The atomic increment
/// </summary>
private readonly LuaScript _atomic... |
Runtime/IDeserializer.cs | chunloklo/HouraiSerialization | 2 | 7060986 | using System;
using UnityEngine;
using UnityEngine.Assertions;
using Unity.Collections.LowLevel.Unsafe;
namespace HouraiTeahouse.Serialization {
public interface IDeserializer : IBufferIO {
}
public static unsafe class IDeserializerExtensions {
/// <summary>
/// Reads a single byte from the buffer.
/// </summ... |
OldSamples/Fragments/FragmentSample.UI.Droid/Views/HomeView.cs | tuke307/MvvmCross-Samples | 347 | 7060987 | <reponame>tuke307/MvvmCross-Samples<filename>OldSamples/Fragments/FragmentSample.UI.Droid/Views/HomeView.cs
using System;
using Android.App;
using Android.Widget;
using Cirrious.MvvmCross.Droid.Fragging;
using FragmentSample.Core.ViewModels;
namespace FragmentSample.UI.Droid.Views
{
[Activity]
public class Hom... |
src/Simplic.Flow.Editor.UI/Connectors/FlowConnector.cs | simplic/flow | 1 | 7060988 | using System.Windows;
namespace Simplic.Flow.Editor.UI
{
/// <summary>
/// Flow connector type
/// </summary>
public class FlowConnector : BaseConnector
{
/// <summary>
/// Constructor
/// </summary>
/// <param name="name">Connector name</param>
/// <param n... |
sbtw.Game/Scripting/ScriptAssermblyRunner.cs | munehime/sbtw | 0 | 7060989 | // Copyright (c) 2021 <NAME>. Licensed under MIT License.
// See LICENSE in the repository root for more details.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using sbtw.Common.Scripting;
using sbtw.Game.Projects;
namespace sbtw.Game.Scripting
{
public abstract class ScriptA... |
BankingClientV1/LetterHandler.cs | thomasvt1/BankingGUI | 0 | 7060990 | using System;
using System.Threading;
using System.Windows;
namespace BankingClientV1
{
class LetterHandler
{
String[] back_blacklist =
{
"MainWindow",
"NoArduino",
"NoNetwork",
"Choice",
"PinWindow",
"PleaseWaitWindow",
... |
Dacne/Dacne.Core/OperationState.cs | futurice/Dacne | 1 | 7060991 |
namespace Dacne.Core
{
public interface IOperationState<out T> : IOperationStateBase where T : class
{
T Result { get; }
}
public class OperationState<T> : OperationStateBase, IOperationState<T> where T : class
{
public OperationState(T result = null, double progress = 0, Operatio... |
ReViVD - Stage 2A/Assets/Movement/Movement.cs | hamdi-sokmani/ReViVD | 14 | 7060992 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Revivd {
public class Movement : MonoBehaviour {
private static Movement _instance;
public static Movement Instance { get { return _instance; } }
public bool FullControlMode = false;
public... |
Verification/ColumnDelimitedPublicationTagger.cs | Acidmanic/PactNetWrapper | 0 | 7060993 | <gh_stars>0
using System;
using Pact.Provider.Wrapper.Models.Augment;
namespace Pact.Provider.Wrapper.Verification
{
public class ColumnDelimitedPublicationTagger : IPublicationTagger
{
public string TagInteraction(InteractionInfo interaction)
{
string tag = TagUriPath(interaction.R... |
src/InjectionMap.Configuration/IConfigurationExpression.cs | InjectionMap/InjectionMap.Configuration | 0 | 7060994 | <filename>src/InjectionMap.Configuration/IConfigurationExpression.cs
using System;
namespace InjectionMap.Configuration
{
public interface IConfigurationExpression
{
/// <summary>
/// Adds a propertydefinition that can be injected
/// </summary>
/// <param name="type">... |
WPF2048/WPF2048/Assets/EnumerationHelper.cs | Synfray/WPF2048 | 0 | 7060995 | <reponame>Synfray/WPF2048<filename>WPF2048/WPF2048/Assets/EnumerationHelper.cs
using System;
using System.Collections.ObjectModel;
namespace WPF2048.Assets
{
public static class EnumerationHelper
{
public static T Get2DElement<T>(this ObservableCollection<T> self, int x, int y)
{
i... |
MonstercatNet/Models/Track/Requests/TrackStreamRequest.cs | karimelazzouni/MonstercatNet | 2 | 7060996 | using System;
namespace SoftThorn.MonstercatNet
{
public sealed class TrackStreamRequest
{
public Guid ReleaseId { get; set; }
public Guid TrackId { get; set; }
public TrackStreamRequest()
{
ReleaseId = Guid.Empty;
TrackId = Guid.Empty;
}
}
... |
SensateIoT.Platform.Network.API/Abstract/ICommandPublisher.cs | sensate-iot/platform-network | 0 | 7060998 | <filename>SensateIoT.Platform.Network.API/Abstract/ICommandPublisher.cs
/*
* Command publishing service.
*
* @author <NAME>
* @email <EMAIL>
*/
using System.Threading;
using System.Threading.Tasks;
using SensateIoT.Platform.Network.Data.Enums;
namespace SensateIoT.Platform.Network.API.Abstract
{
public inte... |
Destiny2.Auth/Oauth.cs | stevejhill/Destiny2.Auth | 1 | 7060999 | <filename>Destiny2.Auth/Oauth.cs
using RestSharp;
using System.Threading.Tasks;
using System.Net;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace Destiny2.Auth
{
public class Oauth
{
private readonly ILogger _logger;
public Oauth(ILogger<Oauth> logger)
{
... |
SafeExamBrowser.Core.UnitTests/Operations/I18nOperationTests.cs | shashinma/CSEB-Windows | 0 | 7061000 | <reponame>shashinma/CSEB-Windows<gh_stars>0
/*
* Copyright (c) 2021 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.o... |
DotNetAppSqlDb/Models/Attendance_Attraction_CustomerModel.cs | Sudocolon/ZooDatabase | 0 | 7061002 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DotNetAppSqlDb.Models
{
public class Attendance_Attraction_CustomerModel
{
public int TicketID { get; set; }
public int attractionid { get; set; }
}
} |
StatsOperationsTests/StatsZScoreTests.cs | Clara230/StatisticsCalculator1 | 0 | 7061003 | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StatsOperations;
using System;
using System.Collections.Generic;
using System.Text;
namespace StatsOperations.Tests
{
[TestClass()]
public class StatsZScoreTests
{
[TestMethod()]
public void ZScoreIntTest()
{
... |
src/OurService/ServicePolicies.cs | TopSwagCode/TopSwagCode.DesignPatterns.CircuitBreaker | 1 | 7061004 | <reponame>TopSwagCode/TopSwagCode.DesignPatterns.CircuitBreaker
using Polly;
using Polly.Extensions.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace OurService
{
public static class ServicePolicies
{
public static I... |
UI/Services/Storage/Forms/DetailsForm.cs | swax/DeOps | 10 | 7061005 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
using DeOps.Implementation;
using DeOps.Interface;
using DeOps.Interface.TLVex;
using DeOps.Services.Trust;
namespace De... |
Assets/Scripts/MVCS/Game/Controller/PlayerSwimmedToCamaradeBoatCommand.cs | TeamBrookvale/Saboteur-Diver | 7 | 7061006 | using UnityEngine;
using System.Collections;
using strange.extensions.command.impl;
namespace TeamBrookvale.Game
{
public class PlayerSwimmedToCamaradeBoatCommand : Command
{
[Inject]
public IGameModel gameModel {get;set;}
[Inject]
public GameLevelPassedSignal gameLevelPassedSignal {get;set;}
public over... |
NetTopologySuite.IO.SpatiaLite.Test/SpatialiteLoader.cs | DGuidi/NetTopologySuite.IO.SpatiaLite | 0 | 7061007 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See ACKNOWLEDGEMENTS.md in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServi... |
src/Shimakaze.Models.Csf/CsfStruct.cs | ShimakazeProject/Shimakaze.Models | 0 | 7061008 | <reponame>ShimakazeProject/Shimakaze.Models
using System;
namespace Shimakaze.Models.Csf
{
public sealed class CsfStruct
{
public CsfHead Head { get; set; }
public CsfLabel[] Datas { get; set; } = Array.Empty<CsfLabel>();
}
} |
Path_Tracing/Assets/Scripts/SceneManager.cs | sitonja/Computer-graphics-projects | 0 | 7061009 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SceneManager : MonoBehaviour {
private const string BSplineFilePath = "Assets/bSpline.obj";
public GameObject plane;
public float deltaTime = 0.5f;
public bool showTangents = false;
private Vector3[] point... |
src/Stump.Server.WorldServer/game/Exchanges/TaxCollector/TaxCollectorExchange.cs | Daymortel/Stump | 2 | 7061010 | <reponame>Daymortel/Stump<filename>src/Stump.Server.WorldServer/game/Exchanges/TaxCollector/TaxCollectorExchange.cs
using Stump.Core.Mathematics;
using Stump.Core.Timers;
using Stump.DofusProtocol.Enums;
using Stump.DofusProtocol.Messages;
using Stump.Server.WorldServer.Game.Actors.RolePlay.Characters;
using Stump.Ser... |
Nuqleon/Core/LINQ/Nuqleon.Linq.CompilerServices/TypeSystem/IType.cs | ScriptBox99/reaqtor | 485 | 7061011 | // 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.
//
// Revision history:
//
// BD - May 2013 - Created this file.
//
namespace System.Linq.CompilerServices
{
/... |
DefaultPlugins/GlobalcachingApplication.Plugins.ExportHTML/PropertyItemImplementations.cs | GlobalcachingEU/GAPP | 2 | 7061012 | <reponame>GlobalcachingEU/GAPP<filename>DefaultPlugins/GlobalcachingApplication.Plugins.ExportHTML/PropertyItemImplementations.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GlobalcachingApplication.Plugins.ExportHTML
{
public class PropertyName
{
pu... |
UniRx.Async/UniTaskScheduler.cs | darsausalo/UniTask | 0 | 7061013 | using System;
#if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6))
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using System.Threading;
using UnityEngine;
namespace UniRx.Async
{
// UniTask has no scheduler like TaskScheduler.
// Only h... |
Eco.DiscordAccessMod/DiscordEcoLink.cs | thetestgame/Eco-Discord-Access-Mod | 0 | 7061014 | <filename>Eco.DiscordAccessMod/DiscordEcoLink.cs
// Copyright (c) <NAME>. All rights reserved.
// The Discord Access Mod for Eco is available under the MIT license.
// A copy of this license can be found in the repository root or at https://github.com/thetestgame/Eco-Discord-Access-Mod/blob/master/LICENSE
namespace E... |
test/FunctionalTests/Taupo/Source/Taupo/EntityModel/Internal/RelationshipSelector.cs | Sreejithpin/odata.net | 629 | 7061015 | //---------------------------------------------------------------------
// <copyright file="RelationshipSelector.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------------------... |
LearnCore.CommonLibrary.Client/TestRespository/TestRepositoryManager.cs | bogenschutzb/LearnCore | 0 | 7061016 | <reponame>bogenschutzb/LearnCore
namespace LearnCore.CommonLibrary.Client.TestRespository
{
public class TestRepositoryManager : ITestRepositoryManager
{
#region Public Properties
public UserRepo UserRepo { get; set; }
#endregion
#region Constructor
public TestRepositor... |
Source/Core/IdentityServer/EndpointsDisabledByDefault.cs | dolittle-security/Gateway | 0 | 7061017 | <gh_stars>0
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------... |
HCsbLib/HCsbLib/HTLib2/HMath.Numerics.Matrix/MatrixSymmetric.cs | htna/HCsbLib | 2 | 7061018 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace HTLib2
{
public static partial class HStatic
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static MatrixSymm... |
OgrePlugin/Platform/OgreSceneView.cs | AnomalousMedical/Engine | 0 | 7061019 | <reponame>AnomalousMedical/Engine
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine;
using Engine.ObjectManagement;
using Logging;
namespace OgrePlugin
{
/// <summary>
/// A CameraControl class for ogre cameras.
/// </summary>
public class ... |
Assets/Plugins/Runtime/Attributes/Puerts/TypeFilterAttribute.cs | puerts-tsc/startup | 0 | 7061020 | using System;
namespace Runtime {
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)]
public class TypeFilterAttribute : Attribute { }
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)]
public class PuertsBlacklistAttribute : Attribute { }
[AttributeUsage(AttributeTargets.Proper... |
src/S3Batcher.CommandLine/Arguments/Argument.cs | mfogliatto/s3-undeleter | 0 | 7061021 | <reponame>mfogliatto/s3-undeleter
using System;
namespace S3Batcher.CommandLine.Arguments
{
sealed class Argument
{
private string _arg;
public string Name => _arg.Substring(ArgumentDefinition.PREFIX.Length, _arg.IndexOf(ArgumentDefinition.VALUE_DELIMITER) - ArgumentDefinition.PREFIX.Length);
... |
SubtitleTools.Tests/TestRegexHelper.cs | VahidN/SubtitleTools | 21 | 7061022 | <filename>SubtitleTools.Tests/TestRegexHelper.cs
using NUnit.Framework;
using SubtitleTools.Common.Regex;
using DNTPersianUtils.Core;
namespace SubtitleTools.Tests
{
[TestFixture]
public class TestRegexHelper
{
[Test]
public void TestIsNumeric1()
{
Assert.Th... |
Src/numl.Tests/AITests/TicTacToeTests.cs | sethjuarez/numl | 370 | 7061023 | <gh_stars>100-1000
using System;
using System.Linq;
using System.Collections.Generic;
using numl.AI;
using numl.AI.Search;
using Xunit;
namespace numl.Tests.AITests
{
[Trait("Category", "AI")]
public class TicTacToeTests
{
private static void PrintSolution(IEnumerable<ISuccessor> s... |
BridgeMVC/Views/Home/Index.cshtml | m-oa-la/Bridge | 0 | 7061024 | <reponame>m-oa-la/Bridge<filename>BridgeMVC/Views/Home/Index.cshtml
@model BridgeMVC.Models.BUser
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
string LastUsedBridge = Model.BridgeLastUsed; // Bug here
string ListModule = "";
List<string> result = Model.BridgesGranted.Split... |
IniEditor/Util/Pt2PxConverter.cs | TN8001/IniEditor | 7 | 7061025 | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace IniEditor.Util
{
public class Pt2PxConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if(value is double pt)... |
Samples/VS2013/WebApiSample.ModelFirst/WebApiSample.Service.Entities/Order.cs | edi0177/trackable-entities | 107 | 7061026 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
chamba.dto/ResponseModel.cs | stbndev/chambaap-rest | 0 | 7061027 | using System;
using System.Collections.Generic;
using System.Text;
namespace chambapp.dto
{
//public class ResponseModel
//{
// public dynamic Datums { get; set; } = null;
// public int Flag { get; set; } = 0;
// public string Message { get; set; } = string.Empty;
// //public strin... |
ObjectTK/Shaders/Variables/ShaderStorage.cs | uzername/ObjectTK | 62 | 7061028 | <reponame>uzername/ObjectTK<gh_stars>10-100
//
// ShaderStorage.cs
//
// Copyright (C) 2018 OpenTK
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
using OpenTK.Graphics.OpenGL;
namespace ObjectTK.Shaders.Variables
{
/// <summary>
... |
Assets/Scripts/Matts Scripts/AI/AggressZone.cs | JamesVeug/NIM | 0 | 7061029 | using UnityEngine;
using System.Collections;
public class AggressZone : MonoBehaviour {
public AIPatrol patrolScript;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void OnTriggerEnter(Collider other)
{
if (o... |
test/EagleRepair.IntegrationTests/Cli/DataProvider/UsePatternMatching/UsePatternMatchingTriviaDataProvider.cs | marodev/EagleRepair | 11 | 7061030 | using System.Collections.Generic;
namespace EagleRepair.IntegrationTests.Cli.DataProvider.UsePatternMatching
{
public static class UsePatternMatchingTriviaDataProvider
{
private const string Input = @"
using System;
namespace Entry
{
public class C
{
public bool M(object o)
... |
Wallon/Fenetres/Form1.Designer.cs | secretMoi/Wallon | 2 | 7061031 | using FlatControls.Controls.Buttons;
namespace Wallon.Fenetres
{
partial class Form1
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des ressources uti... |
TimeCapsule/Model/KeyMessage.cs | capitalChurch/timeCapsule | 0 | 7061032 | namespace TimeCapsule.Model
{
public class KeyMessage
{
public int Id { get; set; }
public long UnixTimeStampToSend { get; set; }
public bool MessageSent { get; set; }
}
} |
Rant.Tests/Modules.cs | strogonoff/Manhood | 0 | 7061033 | <filename>Rant.Tests/Modules.cs
using System.IO;
using NUnit.Framework;
namespace Rant.Tests
{
[TestFixture]
public class Modules
{
private readonly RantEngine rant = new RantEngine();
[Test]
public void FileModules()
{
File.WriteAllText("rant_module_test.module.rant", "[$[.hey]:Hello, World!]");
As... |
src/SvcPrinMan/Supports/GraphPayloadFormatter.cs | Zenulous/ms-graph-app-management | 4 | 7061034 |
using Microsoft.Graph;
using System.Text;
namespace SvcPrinMan.Supports
{
public class GraphPayloadFormatter
{
public static string GetStringRepresentation(ServicePrincipal sp)
{
var sb = new StringBuilder();
sb.AppendLine($"Name: {sp.DisplayName} ");
sb.... |
Generator/Generator/AstNodes/WebIDLType.cs | n9/SaltarelleWeb | 2 | 7061036 | <filename>Generator/Generator/AstNodes/WebIDLType.cs
using System;
using System.Collections.Generic;
using Generator.ExtensionMethods;
namespace Generator.AstNodes {
public class WebIDLType {
private WebIDLType() {}
public class BuiltinData {
public BuiltinType BuiltinType { get; private set; }
public Bui... |
StarWRPG/StarWRPG/Models/CharacterMembers/Skills/CoreWorldsSkill.cs | Fmccline/SW-Character-Sheet-App | 2 | 7061037 | <reponame>Fmccline/SW-Character-Sheet-App
using System;
namespace StarWRPG.Models
{
public class CoreWorldsSkill : Skill
{
public CoreWorldsSkill(Characteristic c) : base(c, "Core Worlds")
{
SkillUses.Add("If a character needs to identify a person's planet of origin, they may make a Core ... |
Editor/VEF/VEF.Core.Shared/ViewModel/OutputViewModel.cs | devxkh/FrankE | 11 | 7061038 | #region License
// Copyright (c) 2014
#endregion
using VEF.Core.View;
using VEF.Interfaces;
using VEF.Interfaces.Events;
using VEF.Interfaces.Services;
using VEF.Model;
namespace VEF.ViewModel
{
internal class OutputViewModel : ToolViewModel
{
private readonly OutputModel _model;
private rea... |
src/App/App.Security/Infrastructure/IdentityUserStore.cs | Screaming-Onion/CSharp-API-Project | 5 | 7061039 | using System;
using System.Data.Entity;
using App.Entities.Security;
using Microsoft.AspNet.Identity.EntityFramework;
namespace App.Security.Infrastructure
{
public class IdentityUserStore : UserStore<ApplicationUser, ApplicationRole, Guid,
ApplicationIdentityUserLogin, ApplicationIdentityUserRole, Applica... |
Data/GarageManager.Data/Configurations/PartConfig.cs | TodorChapkanov/Garage-Manager | 0 | 7061040 | using GarageManager.Domain;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace GarageManager.Data.Configurations
{
public class PartConfig : IEntityTypeConfiguration<Part>
{
public void Configure(EntityTypeBuilder<Part> builder)
{
... |
src/Newznab/MovieSearchRequest.cs | ChristopherHaws/newznab | 4 | 7061041 | using System;
namespace Newznab
{
/// <summary>
/// Represents a request to search the index in the Movie category for items matching an IMDb ID or the search criteria.
/// </summary>
/// <seealso cref="SearchRequest" />
public class MovieSearchRequest : SearchRequest
{
/// <summary>
/// Initializes a new i... |
Lib/StringHelperExtensions.cs | Mikesh89/nlpvisualizer | 5 | 7061042 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace Clifton.Tools.Strings.Extensions
{
public static class StringHelpersExtensions
{
public static bool IsInt32(this String src)
{
int result;
bool ret = Int32.TryParse(src, out resul... |
ObscureWare.ModernD20/Builders/BaseEffectBuilder.cs | Sebastian-Gruchacz/GoblinFortress | 0 | 7061043 | <gh_stars>0
using System;
using ObscureWare.D20Common;
using ObscureWare.ModernD20.Engine;
namespace ObscureWare.ModernD20.EffectBuilders
{
public abstract class BaseEffectBuilder
{
public Guid Id { get; private set; }
public EffectStackModeEnum Stackable { get; set; }
public EffectTim... |
FinalFractalHelper.cs | cc004/Zenith | 2 | 7061044 | using Microsoft.Xna.Framework;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Terraria;
using Terraria.Graphics.Shaders;
using Terraria.ID;
using Terraria.ModLoader;
namespace Zenith
{
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct FinalFra... |
src/FLS.Common/Comparer/ObjectComparer.cs | flightlog/flsserver | 9 | 7061045 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace FLS.Common.Comparer
{
public static class ObjectComparer
{
/// <summary>
/// Compares the properties of two objects of the same type and ret... |
src/Ultz.Oppy/Core/Host.cs | Ultz/Oppy | 1 | 7061046 | // This file is part of Oppy.
//
// You may modify and distribute Oppy under the terms
// of the MIT license. See the LICENSE file for details.
//
using System.Collections.Generic;
using System.Linq;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using System.Text.Json;
u... |
Assets/Scripts/Pallet.cs | Trysac/Unity-Basic-PingPong-Game | 0 | 7061048 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pallet : MonoBehaviour
{
[SerializeField] float moveSpeed = 2000f;
Rigidbody2D myRigidbody2D;
void Start()
{
myRigidbody2D = GetComponent<Rigidbody2D>();
}
void Update()
{
my... |
Runtime/Scripts/Events/DoubleEvent.cs | MrSliddes/SLIDDES-Unity-Modular | 0 | 7061049 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SLIDDES.Modular
{
[CreateAssetMenu(fileName = "Event Double", menuName = "SLIDDES/Modular/Events/Event Double")]
public class DoubleEvent : Event<double>
{
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.