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 |
|---|---|---|---|---|
writeups/misc/tuts4you/clumsyvm/src/ClumsyVM/AutomatonState.cs | Washi1337/ctf-writeups | 24 | 7054256 | <filename>writeups/misc/tuts4you/clumsyvm/src/ClumsyVM/AutomatonState.cs
using System.Threading;
public abstract class AutomatonState
{
public static volatile StartAutomatonState gclass31_0;
public static volatile FetchAutomatonState gclass29_0;
public static volatile ExecuteAutomatonState gclass28_0;
... |
RadioDNS/HDService.cs | mattyribbo/dotnet-radiodns | 0 | 7054257 | /***
* HD Service (IBOC)
*/
using System;
using System.Text.RegularExpressions;
namespace RadioDNS
{
internal class HDService : Service
{
private string _tx;
private string _cc;
private string _mId;
public string TX { get => _tx; set => _tx = value; }
public string CC... |
Data Types and Variables - Exercises/17.CypherRoulette.cs | spazbg/Progr-Fund-Extended-Exercises | 1 | 7054258 | <filename>Data Types and Variables - Exercises/17.CypherRoulette.cs
using System;
namespace _17.CypherRoulette
//You will be given an integer N. On the next N lines, you will receive some strings.
//The strings will be either:
//• sequences of random characters
//• or the command - "spin"
//If they are normal random... |
server/Netptune.Models/Enums/ProjectTaskStatus.cs | JoelCrosby/Netptune | 0 | 7054259 | namespace Netptune.Models.Enums
{
public enum ProjectTaskStatus
{
New = 0,
Complete = 1,
InProgress = 2,
OnHold = 3,
UnAssigned = 4,
AwaitingClassification = 5,
InActive = 6
}
} |
Assignment 06/PurchasePrice.cs | tylerjbroussard/210ProgrammingInC- | 0 | 7054260 | <reponame>tylerjbroussard/210ProgrammingInC-<gh_stars>0
namespace PurchasePriceSpace
{
public class PurchasePrice
{
int _Price;
public int Price
{
get
{
return _Price;
}
set
{
_Price = value;
... |
BroCompiler/Model/CompilerModel.cs | bombomby/brocompiler | 2 | 7054261 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BroControls;
using BroCollector;
namespace BroCompiler.Model
{
public class ProcessGroupModel : Timeline.IItem
{
public string Name { get; set; }
public DateTime Start { ge... |
backend/src/Something.API/Controllers/ImportLayoutController.cs | abreu-dev/dotnet-generic-importer | 0 | 7054262 | <reponame>abreu-dev/dotnet-generic-importer<gh_stars>0
using Core.API.Controllers;
using Core.Domain.Notifications;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Something.Application.DataTransferObjects.ImportLayoutDTOs;
using Something.Application.Interfaces;
using System;
using System.Collections.Generic;
us... |
Core/Configuration/ConfigurationException.cs | telmengedar/NightlyCode.Core | 0 | 7054263 | <filename>Core/Configuration/ConfigurationException.cs
using System;
using System.Runtime.Serialization;
namespace NightlyCode.Core.Configuration {
/// <summary>
/// exception when accessing configuration
/// </summary>
public class ConfigurationException : Exception {
/// <summary>
... |
EncurtadorAspNet/WebAppEncurtadorUrlClient/WebApplication1/WebApplication1/Forms/frmEncurtadorUrl.aspx.cs | samuelpg95/hire.me | 0 | 7054264 | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication1
{
public partial clas... |
Domain/Core/Classes/AgregateState.cs | Harunx9/AkkaCQRSExample | 2 | 7054265 | <reponame>Harunx9/AkkaCQRSExample
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain.Core.Classes
{
public interface IAgregateState
{
Guid Id { get; set; }
bool IsActive { get; set; }
bool ApplyEvent(IEve... |
BinLog.Tests/Impl/CustomStruct.cs | dngulin/BinLog | 0 | 7054266 | namespace BinLog.Tests.Impl {
public readonly struct CustomStruct {
public readonly float X;
public readonly float Y;
public const int SerializedSize = sizeof(float) * 2;
public CustomStruct(float x, float y) {
X = x;
Y = y;
}
public override string ToString() => $"CustomStruct(... |
Data/EndlessJourney.Data/Migrations/20220420211735_RemoveShipId.cs | yovko93/EndlessJourney | 0 | 7054267 | using Microsoft.EntityFrameworkCore.Migrations;
namespace EndlessJourney.Data.Migrations
{
public partial class RemoveShipId : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Ships_Images_ImageId... |
Web_Api/Model/UserTicketsModel.cs | GK0208/North_Lotto_Every_Hour | 0 | 7054268 | using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
public class UserTicketsModel
{
public int TicketsLength { get; set; }
public List<TicketModel> Tickets { get; set; }
}
}
|
src/Roadkill.Tests/Unit/Mvc/Controllers/InstallControllerTests.cs | coderIML/850.roadkillwiki.net | 329 | 7054269 | <gh_stars>100-1000
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web.Mvc;
using Moq;
using MvcContrib.TestHelper;
using NUnit.Framework;
using Roadkill.Core.Configuration;
using Roadkill.Core.Database;
using Roadkill.Core.DependencyResolution;
using Roadkill.Core.M... |
Assets/Meteor/UpdateDialog.cs | Weeir/Joe | 55 | 7054270 | <reponame>Weeir/Joe<gh_stars>10-100
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.Events;
using Idevgame.GameState.DialogState;
//更新提示
public class UpdateDialogState:CommonDialogState<UpdateDialog>
{
public override string DialogName { get { return "UpdateNotice"; } }
pub... |
Discord/Commands/JoinCommand.cs | bscal/ScalDotaBot | 0 | 7054271 | <filename>Discord/Commands/JoinCommand.cs
using Discord.Commands;
using Discord.WebSocket;
using InhouseBot.Matchmaking;
using InhouseBot.Mysql;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace InhouseBot.Discord.Commands
{
public class JoinCommand : Modul... |
Assets/Scripts/Buildings/Turrets/TurretTypes/SimpleTurret.cs | RyanJiff/Unity3D-TowerDefence-Template | 0 | 7054272 | using UnityEngine;
public class SimpleTurret : Turret
{
/*
* Simple turret
*/
[SerializeField] float reloadTime = 1f;
[SerializeField] float kineticDamage = 1f;
[SerializeField] float explosiveDamage = 0f;
[SerializeField] float explosiveRadius = 0f;
[SerializeField] bool explosive =... |
NWaves/Effects/Base/AudioEffect.cs | artemiusgreat/Waves | 243 | 7054273 | using NWaves.Filters.Base;
using NWaves.Signals;
namespace NWaves.Effects.Base
{
/// <summary>
/// Abstract class for audio effects.
/// </summary>
public abstract class AudioEffect : WetDryMixer, IFilter, IOnlineFilter
{
/// <summary>
/// Processes one sample.
/// </summar... |
App.Shared/Notes/Controls/Paragraph.cs | Higherbound/HBMobileApp | 0 | 7054274 | <filename>App.Shared/Notes/Controls/Paragraph.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Xml;
using System.Text.RegularExpressions;
using App.Shared.Notes.Styles;
using Rock.Mobile.UI;
using App.Shared.Config;
using System.Drawing;
using App.Shared.PrivateConfig;
namespace App
{
na... |
src/Epinova.ElasticSearch.Core/ElasticSearchService.Range.cs | rholzner/Epinova.Elasticsearch | 0 | 7054275 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Epinova.ElasticSearch.Core.Contracts;
using Epinova.ElasticSearch.Core.Models.Properties;
using Epinova.ElasticSearch.Core.Models.Query;
namespace Epinova.ElasticSearch.Core
{
public partial class ElasticSearchService<T>
{
... |
BlazorCanvas.Example11.Core/Components/BoundingBoxComponent.cs | BDisp/BlazorCanvas | 0 | 7054276 | <reponame>BDisp/BlazorCanvas<filename>BlazorCanvas.Example11.Core/Components/BoundingBoxComponent.cs<gh_stars>0
using System.Drawing;
using System.Threading.Tasks;
using Blazor.Extensions.Canvas.Canvas2D;
namespace BlazorCanvas.Example11.Core.Components
{
public class BoundingBoxComponent : BaseComponent, IRendera... |
Project_OLP_Rest.Data/Interfaces/ITeacherService.cs | nmuranovas/Online-Learning-Platform-Rest | 0 | 7054277 | using Project_OLP_Rest.Domain;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace Project_OLP_Rest.Data.Interfaces
{
public interface ITeacherService : IGenericService<Teacher>
{
}
}
|
VisualStudio/Sources/UnitTests/DomainModels/SpeedSumAvgCalculatorTest.cs | Heinzman/DigiRcMan | 0 | 7054278 | using Elreg.BusinessObjects.Interfaces;
using Elreg.DomainModels;
using Elreg.UnitTests.TestHelper;
using NUnit.Framework;
namespace Elreg.UnitTests.DomainModels
{
[TestFixture]
public class SpeedSumAvgCalculatorTest : BaseLapTest
{
private ISpeedSumAvgCalculator _speedSumAvgCalculator;
... |
BuildMasterExtension/Legacy/GetArtifactActionEditor.cs | BenLubar/inedox-jenkins | 0 | 7054279 | <filename>BuildMasterExtension/Legacy/GetArtifactActionEditor.cs
using System.Web.UI.WebControls;
using Inedo.BuildMaster.Extensibility.Actions;
using Inedo.BuildMaster.Web.Controls.Extensions;
using Inedo.Web.Controls;
using Inedo.Extensions.Jenkins;
namespace Inedo.BuildMasterExtensions.Jenkins
{
internal seale... |
Pokemon_Inventory/Assets/CombatScripts/Battle/dialogScript.cs | uclaacm/studio-beginner-tutorials-f21 | 6 | 7054280 | <filename>Pokemon_Inventory/Assets/CombatScripts/Battle/dialogScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class dialogScript : MonoBehaviour
{
public Text DialogText;
public GameObject ActionSelector;
public GameObject MoveSelector;
... |
Example/ModularMonolith.ReadModels.EventHandlers/UpdateSubjects/OnSubjectAdded.cs | sygnowskip/modular-monolith | 1 | 7054281 | <filename>Example/ModularMonolith.ReadModels.EventHandlers/UpdateSubjects/OnSubjectAdded.cs
using System.Threading.Tasks;
using ExternalSystem.Events.Subjects;
using MassTransit;
using Microsoft.EntityFrameworkCore;
using ModularMonolith.Language.Subjects;
using ModularMonolith.Persistence;
using ModularMonolith.ReadM... |
BlazorApp/Server/Controllers/GamePlayController.cs | Elpulgo/battleships | 0 | 7054282 | using System;
using System.Threading.Tasks;
using Shared;
using Microsoft.AspNetCore.Mvc;
using BlazorApp.Server.Services;
namespace BlazorApp.Server.Controllers
{
[ApiController]
[Route("[controller]")]
public class GamePlayController : ControllerBase
{
private readonly IGamePlayRelay _gamePla... |
Source/DigitalRune.Windows.Charts/Axes/DoubleRange.cs | Drul1337/DigitalRune | 234 | 7054283 | // DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using System.ComponentModel;
using System.Globalization;
namespace DigitalRune.Windows.Charts
{
/// <summary>
/... |
MvvmCross.Plugins/FieldBinding/MvxFieldSourceBindingFactoryExtension.cs | JimWilcox3/MvvmCross | 0 | 7054284 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using MvvmCross.Binding;
using Mvvm... |
06. Object Communication and Events/06. Object Communication and Events - Exercises/P06_1984/Interfaces/IEntityFactory.cs | pirocorp/CSharp-OOP-Advanced | 0 | 7054285 | <filename>06. Object Communication and Events/06. Object Communication and Events - Exercises/P06_1984/Interfaces/IEntityFactory.cs
namespace P06_1984.Interfaces
{
public interface IEntityFactory
{
IEntity CreateEntity(params string[] entityData);
}
} |
TeamExplorerExtSample/NotepadNavigationItem.cs | hamidshahid/teamexplorerextsample | 2 | 7054286 | <gh_stars>1-10
namespace TeamExplorerExtSample
{
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using Microsoft.TeamFoundation.Controls;
[TeamExplorerNavigationItem("C9B2CF74-0C87-4CEA-ACA9-8CC1C816D7F3", 1800)]
public class NotepadNavigationItem : ITeamExplorerNavig... |
NextGenSoftware.OASIS.STAR/CelestialSpace/Dimensions/Omiverse/NinthDimension.cs | m-umercsp/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK | 43 | 7054287 | using NextGenSoftware.OASIS.API.Core.Interfaces.STAR;
using NextGenSoftware.OASIS.API.Core.Enums;
namespace NextGenSoftware.OASIS.STAR.CelestialSpace
{
public class NinthDimension : OmniverseDimension, INinthDimension
{
public NinthDimension()
{
this.DimensionLevel = DimensionLevel... |
CustomTab/Models/Market/CategoryModel.cs | thedergomes/XamFormStepper | 0 | 7054288 | using System;
using Newtonsoft.Json;
namespace CustomTab.Models.Market
{
public class CategoryModel
{
[JsonIgnore]
public bool IsLast { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("description")]
public string Description ... |
ZAPPenTester/Factories/SettingsFactory.cs | propenster/zappenster | 13 | 7054289 | <gh_stars>10-100
using SGC.ZAPPenTester.Interfaces;
namespace SGC.ZAPPenTester.Factories
{
/// <summary>
/// This class is responsible for creating instances of the correct ISettings implementation
/// </summary>
public class SettingsFactory
{
public static ISettings Get()
{
... |
client/Movie/D3DMovieTexture.cs | AustralianDisabilityLimited/MultiversePlatform | 33 | 7054290 | /********************************************************************
The Multiverse Platform is made available under the MIT License.
Copyright (c) 2012 The Multiverse Foundation
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "... |
mcs/class/System/ReferenceSources/HttpSysSettings.cs | lukaszunity/mono | 1 | 7054291 | namespace System.Net
{
static class HttpSysSettings
{
public const bool EnableNonUtf8 = true;
public const bool FavorUtf8 = true;
}
}
|
tools/Google.Cloud.Docs.Snippets/SnippetFixture.cs | boxstack/google-cloud-dotnet | 474 | 7054292 | <gh_stars>100-1000
// Copyright 2018 Google 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... |
SkuVaultApiWrapper/ISkuVaultApiClient.cs | ntoates/SkuVaultApiWrapper | 0 | 7054293 | using SkuVaultApiWrapper.Models;
using System.Threading.Tasks;
namespace SkuVaultApiWrapper
{
public interface ISkuVaultApiClient
{
public Task<D> Post<T, D>(T request) where T : BaseRequestModel where D : BaseResponseModel;
}
} |
YuYan.API/YuYan.API/App_Start/Bootstrapper.cs | sitedisks/YuYan | 2 | 7054294 | using Autofac;
using Autofac.Integration.WebApi;
using System.Reflection;
using System.Web.Http;
using System.Web.Mvc;
using Autofac.Integration.Mvc;
using YuYan.Data.DbContext;
using YuYan.Interface.DbContext;
using YuYan.Data.Repository;
using YuYan.Service;
namespace YuYan.API
{
public class Bootstrapper
{... |
source/MongoDB/IMongoDatabase.cs | sybitetechnologies/mongodb-csharp | 255 | 7054295 | <filename>source/MongoDB/IMongoDatabase.cs
using System;
using System.Collections.Generic;
namespace MongoDB
{
/// <summary>
///
/// </summary>
public interface IMongoDatabase
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name... |
Obaju.App/Views/Shared/Components/CategoriesPanel/Default.cshtml | Iliyan7/Obaju | 1 | 7054296 | @model List<PanelCategoriesViewModel>
<div class="panel panel-default sidebar-menu">
<div class="panel-heading">
<h3 class="panel-title">Categories</h3>
</div>
<div class="panel-body">
<ul class="nav nav-pills nav-stacked category-menu">
@foreach (var group in Model.GroupBy(c... |
BibleReadings2/Views/Home/GetReading.cshtml | andyschott/BibleReadings2 | 0 | 7054297 | <reponame>andyschott/BibleReadings2
@model ReadingsViewModel
@{
ViewData["Title"] = "Readings";
}
<div class="container">
<div class="row">
<div class="col">
@await Html.PartialAsync("ReadingsPartial", Model)
</div>
</div>
<div class="row">
<div class=... |
src/Bruteflow.Kafka/Consumers/IKafkaConsumer.cs | xtrmstep/PipelineFx | 3 | 7054298 | using System;
using System.Threading;
using System.Threading.Tasks;
using Confluent.Kafka;
namespace Bruteflow.Kafka.Consumers
{
public interface IKafkaConsumer<TKey, TValue> : IDisposable
{
ConsumeResult<TKey, TValue> Consume(CancellationToken cancellationToken);
void Close();
}
} |
project/dexter-vs/Dexter/Common/Core/Config/Providers/IDexterInfoProvider.cs | Samsung/dexter | 66 | 7054299 | <gh_stars>10-100
using Dexter.Common.Config;
namespace Dexter.Common.Config.Providers
{
/// <summary>
/// Provides DexterInfo
/// </summary>
public interface IDexterInfoProvider
{
/// <summary>
/// Loads new DexterInfo
/// </summary>
/// <returns>new DexterInfo</re... |
ChalmersxTools/Views/EarthMassToolView.cshtml | ChalmersLibrary/ChalmersX-Tools | 0 | 7054300 | <gh_stars>0
@model ChalmersxTools.Models.View.EarthMassToolViewModel
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>EarthMassToolView</title>
<link href="css/main.css" rel="stylesheet" />
</head>
<body>
<div>
<div id="messag... |
03-C#-Fundamentals/C#OopAdvanced/ReflectionAndAttributes-Exercise/HarvestingFields/HarvestingFieldsTest.cs | MomchilSt/SoftUni | 1 | 7054301 | <filename>03-C#-Fundamentals/C#OopAdvanced/ReflectionAndAttributes-Exercise/HarvestingFields/HarvestingFieldsTest.cs
namespace P01_HarvestingFields
{
using System;
using System.Linq;
using System.Reflection;
public class HarvestingFieldsTest
{
public static void Main()
{
... |
Building/BuildingInformation.cs | AndreLotusDev/Builder-Defender | 0 | 7054302 | using System;
using System.Collections;
using TMPro;
using UnityEngine;
public class BuildingInformation : MonoBehaviour
{
private BuildingEachInstanceSpecific informationAbouthTheFather;
private TextMeshPro txtAboutResourceGenerating;
private const string TWO_DECIMAL_HOUSES = "0.00";
private SpriteR... |
SPOILER_LOSTJAVAROLEPLAY/Properties/Resources.cs | Kirima2nd/LJRP-Leak | 0 | 7054303 | <gh_stars>0
/*
* Leaked by Kirima
* Date: 4/14/2021
* Time: 10:59 PM
*
* Got pwn'ed lol!
*/
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.Resources;
using System.Runtime.CompilerServices;
nam... |
Xmas-Hell/Xmas-Hell-Core/Background/GradientBackground.cs | Noxalus/Xmas-Hell | 20 | 7054304 | using Microsoft.Xna.Framework;
namespace XmasHell.Background
{
public class GradientBackground : AbstractBackground
{
private Color _brightColor = Color.White;
private Color _darkColor = Color.Black;
public GradientBackground(XmasHell game) : base(game)
{
Backgroun... |
anidow/Model/FutureEpisode.cs | MemeLabs/Anidow | 2 | 7054305 | using System;
using Humanizer;
namespace Anidow.Model;
public class FutureEpisode
{
public string Name { get; init; }
public DateTime Date { get; init; }
public DateTime DateLocal => Date.ToLocalTime();
public string DateString => Date.Humanize();
} |
EAVModels/attribute_relationships.cs | lrasmus/MHGR | 0 | 7054306 | <reponame>lrasmus/MHGR<filename>EAVModels/attribute_relationships.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual... |
source/MikhailKhalizev.Max/source/Program/Auto/z-0000-76fc.cs | mikhail-khalizev/max | 3 | 7054307 | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x76fc-10c27501")]
public void Method_0000_76fc()
{
ii(0x76fc, 4); enter(0x18, 0); /* e... |
0x06-unity-assets_ui/Assets/Scripts/PlayerController.cs | Esteban1891/holbertonschool-unity | 0 | 7054308 | using UnityEngine;
public class PlayerController : MonoBehaviour
{
public float speed = 6.0f;
public float rotateSpeed = 6.0f;
private float jumpSpeed = 8.0f;
public float gravity = 9.0f;
private Vector3 moveDirection = Vector3.zero;
private Vector3 startPosition;
private Transform player... |
Programming with C#/0. Exams/Telerik 2011-2012 - C# Exam 1/C# Fundamentals 2011-2012 Part 1 - Test Exam/Solutions/3. Trapezoid.cs | elena-andonova/telerik-academy | 2 | 7054309 | <filename>Programming with C#/0. Exams/Telerik 2011-2012 - C# Exam 1/C# Fundamentals 2011-2012 Part 1 - Test Exam/Solutions/3. Trapezoid.cs
using System;
class Trapezoid
{
static void Main()
{
byte n = byte.Parse(Console.ReadLine());
byte pointLeft = n;
byte pointsRight = 0;
Co... |
swap-faces/Helpers/IYoutubeHelper.cs | thepirat000/swap-face-api | 2 | 7054310 | using SwapFaces.Dto;
namespace SwapFaces.Helpers
{
public interface IYoutubeHelper
{
Task<YoutubeVideoInfo> GetVideoInfo(Uri videoUri);
/// <summary>
/// Downloads the Video+Audio from a URL (youtube, tiktok, etc).
/// </summary>
/// <param name="videoUri">The video UR... |
GenericSettings/SettingsTemplateSettings.cs | emipa606/RimworldModdingHelpers | 0 | 7054311 | <reponame>emipa606/RimworldModdingHelpers<gh_stars>0
using Verse;
namespace SettingsTemplate
{
/// <summary>
/// Definition of the settings for the mod
/// </summary>
internal class SettingsTemplateSettings : ModSettings
{
public bool CheckboxValue = true;
public float FloatVal... |
OctaneTestProject/DownloadTest.cs | MicroWorldwide/OctaneDownloader | 0 | 7054312 | using System.IO;
using NUnit.Framework;
using OctaneEngine;
namespace OctaneTestProject
{
[TestFixture]
public class DownloadTest
{
[SetUp]
public void Init()
{
}
[TearDown]
public void CleanUp()
{
File.Del... |
OmniXaml/Ambient/AmbientRegistrator.cs | punker76/OmniXAML | 73 | 7054313 | <reponame>punker76/OmniXAML<gh_stars>10-100
namespace OmniXaml.Ambient
{
using System.Collections.Generic;
using Zafiro.Core;
public class AmbientRegistrator : IAmbientRegistrator
{
private readonly StackingLinkedList<object> instances = new StackingLinkedList<object>();
private readon... |
Prototype.Service/Implementation/UserService.cs | 5ajish/prototype | 3 | 7054315 | using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Prototype.Core;
using Prototype.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
using System.Transactions;
namespace Prototype.Service
{
public c... |
Assets/SrCatknight/Scripts/Levels/General/Chest.cs | MauricioRB06/Sr_Catknight | 0 | 7054316 | <filename>Assets/SrCatknight/Scripts/Levels/General/Chest.cs
using SrCatknight.Scripts.Interfaces;
using UnityEngine;
namespace SrCatknight.Scripts.Levels.General
{
[RequireComponent(typeof(SpriteRenderer))]
[RequireComponent(typeof(Animator))]
[RequireComponent(typeof(BoxCollider2D))]
public cla... |
ExtenFlow/src/Services/Identity/ExtenFlow.Identity.Web/Pages/Login.cshtml.cs | jpiquot/ExtenFlow | 3 | 7054317 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Mvc;
using... |
Naggum.Interactive/Program.cs | codingteam/naggum | 15 | 7054318 | using System;
using System.IO;
using Naggum.Runtime;
namespace Naggum.Interactive
{
class Program
{
static void Main(string[] args)
{
Stream input = System.Console.OpenStandardInput();
for (; ; )
{
System.Console.Out.Write(">");
... |
ReadableExpressions/Translations/NewingTranslationBase.cs | agileobjects/ReadableExpressions | 324 | 7054319 | <reponame>agileobjects/ReadableExpressions
namespace AgileObjects.ReadableExpressions.Translations
{
#if NET35
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
using Reflection;
internal abstract class NewingTranslationBase
{
protected NewingTranslationBase(NewExp... |
Source/RimStory/Window_Story.cs | emipa606/RimStory | 1 | 7054321 | using System.Linq;
using RimWorld;
using UnityEngine;
using Verse;
namespace RimStory
{
internal class Window_Story : MainTabWindow
{
public static int sie = 0;
public static Vector2 vect = new Vector2(sie, sie);
public static Vector2 logSize;
private static readonly int defau... |
Scripts/Items/Special/Holiday/RockingHorse.cs | greeduomacro/vivre-uo | 0 | 7054322 | using System;
using Server;
namespace Server.Items
{
[Flipable( 0x4214, 0x4215 )]
public class RockingHorse : Item
{
public override double DefaultWeight { get { return 30.0; } }
[Constructable]
public RockingHorse() : base( 0x4214 )
{
LootType = LootType.Blessed;
}
public RockingHorse( Serial seri... |
src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/StepDefinations/Registrations/TLRC2037_RegistrationStage4WithdrawnValidationSteps.cs | uk-gov-mirror/SkillsFundingAgency.tl-results-and-certification-automation-suite | 0 | 7054323 | <reponame>uk-gov-mirror/SkillsFundingAgency.tl-results-and-certification-automation-suite
using Sfa.Tl.ResultsAndCertificationAutomation.Tests.Pages;
using Sfa.Tl.ResultsAndCertificationAutomation.Tests.TestSupport;
using System.Threading;
using TechTalk.SpecFlow;
namespace Sfa.Tl.ResultsAndCertificationAutomation.Te... |
src/Services/ECommerce.Services.Customers/ECommerce.Services.Customers/CustomersConstants.cs | BuiTanLan/ecommerce-microservices | 0 | 7054324 | namespace ECommerce.Services.Customers;
public class CustomersConstants
{
public static class Role
{
public const string Admin = "admin";
public const string User = "user";
}
}
|
dist/cs/arcadegamepad.cs | microsoft/jacdac | 31 | 7054326 | <reponame>microsoft/jacdac
namespace Jacdac {
// Service: Arcade Gamepad
public static class ArcadeGamepadConstants
{
public const uint ServiceClass = 0x1deaa06e;
}
public enum ArcadeGamepadButton: byte { // uint8_t
Left = 0x1,
Up = 0x2,
Right = 0x3,
Down = 0... |
GestureProject/Assets/Scripts/GameManagerScript.cs | smcguire56/GestureBasedUIProject | 0 | 7054327 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.Vehicles.Car;
public class GameManagerScript : MonoBehaviour {
public bool counterDownDone = false;
public CarController car;
public CarController Othercar;
// Update is called once per frame
void ... |
Assets/CPUSingle.cs | cmdr2/ec2-runner | 0 | 7054328 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CPUSingle : Test {
public void Test(float[] a, float[] b) {
var n = a.Length;
var sum = new float[n];
for (int i = 0; i < n; i++) {
sum[i] = Mathf.Sqrt(a[i]) + Mathf.Sin(b[i]);
}
... |
SourceCode/Sheng.WeixinConstruction.Core/CampaignManager/CampaignManager_PictureVote.cs | fenglui/Sheng.WeixinConstruction | 695 | 7054329 | <reponame>fenglui/Sheng.WeixinConstruction<filename>SourceCode/Sheng.WeixinConstruction.Core/CampaignManager/CampaignManager_PictureVote.cs
/*
********************************************************************
*
* 曹旭升(sheng.c)
* E-mail: <EMAIL>
* QQ: 279060597
* https://github.com/iccb1013
* http://sh... |
src/NetCoreApp/Wpf/Wpf/src/Windows/Data/CultureAwareBinding.cs | DawidIzydor/Teronis.DotNet | 0 | 7054330 | <reponame>DawidIzydor/Teronis.DotNet
using System;
using System.Globalization;
using System.Windows.Data;
namespace Teronis.Windows.Data
{
public class CultureAwareBinding : Binding
{
public CultureAwareBinding()
: base()
=> setConverterCulture();
public CultureAwareBi... |
src/RbacWeb/Rbac.Web/Areas/SysManage/Views/BaseUser/UserPermission.cshtml | codeyu/codeyu.rbac.web | 0 | 7054331 | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>用户授权</title>
<link href="~/media/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="~/media/themes/blue/default.css" rel="stylesheet" />
<link href="~/media/the... |
src/User.Service/User.Infra/Services/Security/PasswordHandle.cs | hnmendes/microservices-project | 0 | 7054332 | using System.Security.Cryptography;
using System.Text;
namespace User.Infrastructure.Security
{
public static class PasswordHandle
{
public static string CreateSalt(int size)
{
//Generate a cryptographic random number.
RNGCryptoServiceProvider rng = new RNGCryptoService... |
Plugins/Dialogic/ivrToolkit.Plugin.Dialogic.Common/DialogicDefs/gclib_h.cs | ivrToolkit/ivrToolkit | 9 | 7054333 | using System;
using System.Runtime.InteropServices;
// ReSharper disable InconsistentNaming
// ReSharper disable StringLiteralTypo
// ReSharper disable CommentTypo
namespace ivrToolkit.Plugin.Dialogic.Common.DialogicDefs
{
public class gclib_h
{
[DllImport("libgc.dll", CharSet = CharSet.Ansi, Calling... |
Samples/Shop/Shop.UI.Web.Shared/BaseAggregateReadModel.cs | warappa/SimpleEventSourcing | 7 | 7054334 | <gh_stars>1-10
using SimpleEventSourcing.ReadModel;
using SQLite;
namespace Shop.ReadModel.Shared
{
public abstract class BaseAggregateReadModel : BaseReadModel, IStreamReadModel
{
[Indexed]
public string Streamname { get; set; }
}
}
|
iSHARE.Abstractions/EpochTimeExtensions.cs | adrianiftode/AuthorizationRegistry | 6 | 7054335 | using System;
using System.Globalization;
namespace iSHARE.Abstractions
{
public static class EpochTimeExtensions
{
public static string ToEpoch(this DateTime value)
{
var epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
var elapsedTime = value - epoch;
... |
OSCUnityExample/UnityOscExample/Assets/OSC/OSCArgument.cs | SaxionACT-Art-and-Technology/Unity-OSC | 1 | 7054336 | <reponame>SaxionACT-Art-and-Technology/Unity-OSC
//
// Author: <NAME>
// This is an addition to the OSC package by orge Garcia Martin
// OSCArgument objects represent a single data element received via OSC messages.
// Bascically each OSCArgument contains either an int, a float, or a string, that can be retrieved
// v... |
MyBudget.WebUI/Pages/ImportDescription/Index.cshtml | aesalmela/personal-budget | 0 | 7054337 | <gh_stars>0
@page
@model MyBudget.WebUI.IndexModel
@{
ViewData["Title"] = "Index";
}
<h1>Index</h1>
<p>
<a asp-page="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.ImportDescriptions[0].Description)
... |
Third Party/NPersist/Source Code/NPersist/Framework/Mapping/Domain/ClassListMap.cs | jjvanzon/JJ.TryOut | 0 | 7054338 | // *
// * Copyright (C) 2005 <NAME> : http://www.puzzleframework.com
// *
// * This library is free software; you can redistribute it and/or modify it
// * under the terms of the GNU Lesser General Public License 2.1 or later, as
// * published by the Free Software Foundation. See the included license.txt
// * or http:... |
CoachBot.API/Controllers/DiscordUserController.cs | richard-ob/coachbot-hub | 0 | 7054339 | using CoachBot.Domain.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace CoachBot.Controllers
{
[Produces("application/json")]
[Route("api/[controller]")]
[Authorize]
public class DiscordUserController : Controller
{
private readonly DiscordServic... |
WorkflowConfigurator.cs | grammophone/Grammophone.Domos.Logic | 1 | 7054340 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grammophone.Domos.DataAccess;
using Grammophone.Domos.Domain;
using Grammophone.Domos.Domain.Workflow;
using Grammophone.Domos.Logic.Configuration;
using Grammophone.Setup;
using Unity;
namespace ... |
tabnine-vim/third_party/ycmd/third_party/OmniSharpServer/NRefactory/ICSharpCode.NRefactory.CSharp.Refactoring/CodeIssues/Synced/RedundanciesInDeclaration/UnusedLabelIssue.cs | MrMonk3y/vimrc | 324 | 7054341 | //
// UnusedLabelIssue.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2013 Xamarin Inc. (http://xamarin.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 rest... |
FootballAnalyzes.Web/Views/Games/WithoutResult.cshtml | andreykata/FootballPredictions | 0 | 7054342 | @model GameListingWithoutResultVM
@{
ViewData["Title"] = $"Games without result - {Model.Page.TotalCount}";
}
<h2>@ViewData["Title"]</h2>
@Html.Partial("_Pagination", Model.Page)
<table class="table table-bordered table-hover table-nowrap">
<thead>
<tr>
<th>Date</th>
<th>League... |
MagusCharacterGenerator/Qualifications/Specialities/BetterSeeing.cs | Mortens4444/MagusCharacterGenerator | 1 | 7054343 | <filename>MagusCharacterGenerator/Qualifications/Specialities/BetterSeeing.cs
using MagusCharacterGenerator.GameSystem.Qualifications;
using Mtf.Languages;
namespace MagusCharacterGenerator.Qualifications.Specialities
{
class BetterSeeing : ISpecialQualification
{
public double Multiplier { get... |
src/CodeFactoryVisualStudio/CodeFactory.VisualStudio/IVsFactoryCommand.cs | CodeFactoryLLC/CodeFactoryDocs | 6 | 7054345 | //*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
namespace CodeFactory.VisualStudio
{
/// <summary>
/// Common implementation all code fac... |
LordsMobile.Core/IContentResolver.cs | Carayaca/LordsMobileHtmlParser | 0 | 7054346 | <filename>LordsMobile.Core/IContentResolver.cs
using System.Threading;
using System.Threading.Tasks;
using HtmlAgilityPack;
namespace LordsMobile.Core
{
/// <summary>
/// The content resolver.
/// </summary>
public interface IContentResolver
{
/// <summary>
/// Gets the specified ... |
CrossJob/Web/CrossJob.Web/Employer/MyProjects.aspx.cs | Team-Katana-WebForms/CrossJob | 1 | 7054347 | <filename>CrossJob/Web/CrossJob.Web/Employer/MyProjects.aspx.cs
namespace CrossJob.Employer
{
using Services.Contracts;
using Ninject;
using System;
using System.Web.UI;
using Models;
using System.Linq;
using Microsoft.AspNet.Identity;
using System.Web.UI.WebControls;
using Controls... |
Tests/UnitTest.RackspaceThreading/TestDelayedTask_Delay.cs | couchbasedeps/dotnet-threading | 0 | 7054349 | <reponame>couchbasedeps/dotnet-threading
// Copyright (c) Rackspace, US Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace UnitTest.RackspaceThreading
{
#if !NET40PLUS
extern alias tpl;
#endif
using System;
using Sy... |
AngularTest/RIAppDemo.BLL/Config/RIAppDemoServiceEFOptions.cs | BBGONE/JRIAppAngular | 4 | 7054350 | using System;
using System.Security.Claims;
namespace RIAppDemo.BLL
{
public class RIAppDemoServiceEFOptions
{
public Func<IServiceProvider, ClaimsPrincipal> GetUser { get; set; }
public string ConnectionString { get; set; }
}
}
|
Thrift/gen-netstd/Date.cs | BrunoLujan/Spotifake-DESER | 0 | 7054351 | /**
* Autogenerated by Thrift Compiler (0.13.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Thrift;
usi... |
src/Plaid/Signal/SignalEvaluateRequest.cs | coolhome/Going.Plaid | 25 | 7054352 | namespace Going.Plaid.Signal;
/// <summary>
/// <para>SignalEvaluateRequest defines the request schema for <c>/signal/evaluate</c></para>
/// </summary>
public partial class SignalEvaluateRequest : RequestBase
{
/// <summary>
/// <para>The <c>account_id</c> of the account whose verification status is to be modified<... |
apps/app-docs/MessageAcknowledgmentConsole/MessageReaderCommon.cs | reyou/Ggg.RabbitMQ | 0 | 7054353 | <reponame>reyou/Ggg.RabbitMQ
using System;
using System.Threading;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using TestUtilities;
namespace MessageAcknowledgmentConsole
{
internal class MessageReaderCommon
{
// consumer.Received event not firing when channel.BasicConsume is called
/... |
Assets/Scripts/State Machines/General/StateActionNull.cs | lazokin/FollowZeus | 0 | 7054354 | <reponame>lazokin/FollowZeus
using UnityEngine;
using System.Collections.Generic;
public class StateActionNull : StateAction
{
#region implemented abstract members of Action
public override StateAction Init(GameObject gameObject, IDictionary<string, Transition> transitions)
{
GameObject = gameObj... |
UnityAPI/Assets/Scenes/Scripts/InputClassFunctions.cs | SouthBegonia/UnityWorld | 153 | 7054355 | <reponame>SouthBegonia/UnityWorld
//Input中的类函数
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InputClassFunctions : MonoBehaviour
{
public float horizontalSpeed = 2.0F;
public float verticalSpeed = 2.0F;
void Update()
{
/* 轴axes:
"Horizont... |
src/SFA.Apprenticeships.Data.Migrate.Faa/Repository/Sql/ApplicationRepository.cs | BugsUK/FindApprenticeship | 2 | 7054356 | <gh_stars>1-10
namespace SFA.Apprenticeships.Data.Migrate.Faa.Repository.Sql
{
using System;
using System.Collections.Generic;
using System.Linq;
using Dapper;
using Entities.Sql;
using Infrastructure.Repositories.Sql.Common;
public class ApplicationRepository
{
private readonl... |
Data/Files/ManageData.cs | maseurodrigo/Speech-Recognition | 0 | 7054358 | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Xceed.Words.NET;
namespace Speech_Recognition.Data.Files
{
public class ManageData
{
public static void exportBotCommands() {
Random localRand = new Random();
// SaveFileDialo... |
src/MarkdownWeb/PostFilters/PostFilterCollection.cs | jgauffin/markdownweb | 10 | 7054359 | <reponame>jgauffin/markdownweb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace MarkdownWeb.PostFilters
{
/// <summary>
/// Allows filters to process a
/// </summary>
public class PostFilterCollection
{
private readonly L... |
Gridsum.DataflowEx/PatternMatch/MultiMatcher.cs | hkaizzer/DataflowEx | 228 | 7054360 | <reponame>hkaizzer/DataflowEx<filename>Gridsum.DataflowEx/PatternMatch/MultiMatcher.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
namespace Gridsum.DataflowEx.PatternMatch
{
public class MultiMatchCondition<TInput> : IMatchCondition<TInput>
{
protected... |
2DRabbitPlatform/2DRabbitPlatform/Engine/Event/SpawnEvent.cs | adamuso/2DRabbitPlatform | 0 | 7054361 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _2DRabbitPlatform.Engine.Event
{
using Files.SerialBinary;
public class SpawnEvent : DependentEvent
{
int id;
public SpawnEvent()
: base()
{
if (!this.hasSBCom... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.