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 |
|---|---|---|---|---|
buildandreleasetask/WikiTaxonomyGenerator/IParseLinks.cs | dimaros-bv/Dimaros.TaxonomyGenerator | 2 | 7067156 | using System.Linq;
using System.Text.RegularExpressions;
namespace TaxonomyGenerator
{
public interface IParseLinks
{
string[] ParseLine(string line);
}
public class MarkdownParser : IParseLinks
{
// \\[(.*?)\\] Match link-text between ... |
src/DB.Api/Application/Validators/Queries/GetUserByIdQueryValidator.cs | OmniChannelChatBot/DBApi | 0 | 7067157 | <filename>src/DB.Api/Application/Validators/Queries/GetUserByIdQueryValidator.cs
using DB.Api.Application.Queries;
using FluentValidation;
namespace DB.Api.Application.Validators.Queries
{
public class GetUserByIdQueryValidator : AbstractValidator<GetUserByIdQuery>
{
public GetUserByIdQueryValidator()... |
src/OAuth/SimpleIdServer.Common/SimpleIdServerCommonOptions.cs | ashkansirous/SimpleIdServer | 229 | 7067158 | // Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
namespace SimpleIdServer.Common
{
public class SimpleIdServerCommonOptions
{
public SimpleIdServerCommonOp... |
src/Common/Objectivity.Bot.Tests.Stories/Extensions/StoryExtensions.cs | ObjectivityLtd/Bot.Tests.Stories.Xunit | 3 | 7067159 | namespace Objectivity.Bot.Tests.Stories.Extensions
{
using System.Linq;
using StoryModel;
public static class StoryExtensions
{
public static IStory<T> Concat<T>(this IStory<T> firstStory, IStory<T> secondStory)
{
var frames = secondStory.StoryFrames.Concat(firstStory.Story... |
src/ShowFeed/Api/EpisodesApiController.cs | strayfatty/ShowFeed | 0 | 7067160 | namespace ShowFeed.Api
{
using System.Linq;
using System.Web.Http;
using ShowFeed.Models;
using WebMatrix.WebData;
/// <summary>
/// The episodes API controller.
/// </summary>
public class EpisodesApiController : ApiController
{
/// <summary>
/// The database.
... |
Assets/FollowCamera.cs | guccisekspir/driver | 0 | 7067161 | <reponame>guccisekspir/driver
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowCamera : MonoBehaviour
{
[SerializeField] GameObject thingToFollow;
void LateUpdate()
{
transform.position = thingToFollow.transform.position + new Vector3(0, 0, -10);
... |
photosynthesis/state/Token.cs | johnboronkas/photosynthesis | 1 | 7067162 | <reponame>johnboronkas/photosynthesis<filename>photosynthesis/state/Token.cs
namespace photosynthesis.state
{
public enum Token : int
{
None = 9,
Seed = 0,
SmallTree = 1,
MediumTree = 2,
LargeTree = 3,
Score = 4,
}
}
|
UnityEngine/MonoBehaviour.cs | NathanWarden/unity-godot-compat | 13 | 7067163 | using System.Collections;
using System.Collections.Generic;
using Godot;
namespace UnityEngine
{
[UseAsMonoBehaviour]
public class MonoBehaviour : Node
{
List<IEnumerator> coroutines = new List<IEnumerator>();
public GameObject gameObject { get; private set; }
public string name { get { return Get... |
CarService.Web/Common/GeoDistance.cs | tsigularoff/Car-Service.NET | 0 | 7067164 | namespace CarService.Web.Common
{
using System;
public class GeoDistance
{
public static double GetDistance(GeoPoint p1, GeoPoint p2)
{
var R = 6378137;
var dLat = ConvertToRadian(p2.Lat - p1.Lat);
var dLong = ConvertToRadian(p2.Lng - p1.Lng);
... |
Client/unity_project/Assets/Lib/Lit.Unity/Timer/TimerMgr.cs | jg-LitFrame/Lit_Client | 1 | 7067165 | <filename>Client/unity_project/Assets/Lib/Lit.Unity/Timer/TimerMgr.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
namespace Lit.Unity
{
public class TimerMgr : SingletonBehaviour<TimerMgr>{
private List<TimerEvent> eventLists = new List<TimerEvent>();
... |
src/JSerialPort.Net/Exceptions/JSerialPortException.cs | noahjzc/JSerialPort.Net | 1 | 7067166 | using System;
namespace JSerialPort.Net.Exceptions
{
public class JSerialPortException : Exception
{
public JSerialPortException(string message) : base(message)
{
}
public JSerialPortException(string message, Exception innerException) : base(message, innerException)
{
... |
src/DemoRepositoryPattern/DemoMongoRepository/Configuration/BsonCollectionAttribute.cs | gitViwe/RepositoryPattern | 0 | 7067167 | <gh_stars>0
namespace DemoMongoRepository.Configuration;
/// <summary>
/// Attribute is used on classes and cannot be inherited
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
internal class BsonCollectionAttribute : Attribute
{
/// <summary>
/// This attribute allows us to set the ... |
DesignPatterns/Service.Locator.Pattern/Demo.Services/ServiceB.cs | muammerkeles/Net-Core-Design-Patterns-For-Beginners | 0 | 7067168 | <reponame>muammerkeles/Net-Core-Design-Patterns-For-Beginners
using System;
using System.Collections.Generic;
using System.Text;
namespace Service.Locator.Pattern.Demo.Services
{
public interface IServiceB
{
string GetName();
}
public class ServiceB:IServiceB
{
public string GetNam... |
Assets/Scripts/AbilityActivator/StaminaDrainActivator.cs | SpeedyE1780/Ability-System-Realtime | 3 | 7067169 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text;
[CreateAssetMenu(menuName = "Ability/Activator/Stamina Drain")]
public class StaminaDrainActivator : AbilityActivator
{
public int StaminaAmount;
public override string Description()
{
StringBuilder ... |
Collectors_v1_Project/Assets/Scripts/HUD/RatingsMeter.cs | MoltenTears/Collectors_v1 | 0 | 7067170 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RatingsMeter : MonoBehaviour
{
[Header("Sliders")]
public Slider satisfactionSlider;
public Slider wasteSlider;
[Header("Slider Variants")]
[SerializeField] private Sprite ... |
Naukri.Sqlite/NSqliteConstraint.cs | naukri7707/Naukri.Sqlite | 0 | 7067171 | using System;
using System.Collections.Generic;
using System.Text;
namespace Naukri.Sqlite
{
[Flags]
public enum NSqliteConstraint
{
None = 0,
PrimaryKey = 1,
Unique = 2,
NotNull = 4,
Default = 8,
Check = 16,
Autoincrement = 32
}
}
|
MediaLibrary.Storage/ChangeQueue.cs | otac0n/MediaLibrary | 2 | 7067172 | // Copyright © <NAME>. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information.
namespace MediaLibrary.Storage
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
public class ChangeQueue<TKey, TValue>
{
private sta... |
Console/Assets/DeveloperConsole/Scripts/DebugRenderInfo.cs | anarkila/DeveloperConsole | 6 | 7067173 | #if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace Anarkila.DeveloperConsole {
/// <summary>
/// This script collects rendering information in Unity Editor
/// if 'collectRenderInfoEditor' option is set to true.
/// To print rendering information to console call 'debug.renderinfo'
... |
Assets/Script/EnemyMotor.cs | antiNT2/Prototype-Plant-Grapple | 0 | 7067174 | <reponame>antiNT2/Prototype-Plant-Grapple
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class EnemyMotor : MonoBehaviour, IMotor
{
Rigidbody2D enemyRigidbody;
SpriteRenderer spriteRenderer;
Animator anim;
//EnnemyHealt... |
Dado/EncantosSalao.Dado/Semeando/SemeadoresCustomizados/SaloesSemeador.cs | jucdesarlima/EncantosSalao | 0 | 7067175 | namespace EncantosSalao.Dado.Semeando
{
using System;
using System.Linq;
using System.Threading.Tasks;
using EncantosSalao.Comum;
using EncantosSalao.Dado.Modelos;
public class SaloesSemeador : ISemeador
{
public async Task SeedAsync(ApplicationDbContext dbContext, IServiceProvide... |
src/Squidex.Infrastructure/Assets/AssetNotFoundException.cs | andrewhoi/squidex | 0 | 7067176 | // ==========================================================================
// AssetNotFoundException.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ================================================... |
C# Web Project-Logistics System/LogisticsSystem/Controllers/LoadsController.cs | pepsitopepsito9681/My-courses-at-Software-University | 0 | 7067177 | <reponame>pepsitopepsito9681/My-courses-at-Software-University
using AutoMapper;
using LogisticsSystem.Data;
using LogisticsSystem.Infrastructure;
using LogisticsSystem.Models.Loads;
using LogisticsSystem.Services.Loads;
using LogisticsSystem.Services.Questions;
using LogisticsSystem.Services.Reviews;
using LogisticsS... |
Content/MilvaMongoTemplate.API/DTOs/AccountDTOs/EmailChangeDTO.cs | Milvasoft/MilvaMongoTemplate | 2 | 7067178 | using MilvaMongoTemplate.API.Helpers.Attributes.ValidationAttributes;
using MilvaMongoTemplate.Localization;
using Milvasoft.Helpers.Attributes.Validation;
namespace MilvaMongoTemplate.API.DTOs.AccountDTOs;
/// <summary>
/// DTO to be used to change email.
/// </summary>
public record EmailChangeDTO
{
/// <summa... |
Examples/CSharp/TempView/Graph.cs | hamishharvey/daqflex | 1 | 7067179 | <reponame>hamishharvey/daqflex
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace TempView
{
public enum TimeFormat
{
Seconds,
Minutes,
Hours
}
//========================================... |
SQL2/Games/GameHandler.cs | m-x-d/Simple-Quake-Launcher-2 | 61 | 7067180 | <filename>SQL2/Games/GameHandler.cs<gh_stars>10-100
#region ================= Namespaces
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windo... |
Program.cs | emres019/binary-maze-longest-path | 0 | 7067181 | using System;
using System.Collections.Generic;
using System.Threading;
namespace ConsoleAppFramework
{
class Program
{
static void Main(string[] args)
{
int row, col;
Matrix matrix = new Matrix(12, 9);
matrix.Fill();
matrix.Display... |
MagicOfSewing/MagicOfSewing.Web/obj/Debug/netcoreapp2.1/Razor/Views/Shared/_PaginationRazorPage.g.cshtml.cs | svetliub/SoftUni-CSharp-MVC-Frameworks-ASP.NET-Core | 0 | 7067182 | #pragma checksum "C:\Users\Steve\Desktop\Local_Disc(D)\GITHUB\SoftUni-CSharp-MVC-Frameworks-ASP.NET-Core\MagicOfSewing\MagicOfSewing.Web\Views\Shared\_PaginationRazorPage.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "da047c68fb6672a5da62466b6e57d1cf0e6fefb1"
// <auto-generated/>
#pragma warning disable 1591
[assemb... |
src/AutoFactory/Ast/Generator.cs | jorgensigvardsson/AutoFactory | 1 | 7067183 | using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
// ReSharper disable LoopCanBeConvertedToQuery
namespace AutoFactory.Ast
{
public static class Generator
{
public static IEnumerable<Membe... |
src/SharpPi/Text/String.cs | tottaka/SharpPi | 0 | 7067184 | <filename>src/SharpPi/Text/String.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpPi.Text
{
public static class String
{
/// <summary>
/// Returns the number of times any of the strings supplied to... |
Source/Glass.Mapper/ThreadData.cs | FlorisBriolas/Glass.Mapper | 96 | 7067185 | <filename>Source/Glass.Mapper/ThreadData.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Glass.Mapper
{
public class ThreadData
{
private readonly string _key;
... |
RestaurantFoodMenu/FoodMenu.cs | nathanielek89/FoodDeliveryApp | 0 | 7067186 | using FoodDeliveryApp.FoodDeliveryAppModel;
using FoodDeliveryApp.FoodMenu;
using FoodDeliveryApp.RestaurantWebService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoodDeliveryApp.RestaurantFoodMenu
{
public class FoodMenu : IFoodMe... |
Rendition.Core/cs/Main/HttpRequestUtil.cs | TonyGermaneri/Rendition | 1 | 7067187 | <gh_stars>1-10
/*
Copyright (c) 2012 <NAME>
Permission is hereby granted,
free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, d... |
16. Final Exam - 10.04.2021/03. Aquariums - Unit Testing/Aquariums.Tests/AquariumsTests.cs | rusenminchev/Softuni-C-Sharp-OOP-Completed-Tasks | 0 | 7067188 | <filename>16. Final Exam - 10.04.2021/03. Aquariums - Unit Testing/Aquariums.Tests/AquariumsTests.cs
using NUnit.Framework;
namespace Aquariums.Tests
{
using System;
[TestFixture]
public class AquariumsTests
{
private Aquarium aquarium;
private Fish firstFish;
private Fish se... |
GroupService/GroupService.Repo/Migrations/20210524111352_CreateSouthwell.cs | HelpMyStreet/group-service | 0 | 7067189 | <reponame>HelpMyStreet/group-service<filename>GroupService/GroupService.Repo/Migrations/20210524111352_CreateSouthwell.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace GroupService.Repo.Migrations
{
public partial class CreateSouthwell : Migration
{
protected override void Up(MigrationBuil... |
Final Version~/Ticketshop/Ticketshop/Views/Events/BuyTicket.cshtml | Kingdomdark/Project5-6 | 0 | 7067190 | <reponame>Kingdomdark/Project5-6
@model Ticketshop.Models.Event
@inject UserManager<ApplicationUser> UserManager
<h2>Buy ticket</h2>
<div>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Price)
</dt>
<dd>
€@Html.DisplayFor(model =... |
MaryHelp/Business/Worker.cs | apezzatto/pulito.NET | 0 | 7067191 | using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
using System.Configuration;
using MaryHelp.DataLayer;
using MaryHelp.Util;
namespace MaryHelp.Business
{
[Serializable()]
public class Worker : U... |
src/Screna/Overlays/ImageOverlay.cs | TopDeveloper-333/CaptureWindowScreen | 0 | 7067192 | <reponame>TopDeveloper-333/CaptureWindowScreen
using System;
using System.Drawing;
using System.Drawing.Imaging;
namespace Captura.Models
{
public abstract class ImageOverlay<T> : IOverlay where T : ImageOverlaySettings
{
readonly T _settings;
readonly bool _disposeImages;
protected I... |
LazyBuffalo.Angus/LazyBuffalo.Angus.Api/Migrations/20180803131413_AddCowPosition.cs | lazy-buffalo/angus | 0 | 7067193 | using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace LazyBuffalo.Angus.Api.Migrations
{
public partial class AddCowPosition : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilde... |
Ola.Extensions/Storages/Caching/DirectoryStorageCacheDependency.cs | Oladn/Ola | 0 | 7067194 | using System.IO;
namespace Ola.Extensions.Storages.Caching
{
/// <summary>
/// 文件夹缓存依赖项。
/// </summary>
public class DirectoryStorageCacheDependency : StorageCacheDependency
{
/// <summary>
/// 初始化类<see cref="DirectoryStorageCacheDependency"/>。
/// </summary>
/// <p... |
src/WinSW.Core/WinSWException.cs | shamork/winsw | 3,690 | 7067195 | using System;
namespace WinSW
{
public class WinSWException : Exception
{
public WinSWException(string message)
: base(message)
{
}
public WinSWException(string message, Exception innerException)
: base(message, innerException)
{
}
}... |
Handler/src/Handler/Filters.cs | eqfy/Foo-Inc-Employee-Directory | 0 | 7067196 | using System.Collections.Generic;
public class Filters {
public List<Skill> skills;
public List<string> locations;
public List<string> titles;
public List<string> departments;
public List<string> companies;
}
public class Skill {
public string skillLabel;
public string categoryLabel;
} |
src/Infrastructure/Identity/IdentityConsts.cs | ricpuk/FoodTracker | 0 | 7067197 | namespace FoodTracker.Infrastructure.Identity
{
public static class IdentityConsts
{
public static string UserRole = "User";
public static string TrainerRole = "Trainer";
public static string AdminRole = "Administrator";
}
}
|
src/SuperSocket.WebSocket.Server/WebSocketHostBuilder.cs | sqlite-me/SuperSocket | 0 | 7067198 | using System;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using SuperSocket.Server;
using SuperSocket.ProtoBase;
namespace SuperSocket.WebSocket.Server
{
public class WebSocketHostBuilder : SuperSocketHostBuilder<We... |
CyberCAT.SimpleGUI/MVVM/Model/MainModel.cs | Deweh/CyberCAT-SimpleGUI-Nightgaunt | 0 | 7067199 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CyberCAT.SimpleGUI.Core.Helpers;
namespace CyberCAT.SimpleGUI.MVVM.Model
{
public static class MainModel
{
private static string _status = "No save file selected.";
... |
test/RidoUwpDemos/MainPage.xaml.cs | ridomin/RidoUwp | 0 | 7067200 | <gh_stars>0
//using Microsoft.Azure.Mobile;
//using Microsoft.Azure.Mobile.Analytics;
//using Microsoft.Azure.Mobile.Crashes;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Colle... |
Source/Web/MagazineProject.Web/Areas/Users/Controllers/UserPostsController.cs | Xzq70r4/MagazineProject-Rewritten | 0 | 7067201 | <filename>Source/Web/MagazineProject.Web/Areas/Users/Controllers/UserPostsController.cs
namespace MagazineProject.Web.Areas.Users.Controllers
{
using System.Linq;
using System.Web.Mvc;
using AutoMapper.QueryableExtensions;
using MagazineProject.Services.Common.User;
using MagazineProject.Web.Cont... |
Swagger_Test/Controllers/ImportArrayController.cs | heldersepu/SwaggerTest | 26 | 7067202 | <filename>Swagger_Test/Controllers/ImportArrayController.cs
using System;
using System.Collections.Generic;
using System.Web.Http;
namespace Swagger_Test.Controllers
{
public class ImportArrayController : ApiController
{
public IHttpActionResult Post([FromBody] Account[] value)
{
r... |
Source/Mod_QEverything.cs | Cozarkian/QualityFramework | 0 | 7067203 | <filename>Source/Mod_QEverything.cs
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using RimWorld;
using Verse;
namespace QualityEverything
{
class Mod_QEverything : Mod
{
private static Vector2 texScroll = Vector2.zero;
private static Vector2 resScroll = Ve... |
Specifications/Drivers/NMEADatapointOutputVerifier.cs | shipos-foundation/TimeSeries.Kyma | 0 | 7067204 | <reponame>shipos-foundation/TimeSeries.Kyma
// Copyright (c) RaaLabs. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using TechTalk.SpecFlow;
using FluentAssertions;
using System.Globalization;
using RaaLabs.Edge.Connectors.Kyma.Events;
names... |
Examples/DeltaTests/Scripts/DeltaClientSide.cs | RuanCardoso/NeutronFramework | 3 | 7067205 | namespace NeutronNetwork.Examples.DeltaEx
{
public class DeltaClientSide : ClientSide
{
protected override void Start()
{
base.Start();
}
protected override void OnPlayerConnected(NeutronPlayer player, bool isMine, Neutron neutron)
{
base.OnPlayer... |
src/SFA.DAS.PSRService.Web/ViewModels/SectionViewModel.cs | SkillsFundingAgency/das-public-sector-reporting | 1 | 7067206 | using System.Collections.Generic;
using SFA.DAS.PSRService.Domain.Entities;
namespace SFA.DAS.PSRService.Web.ViewModels
{
public class SectionViewModel
{
public Report Report { get; set; }
public Section CurrentSection { get; set; }
public IList<QuestionViewModel> Questions { get; se... |
Shop/DatabaseStub/ContainerConfigStub.cs | sickwick/SneakerShop | 0 | 7067207 | <gh_stars>0
// using Microsoft.Extensions.Caching.Memory;
// using Microsoft.Extensions.DependencyInjection;
// using Microsoft.Extensions.DependencyInjection.Extensions;
// using Shop.Api.Core.Abstract;
// using Shop.Api.Core.Services;
// using Shop.Api.Data.Abstract;
//
// namespace Shop.Api.Config
// {
// public... |
08-ProgrammingBasicsExercises/08-ProgrammingBasicsExam-18December2016/03-Flowers.cs | kavier/Programing-Basic-Csharp | 0 | 7067208 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Flowers
{
class Program
{
static void Main(string[] args)
{
double hrizantemi = double.Parse(Console.ReadLine());
double roses = double.Parse... |
Unity/Assets/Script/PVATestbed/Model/Area.cs | VirtualityForSafety/RoadTrafficSimulationr3D | 1 | 7067209 | <reponame>VirtualityForSafety/RoadTrafficSimulationr3D
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SCPAR.SIM.PVATestbed
{
public class Area : MonoBehaviour
{
public int width;
public int height;
public List<List<Block>> blocks;
publ... |
System/Runtime/CompilerServices/IStrongBox.cs | SinsofSloth/RF5-global-metadata | 1 | 7067210 | <reponame>SinsofSloth/RF5-global-metadata
public interface IStrongBox // TypeDefIndex: 2722
{
// Properties
public abstract object Value { get; set; }
// Methods
// RVA: -1 Offset: -1 Slot: 0
public abstract object get_Value() { }
// RVA: -1 Offset: -1 Slot: 1
public abstract void set_Value(object value) { }
... |
source/GeoVR.Shared/Classes/CallsignOnTransceiverNames.cs | sawbe/GeoVR | 14 | 7067211 | <reponame>sawbe/GeoVR<filename>source/GeoVR.Shared/Classes/CallsignOnTransceiverNames.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeoVR.Shared
{
public class CallsignOnTransceiverNames
{
public string Callsign { get; ... |
src/DbEngines/SqlServer/SqlBooleanizer.cs | LogicAndTrick/LinqToSQL2 | 6 | 7067212 | using System.Data.Linq.Mapping;
using System.Data.Linq.Provider.Common;
using System.Data.Linq.Provider.NodeTypes;
using System.Data.Linq.Provider.Visitors;
namespace System.Data.Linq.DbEngines.SqlServer {
/// <summary>
/// Locate cases in which there is a 'Bit' but a 'Predicate' is expected or vice-versa.
... |
Programming with C#/0. Exams/Telerik 2011-2012 - C# Exam 2/C# Fundamentals 2011-2012 Part 2 - Sample Exam/Solutions/2. Sudoku.cs | elena-andonova/telerik-academy | 2 | 7067213 | <filename>Programming with C#/0. Exams/Telerik 2011-2012 - C# Exam 2/C# Fundamentals 2011-2012 Part 2 - Sample Exam/Solutions/2. Sudoku.cs
using System;
using System.Linq;
class Sudoku
{
static int[,] sudoku = new int[N, N];
static int[,] temp = new int[N, N];
static int row = 0, col = 0;
const int... |
SharedService/UnitTests/NU_Base.cs | MPrtenjak/SLOTax | 13 | 7067214 | // <copyright file="NU_Base.cs" company="MNet">
// Copyright (c) <NAME> All rights reserved.
// </copyright>
// <author><NAME></author>
//-----------------------------------------------------------------------
using System;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using System.Xml;
us... |
Assets/Scripts/CloseWinningScreen.cs | subamanis/Loading-Screen-Simuator | 0 | 7067215 | <filename>Assets/Scripts/CloseWinningScreen.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CloseWinningScreen : MonoBehaviour {
public GameObject p;
public void CloseButton()
{
p.gameObject.SetActive(false);
}
}
|
source/Ui/KafkaDockerSample.Ui.Api/Dtos/Requests/RegisterOccurrence.cs | rafaatsouza/net-kafka-docker-sample | 0 | 7067216 | <reponame>rafaatsouza/net-kafka-docker-sample
using System;
namespace KafkaDockerSample.Ui.Api.Dtos
{
public class RegisterOccurrence
{
/// <summary>
/// Occurrence's description
/// </summary>
public string Description { get; set; }
/// <summary>
/// Occurrence... |
Metadata/States/HistoryState.cs | jplane/DurableStateMachines | 6 | 7067217 | <reponame>jplane/DurableStateMachines
using Newtonsoft.Json;
using DSM.Common.Model;
using DSM.Common.Model.States;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace DSM.Metadata.States
{
/// <summary>
/// <see cref="HistoryState{TData}"/> is a <see cref="S... |
Mossharbor.AzureWorkArounds.ServiceBus/Descriptions/RelayDescriptionXml.cs | RobertoBorges/AzureWorkArounds.ServiceBus | 6 | 7067218 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Mossharbor.AzureWorkArounds.ServiceBus
{
// NOTE: Generated code may require at least .NET Framework 4.5 or .NET Core/Standard 2.0.
/// <remarks/>
[System.SerializableAttribute()]
[System.ComponentModel.Design... |
src/GestionePrenotazioni.Host/Support/Web/WindsorDependencyScope.cs | ProximoSrl/Jarvis.GestionePrenotazioni | 0 | 7067220 | using Castle.Windsor;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Dependencies;
namespace GestionePrenotazioni.Host.Support.Web
{
public class WindsorDependencyScope : IDependencyScop... |
Assets/Scripts/GameManager.cs | msebastien/IMT-Shooter | 0 | 7067221 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public static GameManager instance;
public GameObject enemyPrefab;
public Transform positionSpawn;
public int nbEnemiesAtStart = 10;
publ... |
src/testing/Azos.Tests.Unit/Serialization/ARowBenchmarkingParallel.cs | JohnPKosh/azos | 183 | 7067222 | <reponame>JohnPKosh/azos<gh_stars>100-1000
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Col... |
Tomato Potato Group/Assets/Scripts/LobbyManager.cs | hayoonee/Tomato-Potato-Group | 0 | 7067223 | using UnityEngine;
using UnityEngine.UI;
using Photon.Pun;
using Photon.Realtime;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
public class LobbyManager : MonoBehaviourPunCallbacks
{
public InputField roomInputField;
public GameObject lobbyPanel;
public GameObject ... |
TocUpdaterAddin/Addin.cs | timunie/MarkdownMonsterTocUpdater | 0 | 7067224 | <gh_stars>0
using FontAwesome.WPF;
using MarkdownMonster;
using MarkdownMonster.AddIns;
using MarkdownMonster.Windows.DocumentOutlineSidebar;
using System;
using System.Linq;
using System.Windows;
using System.Windows.Media.Imaging;
using Westwind.Utilities;
namespace TocUpdaterAddin
{
/// <summary>
... |
FreeRDP.Server/Windows.cs | MANEGESLAMPAH/FreeRDP-Sharp | 63 | 7067225 | <reponame>MANEGESLAMPAH/FreeRDP-Sharp<gh_stars>10-100
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Windows Server Interface
*
* Copyright 2011-2012 <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... |
GameServer/Program.cs | msazurelab/guessing-game | 0 | 7067226 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GameServer.Application;
namespace GameServer
{
class Program
{
static void Main(string[] args)
{
var serverApp = new GameServerApp();
serverApp.Run(... |
BoilerPlate.Entities/Model/BaseEnity.cs | TomStary/dotnet-cqs-boilerplate | 0 | 7067227 | <filename>BoilerPlate.Entities/Model/BaseEnity.cs
using System;
namespace BoilerPlate.Entities.Model
{
public abstract class BaseEnity
{
public Guid Id { get; set; }
}
} |
ChequeWriter/ChequeWriter.Web/Cheque/ChequeEditor.ascx.cs | mahathir/ChequeWriter | 0 | 7067228 | <reponame>mahathir/ChequeWriter<filename>ChequeWriter/ChequeWriter.Web/Cheque/ChequeEditor.ascx.cs
using ChequeWriter.Commons;
using ChequeWriter.Commons.Translations;
using ChequeWriter.IBusinessLogic;
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web... |
SPB/Platform/X11/SimpleX11Window.cs | rupansh/SPB | 13 | 7067229 | <reponame>rupansh/SPB
using SPB.Windowing;
using System.Runtime.Versioning;
namespace SPB.Platform.X11
{
[SupportedOSPlatform("linux")]
public sealed class SimpleX11Window : NativeWindowBase
{
public override NativeHandle DisplayHandle { get; }
public override NativeHandle WindowHandle { ge... |
Models/Models/Repository/IModelSerializer.cs | NMFCode/NMF | 35 | 7067230 | using NMF.Models.Changes;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace NMF.Models.Repository
{
public interface IModelSerializer
{
void Serialize(Model model, Stream target);
void SerializeFragment(ModelElement element, Strea... |
3369_RallyToMineral/Assets/Scripts/HQController.cs | flightlessgames/ATCM-3368_RallyToMineral | 0 | 7067231 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[RequireComponent(typeof(BuildingRally))]
public class HQController : ClickableUnit //HQController might be childed further, inherit from "building" but only 1 building in this project. do as P.S. work
{
public event Ac... |
src/CheckoutSdk/ISerializer.cs | oferns/checkout-sdk-net | 13 | 7067232 | <reponame>oferns/checkout-sdk-net
using System;
using System.Collections.Generic;
namespace Checkout
{
public interface ISerializer
{
string Serialize(object payload);
object Deserialize(string payload, Type objectType);
IDictionary<string, object> Deserialize(string payload);
}
} |
DB-Advanced-EntityFramework/Practical-Exam-11-12-2016/Photography-Workshops/Photography.Dtos/CameraDto.cs | Hristo-R/SoftUni-CSharpDBFundamentals-2016 | 0 | 7067233 | <filename>DB-Advanced-EntityFramework/Practical-Exam-11-12-2016/Photography-Workshops/Photography.Dtos/CameraDto.cs
namespace Photography.Dtos
{
public class CameraDto
{
public string Type { get; set; }
public string Make { get; set; }
public string Model { get; set; }
public... |
SimplestUnityDI/Dependencies/TransientDependency.cs | cau777/SimplestUnityDI | 0 | 7067234 | using System;
using JetBrains.Annotations;
using SimplestUnityDI.Dependencies.Providers;
namespace SimplestUnityDI.Dependencies
{
/// <summary>
/// Represents a dependency that always evaluate it's provider
/// </summary>
public class TransientDependency : Dependency
{
public TransientDepe... |
OopQuizSystem/OopQuizSystem/Gui/Render/QuestionConsoleRenderer.cs | Avram86/oop-quiz-system | 0 | 7067235 | using OopQuizSystem.Library;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OopQuizSystem.Gui.Render
{
public abstract class QuestionConsoleRenderer: GraphicalInterfaceQuestionRenderer
{
public QuestionConsoleRenderer(Quest... |
Interfaces and Abstraction/09. Explicit Interfaces/StartUp.cs | MiroslavPeychev/C-Sharp-OOP | 1 | 7067236 | namespace P10.ExplicitInterfaces
{
using System;
public class StartUp
{
public static void Main()
{
string line = Console.ReadLine();
while (line != "End")
{
string[] citizenArgs = line.Split();
string name = citizenArgs... |
ConditionalStatementsHomework/01. ExchangeIfGreater/ExchangeIfGreater.cs | VanyaD/CSharp-Part1 | 0 | 7067237 | using System;
// Problem 1. Exchange If Greater
// • Write an if-statement that takes two double variables a and b and exchanges their values
// if the first one is greater than the second one. As a result print the values a and b, separated by a space.
public class ExchangeIfGreater
{
public static void Main()... |
Rothbard-Engine/Rothbard-Engine/Rothbard-Engine.cs | ReidGiles/Rothbard-Engine | 0 | 7067238 | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Rothbard_Engine
{
/// <summary>
/// This is the main type for your game.
/// </summary>
public class RothbardEngine : Game
{
... |
Samples/CastleDefense/Assets/Game/Scripts/Trajectory.cs | nergen/gvr-unity-sdk | 2 | 7067239 | // Copyright 2016 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
test/DeepSleep.Tests/Pipeline/ProcessHttpRequestUriBindingTests.cs | mtnvencenzo/DeepSleep | 0 | 7067240 | <filename>test/DeepSleep.Tests/Pipeline/ProcessHttpRequestUriBindingTests.cs<gh_stars>0
namespace DeepSleep.Tests.Pipeline
{
using DeepSleep.Configuration;
using DeepSleep.Pipeline;
using DeepSleep.Tests.TestArtifacts;
using FluentAssertions;
using System.Collections.Generic;
using System.Globa... |
TimsWpfControls/TimsWpfControls_Demo/App.xaml.cs | maznabili/TimsWpfControls | 28 | 7067241 | using ControlzEx.Theming;
using System.Data;
using System.Linq;
using System.Windows;
using System.Windows.Media;
namespace TimsWpfControls_Demo
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
///
public partial class App : Application
{
protected override void OnStar... |
Ashirvad-main/Ashirvad.Web/Views/Faculty/Create.cshtml | Shail218/Ashirvad | 0 | 7067242 | @model Ashirvad.Data.FacultyEntity
<form id="ffacultydetail">
<div class="form-group" id="dInformation">
@if (SessionContext.Instance.LoginUser.UserType == Ashirvad.Common.Enums.UserType.SuperAdmin)
{
<div class="col-md-12">
@Html.Label("Select Branch", htmlAttributes: n... |
Assets/Scripts/Chunk.cs | pollend/un_earthed | 0 | 7067243 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class Chunk : MonoBehaviour {
public GameObject dirtPrefab;
int halfDistance;
int wait = 0;
void Start() {
halfDistance = (int) (transform.localScale.x / 2f - 0.5f);
StartCoroutine(Dechunk());
}
IEnumerator Dechunk() {
for (int x = (int)tr... |
Example/Program.cs | mxaviersilva/ImmutableSharp | 0 | 7067244 | <gh_stars>0
using System;
using static ImmutableSharp.ImmutableSharp;
using System.Collections.Generic;
using System.Linq;
namespace Tests
{
class Program
{
static void Main(string[] args)
{
// These examples show function chaining and immutability
var a = new int[] {0,... |
src/HTTPv3.Quic.Core/HTTPv3.Quic.Core.Tests/TLS/Messages/Extensions/ALPNTests.cs | httpv3/QuicDotNet | 2 | 7067245 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTTPv3.Quic.TLS.Messages.Extensions
{
[TestClass]
public class ALPNTests
{
[TestMethod]
public void EasyDecodeTest()
{
var... |
src/LnskyDB/Model/OrderCriteria.cs | liningit/LnskyDB | 232 | 7067246 | <filename>src/LnskyDB/Model/OrderCriteria.cs
using LnskyDB;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace LnskyDB.Model
{
public class OrderCriteria
{
public EOrderBy OrderBy { get; set; }
public LambdaExpression Field { get; set; }... |
src/Hashgraph/ConsensusException.cs | queilawithaQ/Hashgraph | 32 | 7067247 | <gh_stars>10-100
using System;
namespace Hashgraph
{
/// <summary>
/// Exception thrown when a network call was accepted by the gateway
/// node but did not achieve network consensus before the expiration
/// timeout of the transaction request occurred.
/// </summary>
public sealed ... |
src/PodcastSyncLib/Podcast.cs | rrelyea/podcastSync | 0 | 7067248 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace PodcastSyncLib
{
public class Podcast : INotifyPropertyChanged
{
public Podcast()
{
// TODO: once system.text.json can deal with r/o collections, make episo... |
TerroristPresenceMod/Main.cs | Jomtek/TerroristPresenceMod | 1 | 7067249 | using System;
using System.IO;
using System.Collections.Generic;
using GTA;
using GTA.UI;
using GTA.Math;
using System.Windows.Forms;
using TerroristPresenceMod.Utils;
using System.Xml;
namespace TerroristPresenceMod
{
public class Main : Script
{
private List<TerroristZone> terroristZones = new List<... |
Lsw1188291fSimulator/frmMain.Designer.cs | SteveOswald/LSW-1188-29-1F-Communication-Protocol | 0 | 7067250 | <gh_stars>0
namespace Lsw1188291fSimulator
{
partial class frmMain
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </su... |
Source/HFEA.API.Connector/Source/HFEA.Connector.Contracts/Clients/Centres/ICentreImageUpdateClient.cs | hfea/Website-Public | 0 | 7067251 | <filename>Source/HFEA.API.Connector/Source/HFEA.Connector.Contracts/Clients/Centres/ICentreImageUpdateClient.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HFEA.Connector.Contracts.Clients.Centres
{
public interface ICentreImageUpda... |
Meyer.Socrates/Collections/ChunkyCollection.cs | Jayrod246/socrates | 1 | 7067252 | namespace Meyer.Socrates.Collections
{
using Meyer.Socrates.Data;
using Meyer.Socrates.Data.Volatile;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
public class ChunkyCollection: VolatileCollection<Chunk>, IResolver... |
CsPlayer.PlayerModule/ViewModels/PlaylistViewModel.cs | p1387h/CsPlayer | 0 | 7067253 | using CsPlayer.PlayerEvents;
using CsPlayer.Shared;
using Microsoft.Practices.Unity;
using Prism.Events;
using Prism.Logging;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
namespace CsPlayer.PlayerModule... |
Source/DX8/Assets/Source/Strings.cs | betajaen/dx8 | 9 | 7067254 | <reponame>betajaen/dx8<gh_stars>1-10
using System;
public static class Strings
{
public static string[] kAbout = new string[] {
// 123456789012345678012345678901234567800123456780
" DX8 Emulator by <NAME> ",
" github.com/betajaen/dx8",
" For the Fantasy Console Game Jam ... |
Basic/IO/ConsoleInputOutput.cs | markshevchenko/learningbasic | 5 | 7067255 | <gh_stars>1-10
namespace Basic.IO
{
using System;
/// <summary>
/// Implements input and output operations for <see cref="Console">console</see>.
/// </summary>
public class ConsoleInputOutput : IInputOutput
{
/// <inheritdoc />
public event EventHandler OnBreak;
/// <... |
Assets/DNode/Scripts/Math/DClamp.cs | nattos/dnode | 0 | 7067256 | using System;
namespace DNode {
public class DClamp : DUnaryScalarOperationBase { protected override double ComputeElement(double lhs) => Math.Max(0.0f, Math.Min(1.0, lhs)); } // TODO: Moar
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.