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/Symbol/Symbol/Formatting/DataBodyAttribute.cs | symbolspace/Symbol | 25 | 7049385 | <reponame>symbolspace/Symbol
/*
* author:symbolspace
* e-mail:<EMAIL>
*/
using System;
namespace Symbol.Formatting {
/// <summary>
/// 数据主体特性(表示参数可以尝试从数据主体构建)。
/// </summary>
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class DataBodyAttribut... |
EcoCardio/EcoCardio.WinApp/Template/FrmTemplateList.Designer.cs | MiguelCosta/ecocardio | 0 | 7049386 | <filename>EcoCardio/EcoCardio.WinApp/Template/FrmTemplateList.Designer.cs<gh_stars>0
namespace EcoCardio.WinApp.Template
{
partial class FrmTemplateList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... |
src/HumbleConfig.Credstash/CredstashExtensions.cs | kevbite/HumbleConfig | 9 | 7049388 | using Amazon.DynamoDBv2;
using Amazon.Internal;
using Amazon.KeyManagementService;
using Narochno.Credstash;
namespace HumbleConfig.Credstash
{
public static class CredstashExtensions
{
public static IConfigurationSourceConfigurator AddCredstash(this IConfigurationConfigurator configuration, Credstash... |
ReviewTuesday/Program.cs | KingMannyThe8th/SpartaCSharpwork | 0 | 7049389 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReviewTuesday
{
class Program
{
static void Main(string[] args)
{
//* LISTS
///*
// LIST<T>
//LIST <int>
... |
Assets/Scripts/Editor/PackageProject/Menu.cs | kedlly/XDFramework | 1 | 7049390 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XDDQFrameWork.Editor.ProjectBuilder;
using UnityEngine;
using UnityEditor;
namespace Plugin.PackageProject
{
public static class XDProjectMenu
{
[MenuItem("XDProject/ExportProjectSettings")]
private static void Expor... |
src/MailCheck.MtaSts.Contracts/Tags/UnknownTag.cs | ukncsc/MailCheck.Public.MtaSts | 0 | 7049391 | //namespace MailCheck.MtaSts.Contracts.Tags
//{
// public class UnknownTag : Tag
// {
// public UnknownTag(string rawValue) : base(nameof(UnknownTag), rawValue)
// {
// }
// }
//} |
Ui/Jobz.WebUi/Views/Home/Index.cshtml | TheDev6/RaspberryPiSprinklers | 1 | 7049393 | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Sprinkers</h1>
<p class="lead">Sprinklerzez</p>
<p>
@Html.ActionLink(linkText: "Manage Schedule", controllerName: "Home", actionName: "Schedule", routeValues: new { area = "" }, htmlAttributes: new { @class = "btn btn-primary btn-lg... |
Daikin.DotNetLib.Windows/Directory.cs | daikinapplied/DotNetLib | 3 | 7049394 | <gh_stars>1-10
using System;
namespace Daikin.DotNetLib.Windows
{
public class Directory
{
#region Functions
/// <summary>
/// Make sure the pathname is properly formed (and terminated properly)
/// </summary>
/// <param name="path">Path to check</param>
/// <re... |
Ksiegarnia/Data/BookContext.cs | jaheyy/Bookstore | 0 | 7049395 | <reponame>jaheyy/Bookstore
using Ksiegarnia.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ksiegarnia.Data
{
public class BookContext : DbContext
{
public BookContext (DbContextOptions<BookContext>... |
src/HexManiac.Core/Models/Runs/Factory/LzPaletteRunContentStrategy.cs | haven1433/gen3hex | 1 | 7049396 | using HavenSoft.HexManiac.Core.Models.Runs.Sprites;
using System;
using System.Collections.Generic;
namespace HavenSoft.HexManiac.Core.Models.Runs.Factory {
/// <summary>
/// Format Specifier: `lzpB` where B=bits. Example: `lzp4`
/// Represents an _lz compressed_ run of bytes for a palette.
/// The pa... |
source/Stateless.WorkflowEngine.WebConsole/BLL/Models/UIWorkflow.cs | cafc79/Stateless.WorkflowEngine | 93 | 7049397 | using MongoDB.Bson.Serialization.Attributes;
using Stateless.WorkflowEngine.WebConsole.BLL.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stateless.WorkflowEngine.WebConsole.BLL.Models
{
[BsonIgnoreExtraElements]
public clas... |
src/Slooh.Explorer/MainForm.Designer.cs | Calteo/Slooh.Explorer | 4 | 7049398 | using System.Drawing;
namespace Slooh.Explorer
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.... |
03-CSharp-Advanced-January-2020/04-EXERCISE-STACKS AND QUEUES/04. Fast Food/Program.cs | aalishov/SoftUni | 1 | 7049399 | <filename>03-CSharp-Advanced-January-2020/04-EXERCISE-STACKS AND QUEUES/04. Fast Food/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main(string[] args)
{
int food = int.Parse(Console.ReadLine());
Queue<int> orders = new Queue<int>(Con... |
samples/BindingDemo/App.xaml.cs | Karnah/Avalonia | 22 | 7049400 | using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Logging.Serilog;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using Serilog;
namespace BindingDemo
{
public class App : Application
{
public override void Initialize()
{
AvaloniaXamlLoader.Load(this);
... |
src/Contexts/Payment/Presentation/ServiceStack/Payment/Service.cs | sucrose0413/eShopOnContainersDDD | 143 | 7049401 | using Infrastructure.Extensions;
using NServiceBus;
using ServiceStack;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace eShop.Payment.Payment
{
public class Service : ServiceStack.Service
{
private readonly IMessageSession _bus;
publi... |
backend/entities/BuildingOccupantType.cs | stairaku/PSP | 0 | 7049402 | <reponame>stairaku/PSP
using System.ComponentModel.DataAnnotations.Schema;
namespace Pims.Dal.Entities
{
/// <summary>
/// BuildingOccupantType class, provides an entity for the datamodel to manage a list of building occupant types.
/// </summary>
[MotiTable("PIMS_BUILDING_OCCUPANT_TYPE", "BLOCCT")]
... |
Examples/UsingGrass_4_0/SubNamespace/PathWrapper.cs | ArtisanCode/Grass | 0 | 7049403 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
KillrVideo.GraphLayerDsl/_New_KillrVideo.cs | KillrVideo/killrvideo-csharp | 6 | 7049404 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Gremlin.Net.Process.Traversal;
using Gremlin.Net.Structure;
using static Gremlin.Net.Process.Traversal.P;
namespace KillrVideo.GraphDsl {
/// <summary>
/// Spawns anonymous traversal instances for the DSL.
/// </summary>
public sta... |
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/TechSupportComponentSolver.cs | eXish/KtaneTwitchPlays | 58 | 7049406 | <gh_stars>10-100
using System;
using System.Collections;
using System.Linq;
public class TechSupportComponentSolver : ReflectionComponentSolver
{
public TechSupportComponentSolver(TwitchModule module) :
base(module, "TechSupport", "!{0} <0/1/2> [Presses the button with the specified label] | Presses can be chained... |
lib/Strategies/Features/Assembler.cs | igorlukanin/icfpc2018-kontur-ru | 22 | 7049407 | using System.Linq;
using lib.Models;
using lib.Strategies.Features.Async;
namespace lib.Strategies.Features
{
public class Assembler : Strategy
{
public Assembler(DeluxeState state)
: base(state)
{
}
protected override async StrategyTask<bool> Run()
{
... |
src/IronyModManager.IO.Common/DLC/IDLCExporter.cs | actioninja/IronyModManager | 134 | 7049408 | <gh_stars>100-1000
// ***********************************************************************
// Assembly : IronyModManager.IO.Common
// Author : Mario
// Created : 02-14-2021
//
// Last Modified By : Mario
// Last Modified On : 02-14-2021
// *************************************************... |
src/Parsec/Shaiya/3DO/_3DO.cs | matigramirez/Parsec | 14 | 7049409 | using Newtonsoft.Json;
using Parsec.Attributes;
using Parsec.Common;
using Parsec.Shaiya.Common;
using Parsec.Shaiya.Core;
namespace Parsec.Shaiya._3DO;
/// <summary>
/// Class that represents a .3DO which is used for weapons and shields. This format doesn't contain bones, it's just a mesh with a texture.
/// </summ... |
src/Advobot.Core/Resources/GuildSettingNames.Designer.cs | advorange/Advobot | 9 | 7049410 | <filename>src/Advobot.Core/Resources/GuildSettingNames.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will b... |
sources/LLVMSharp/Values/Users/Instructions/Instruction.OtherOps.cs | SapientGuardian/LLVMSharp | 294 | 7049412 | <gh_stars>100-1000
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using LLVMSharp.Interop;
namespace LLVMSharp
{
public partial class Instruction
{
public enum OtherOps
{
... |
src/GameEstate.Formats/Formats/AC/FileTypes/EnvCell.cs | smorey2/GameEstate | 0 | 7049413 | using GameEstate.Core;
using GameEstate.Explorer;
using GameEstate.Explorer.ViewModel;
using GameEstate.Formats._Packages;
using GameEstate.Formats.AC.Entity;
using GameEstate.Formats.AC.Props;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace GameEstate.Formats.AC.FileTypes
{
... |
Assets/ootii/Assets/Framework_v1/Code/Data/Serializers/JSONSerializer.cs | Adityanand/VR-Constuction-Site | 0 | 7049414 | using System;
using System.Collections;
using System.Globalization;
using System.Reflection;
using System.Text;
using UnityEngine;
using com.ootii.Geometry;
using com.ootii.Helpers;
using com.ootii.Utilities;
using com.ootii.Utilities.Debug;
namespace com.ootii.Data.Serializers
{
/// <summary>
/// Helper clas... |
Models/Interfaces/IModelNumber.cs | kysu1313/ITSearch | 0 | 7049415 | namespace ITSearch.Models.ProductInfo
{
public interface IModelNumber
{
string Model { get; set; }
int ModelId { get; set; }
}
} |
Examples/DocsExamples/DocsExamples/File Formats and Conversions/Save Options/Working with HtmlSaveOptions.cs | Web-Dev-Collaborative/Aspose.Words-for-.NET | 310 | 7049416 | using System.IO;
using Aspose.Words;
using Aspose.Words.Saving;
using NUnit.Framework;
namespace DocsExamples.File_Formats_and_Conversions.Save_Options
{
public class WorkingWithHtmlSaveOptions : DocsExamplesBase
{
[Test]
public void ExportRoundtripInformation()
{
//ExStart... |
MvcTesting/Html/FormValueScraper.cs | FlukeFan/MvcTesting | 0 | 7049417 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace MvcTesting.Html
{
public static class FormValueScraper
{
public static IEnumerable<FormValue> FromElements(IEnumerable<ElementWrapper> elements)
{
var grouped = elements
... |
YKToolkit.Controls/Core/Converters/TabControlBorderThicknessConverter.cs | Remon-7L/YKToolkit.Controls | 9 | 7049418 | <reponame>Remon-7L/YKToolkit.Controls
namespace YKToolkit.Controls.Converters
{
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
internal class TabControlBorderThicknessConverter : IValueConverter
{
public object Convert(object value, System.Type targetType, ... |
src/AircraftTrajectories/Views/Visualisation/VisualisationRunForm.cs | HansSchouten/Aircraft-Trajectories | 1 | 7049419 | <gh_stars>1-10
using System;
using System.Windows.Forms;
namespace AircraftTrajectories.Views.Visualisation
{
public partial class VisualisationRunForm : Form
{
public VisualisationRunForm()
{
InitializeComponent();
}
protected string _message;
... |
MonoGame.Framework/Platform/Audio/OpenAL/OpenAL.Enums.cs | TechnologicalPizza/MonoGame | 0 | 7049421 | <reponame>TechnologicalPizza/MonoGame
namespace MonoGame.OpenAL
{
public enum ALFormat
{
Mono8 = 0x1100,
Mono16 = 0x1101,
Stereo8 = 0x1102,
Stereo16 = 0x1103,
MonoIma4 = 0x1300,
StereoIma4 = 0x1301,
MonoMSAdpcm = 0x1302,
StereoMSAdpcm = 0x1303... |
Imd/Imd.Tests.Integration/ShowReels.cs | emtea/ImdExercise- | 0 | 7049422 | <reponame>emtea/ImdExercise-<filename>Imd/Imd.Tests.Integration/ShowReels.cs
using Imd.Data.Interfaces;
using Imd.Domain.Models;
using Imd.Services.ShowReels.Interfaces;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using static Imd.Domain.Enums;
namespace Imd.Tests.Integration
{
[TestClass]
... |
RockStats/Service/RockStatsWeb.cs | RealFakeDoris/RockStats | 5 | 7049423 | /*
Copyright (c) 2020 - 0xCD7F82BcFa333B4072A11Bd0B1da95c9b5f9E869 m/44'/60'/0'/0/0
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 right... |
Ligg.Abp/src/Ligg.Abp.Domain/LiggAbpDomainModule.cs | Liggin2019/Ligg.SarchDotnet | 1 | 7049424 | <filename>Ligg.Abp/src/Ligg.Abp.Domain/LiggAbpDomainModule.cs
using Ligg.Abp.Domain.Contracts;
using Volo.Abp.Identity;
using Volo.Abp.Modularity;
namespace Ligg.Abp.Domain
{
[DependsOn(
typeof(AbpIdentityDomainModule),
typeof(LiduoAbpDomainSharedModule)
)]
public class LiggAbpDomainModule ... |
CH14/CH14_DesignPatterns/CreationalDesignPatterns/FactoryMethod/Creator.cs | leonardoheis/Clean-Code-in-C- | 41 | 7049425 | <filename>CH14/CH14_DesignPatterns/CreationalDesignPatterns/FactoryMethod/Creator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CH14_DesignPatterns.CreationalDesignPatterns.FactoryMethod
{
public abstract class Creator
{
... |
circle_shader/Assets/FollowMouse.cs | Befezdow/blog-code | 37 | 7049426 | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowMouse : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButton(0)) {
Vector3 mouse = Camera.main.Scr... |
src/JoinRpg.Services.Impl/UserServiceImpl.cs | HeyLaurelTestOrg/joinrpg-net | 0 | 7049427 | using System.Threading.Tasks;
using JetBrains.Annotations;
using JoinRpg.Data.Write.Interfaces;
using JoinRpg.DataModel;
using JoinRpg.Domain;
using JoinRpg.Helpers;
using JoinRpg.Interfaces;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl
{
[UsedImplicitly]
public class UserServiceImpl : Db... |
Ryujinx.HLE/HOS/Kernel/Threading/KCriticalSection.cs | igorquintaes/Ryujinx | 1 | 7049428 | using ChocolArm64;
using System.Threading;
namespace Ryujinx.HLE.HOS.Kernel.Threading
{
class KCriticalSection
{
private Horizon _system;
public object LockObj { get; private set; }
private int _recursionCount;
public KCriticalSection(Horizon system)
{
_sy... |
nuget.azure/Models/MetaData.cs | qbituniverse/kube-explorer | 0 | 7049429 | <gh_stars>0
namespace qu.nuget.azure.Models
{
public class MetaData
{
public string odataMetaData { get; set; } = string.Empty;
public bool value { get; set; }
}
} |
MyEmailer/SmtpClientConfigurations.cs | pilacst/MyEmailer | 0 | 7049430 | using System.Net.Mail;
namespace MyEmailer
{
/// <summary>
/// Configuration model.
/// </summary>
public class SmtpClientConfigurations
{
/// <summary>
/// Gets or sets the SMTP server addres.
/// </summary>
public string SmtpAddress { get; set; }
/// <sum... |
UsaEpay/Extensions/DecimalExtensions.cs | VirtoCommerce/vc-module-UsaEpay | 3 | 7049431 | <filename>UsaEpay/Extensions/DecimalExtensions.cs
using System;
namespace UsaEpay.Extensions
{
public static class DecimalExtensions
{
public static double ToDollars(this decimal value) => Convert.ToDouble(value);
}
} |
Cogito.MassTransit/BusExtensions.cs | alethic/Cogito.MassTransit | 0 | 7049432 | <reponame>alethic/Cogito.MassTransit
using System;
using MassTransit;
namespace Cogito.MassTransit
{
/// <summary>
/// Various extension methods for <see cref="IBus"/>.
/// </summary>
public static class BusExtensions
{
/// <summary>
/// Gets the root URI of the bus.
///... |
PagarMe.Shared/JsonHelper.cs | carlosmachina/pagarme-net | 38 | 7049433 | <reponame>carlosmachina/pagarme-net
//
// JsonHelper.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2014 Pagar.me
//
// 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 withou... |
TestChunkUpload.API/Controllers/FileController.cs | gabrielpda15/TestChunkUpload | 0 | 7049434 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using T... |
MP.XmlConfigComparer.Core/ICompareResultsPrinter.cs | jivygroup/XmlConfigComparer | 1 | 7049435 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MP.XmlConfigComparer.Core
{
public interface ICompareResultsPrinter
{
Task<string> PrintResults(CompareResult compareResult, string baseConfigFile, string tragetConfigFile,s... |
C#Advanced/FunctionalProgramming/CustomMinFunction/CustomMinFunction.cs | GeorgiGarnenkov/CSharp-Fundamentals | 0 | 7049436 | using System;
using System.Collections.Generic;
using System.Linq;
namespace CustomMinFunction
{
class CustomMinFunction
{
static void Main()
{
var numbers = Console.ReadLine()
.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.Select(int.... |
05. Object Oriented Programming/2019/02. Defining Classes/PersonApp/Program.cs | dimitarminchev/ITCareer | 50 | 7049437 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace PersonApp
{
class Program
{
// Task 1.
static void Main(string[] args)
{
// Test 1. Create object instance
... |
src/Host/Controllers/AccountController.cs | sicsbd/PolicyServer.Local | 466 | 7049438 | <reponame>sicsbd/PolicyServer.Local<filename>src/Host/Controllers/AccountController.cs
// Copyright (c) <NAME>, <NAME>, <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.Security.Claim... |
OOP/Inheritance - Exercise/Zoo/Reptile.cs | tonkatawe/SoftUni-Advanced | 0 | 7049439 | using System;
using System.Collections.Generic;
using System.Text;
namespace Zoo
{
public class Reptile:Animal
{
public Reptile(string name)
{
this.Name = name;
}
}
}
|
Assets/Scripts/Characters/General/AI/AIStateMachine.cs | JacobVerona/HelicopterAttack3d | 0 | 7049440 | using HelicopterAttack.StateMachine;
using System.Collections;
using UnityEngine;
namespace HelicopterAttack.Characters.General.AI
{
public abstract class AIStateMachine : StateMachine<AIState>
{
[SerializeField]
private float _aiUpdateSeconds = 1f;
private YieldInstruction _waitTime;... |
Engine/Source/Programs/UnrealDocTool/UnrealDocTool/MarkdownSharp/EpicMarkdown/Parsers/SpanParser/EMDecorationTag.cs | PopCap/GameIdea | 0 | 7049441 | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MarkdownSharp.EpicMarkdown.Parsers.SpanParser
{
using System.Globalization;
using System.Text.RegularExpressions;
public class EMDecorationTag : Ta... |
src/Microsoft.MobileBlazorBindings/Elements/MenuItem.cs | chrisevans9629/MobileBlazorBindings | 0 | 7049443 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.MobileBlazorBindings.Core;
using Microsoft.AspNetCore.Components;
using Microsoft.MobileBlazorBindings.Elements.Handlers;
using XF = Xamarin.Forms;
namespace Microsoft.MobileBlazorBindings.Elements
{
public class MenuItem ... |
src/LabOnline.Web.Test/LoginTest.cs | devvista360/labonline | 0 | 7049444 | using RestSharp;
using LabOnline.Models;
using Xunit;
using System;
namespace LabOnline
{
/// <summary>
/// Validate the login access to the application
/// </summary>
public class LoginTest
{
string hostname = "http://localhost:14062/";
string resource = "/token";
[Fact]
... |
src/ICalendar/CalendarComponents/VTimeZone.cs | UHCalendarTeam/ANtICalendar | 7 | 7049445 | using ICalendar.GeneralInterfaces;
using System.Collections.Generic;
namespace ICalendar.CalendarComponents
{
public class VTimezone : CalendarComponent, ICalendarComponentsContainer
{
public VTimezone()
{
CalendarComponents = new Dictionary<string, List<ICalendarComponent>>();
... |
source/VitNX3_net5/UI/ControlsV1/Controls/VitNX_TextBox.cs | Zalexanninev15/VitNX | 2 | 7049446 | <filename>source/VitNX3_net5/UI/ControlsV1/Controls/VitNX_TextBox.cs
using System.Windows.Forms;
using VitNX.UI.ControlsV1.Config;
namespace VitNX.UI.ControlsV1.Controls
{
public class VitNX_TextBox : TextBox
{
#region Constructor Region
public VitNX_TextBox()
{
BackColor... |
Protocol/Messages/ChatMessage.cs | rubenwo/GoogelDogs | 0 | 7049447 | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Protocol.Messages
{
public class ChatMessage : IMessage
{
/// <summary>
/// ChatMessage protocol is for Serializing chatmessage so they can be send over a stream
/// </summary>
... |
0.2/gMapMaker/MainForm.Designer.cs | HardCorePawn/gMapMakerHCP | 2 | 7049448 | /*
* gMapMaker
* Copyright (C) 2007 <NAME>
* http://debin.net/gMapMaker/
*
* This file is part of gMapMaker.
*
* Foobar is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licen... |
ClickHouse.Client/Formats/BinaryStreamWriter.cs | ili/ClickHouse.Client | 0 | 7049449 | <filename>ClickHouse.Client/Formats/BinaryStreamWriter.cs
using System;
using System.Collections;
using System.Globalization;
using System.Net;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
using ClickHouse.Client.Types;
using ClickHouse.Client.Utility;
namespace ClickHouse.Client.F... |
src/cirrus.core.workflow/IOutput.cs | KodrAus/cirrus | 0 | 7049450 | <gh_stars>0
namespace Cirrus.Core.Workflow
{
public interface IOutput
{
}
public interface IOutput<T> : IOutput
{
T Result { get; }
//TODO: Errors n stuff
}
public class OutputBase<T> : IOutput<T>
{
public OutputBase(T result)
{
_result = result;
}
protected T _result;
public T Result
{
... |
AvaloniaAV.MediaFoundation/CpuStreamPlayer.cs | jkoritzinsky/AvaloniaAV | 13 | 7049451 | <reponame>jkoritzinsky/AvaloniaAV
using System;
using System.Collections.Generic;
using System.Text;
using SharpDX.DXGI;
using SharpDX.Direct3D11;
namespace AvaloniaAV.MediaFoundation
{
class CpuStreamPlayer : StreamPlayer
{
private DeviceContext context;
public CpuStreamPlayer(SharpDX.DXGI.D... |
Overture.T4.Helper/TypeScriptClientModels/TypeScriptClientModelEnum.cs | shestakov/T34 | 0 | 7049452 | namespace Overture.T4.Helper.TypeScriptClientModels
{
public class TypeScriptClientModelEnum
{
public TypeScriptClientModelEnum(string name, string originalFullName, string source, TypeScriptClientModelEnumMember[] members)
{
Name = name;
OriginalFullName = originalFullName;
Source = source;
Members =... |
Src/DataModel/Models/BaseModel.cs | nnyegaard/DotNetBaseSample | 3 | 7049453 | using System;
namespace DataModel.Models
{
public abstract class BaseModel
{
public Guid Id { get; } = Guid.NewGuid();
public DateTime CreatedUtc { get; } = DateTime.UtcNow;
}
} |
src/Activities.FileSystem/Statements/FileChangeSubscriptionHandle.cs | miguelhasse/Workflow.Activities | 1 | 7049454 | using Hasseware.Activities.Hosting;
using System;
using System.Activities;
using System.Runtime.Serialization;
namespace Hasseware.Activities.Statements
{
[DataContract]
public class FileChangeSubscriptionHandle : Handle
{
[DataMember(EmitDefaultValue = false)]
internal string Id { get; private set; }
inter... |
Assets/Main/Scenes/RPG/Scripts/PlaneControls.cs | d4nkf0x/some-prototypes | 0 | 7049455 | <reponame>d4nkf0x/some-prototypes
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlaneControls : MonoBehaviour
{
private Animator anim;
private Rigidbody rb;
private bool directionset;
private float m_vertical;
private float m_horizontal;
public GameObject cam;
... |
src/EventStore.Core/Services/TcpSendService.cs | tralivali1234/EventStore | 7 | 7049456 | <gh_stars>1-10
using System.Diagnostics;
using EventStore.Core.Bus;
using EventStore.Core.Messages;
using EventStore.Core.Services.Histograms;
namespace EventStore.Core.Services
{
public class TcpSendService : IHandle<TcpMessage.TcpSend>
{
private readonly Stopwatch _watch = Stopwatch.StartNew();
... |
SIV/Repository/Repository/BaseRepository.cs | pinolerosoftware/apiSivCore | 0 | 7049457 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Data;
using Repository.Interface;
namespace Repository.Repository
{
public class BaseRepository<TModel> : IBaseRepository<TModel> where TModel : class
{
protected SivContext db { get; set; }
... |
Assets/Scripts/UI/SceneSwitcher.cs | henry9836/TheMoscowMincer | 0 | 7049458 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using UnityEngine.Networking;
using DG.Tweening;
public class SceneSwitcher : MonoBehaviour {
public GameObject fadePanel;
public float fadeTime = 0.5f;
priv... |
frmLogin.cs | kfb19/Smart-Work-Wear | 0 | 7049459 | <gh_stars>0
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.Data.OleDb;
namespace Coursework
{
public partial class frmLog... |
WFInfo/verifyCount.xaml.cs | BLG51/WFinfo | 0 | 7049460 | <gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Ionic.Zip;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Input;
namespace WFInfo
{
/// <summary>
/// Interaction logic for verifyCount.... |
Commerce/MasterCardWorker/RecordMarshalers/FilteringBuilders/FilteringBuilder.cs | BOONRewardsInc/rewards | 13 | 7049461 | <reponame>BOONRewardsInc/rewards<gh_stars>10-100
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
namespace Lomo.Commerce.MasterCardWorker
{
using System;
using System.Collections.ObjectM... |
src/LaraUI/Middleware/DiscardHandler.cs | rChavz/lara | 2 | 7049462 | <reponame>rChavz/lara
/*
Copyright (c) 2019-2020 Integrative Software LLC
Created: 5/2019
Author: <NAME>
*/
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Integrative.Lara
{
internal sealed class DiscardHandler : BaseHandler
{
private readonly Application _app;
publ... |
3sdnMap/formTopo.cs | 605258778/3sdnMap | 4 | 7049463 | <reponame>605258778/3sdnMap
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace _3sdnMap
{
public partial class formT... |
sources/Interop/Windows/um/msctf/TF_DA_COLOR.cs | phizch/terrafx.interop.windows | 146 | 7049464 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/msctf.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.CompilerServices;
using Sys... |
bridge/Assets/Scripts/Main.cs | Identity-numbers/bridge-generator | 2 | 7049465 | <filename>bridge/Assets/Scripts/Main.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.UI;
public class Main : MonoBehaviour
{
public InputField startNumber;
public InputField endNumber;
public InputField OutputTextField;
public Inp... |
tests/za.co.grindrodbank.a3s.tests/Services/TeamService_Tests.cs | paulvancoller/A3S | 0 | 7049466 | /**
* *************************************************
* Copyright (c) 2019, Grindrod Bank Limited
* License MIT: https://opensource.org/licenses/MIT
* **************************************************
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
usin... |
PureDITest/DerivedAttributeTestData/Factory.cs | mikedamay/SimpleIOCContainer | 1 | 7049467 | <filename>PureDITest/DerivedAttributeTestData/Factory.cs
using System;
using System.Dynamic;
using System.IO;
using System.Reflection;
using PureDI;
using PureDI.Attributes;
using IOCCTest.TestCode;
namespace IOCCTest.DerivedAttributeTestData
{
[Ignore]
public abstract class ResourceFactoryBase : IFactory
... |
Configuration/Networking/Serializers/SerializerType.cs | BiancoRoyal/OPC-UA-OOI | 137 | 7049468 | <gh_stars>100-1000
namespace UAOOI.Configuration.Networking.Serializers
{
/// <summary>
/// Enum SerializerType - enumerates available serializers
/// </summary>
public enum SerializerType
{
/// <summary>
/// The json serializer
/// </summary>
Json,
/// <summary>
/// The XML serializ... |
src/BuildingBlocks/BuildingBlocks.Application/Queries/QueryBase.cs | LeftTwixWand/Inventory | 0 | 7049469 | <reponame>LeftTwixWand/Inventory
using BuildingBlocks.Application.Requests;
namespace BuildingBlocks.Application.Queries;
/// <summary>
/// Abstract record, that encapsulate functionality of <see cref="IQuery{TResult}"/> and adding request identity.
/// </summary>
/// <typeparam name="TResult"><inheritdoc cref="Requ... |
Assets/Toolset/ProtocolBuffers/Tests/PlayMode/TestsAsyncSaveManager.cs | Karazaa/Toolset | 1 | 7049470 | <reponame>Karazaa/Toolset
using NUnit.Framework;
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine.TestTools;
using Toolset.Core;
using Toolset.Global.Utils;
namespace Toolset.ProtocolBuffers.Tests
{
/// <summary>
... |
src/QuizWebApp.Services/QuestionService.cs | mvarbanov97/cautious-computing-machine | 0 | 7049471 | <reponame>mvarbanov97/cautious-computing-machine
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using QuizWebApp.Data;
using QuizWebApp.Models;
using QuizWebApp.Models.API_Models;
using QuizWebApp.Services.Contracts;
using QuizWebApp.Services.Extensions;
using System;
using System.Collections.Generic;
using System... |
Assets/Scripts/GameScene/ActionContainer.cs | eremeev0/Arcanoid | 0 | 7049472 | <gh_stars>0
using System;
using Assets.Scripts.GameScene.Controllers.Sub;
using Assets.Scripts.MultiOriented;
using Assets.Scripts.MultiOriented.Models;
using Assets.Scripts.MultiOriented.StatesManagament.ActionsContainer;
using UnityEngine;
namespace Assets.Scripts.GameScene
{
public class ActionContainer
{
... |
GoblinGame/Assets/Scripts/SwordBehavior.cs | dwraithrah/SeniorProjectGame | 0 | 7049473 | <reponame>dwraithrah/SeniorProjectGame<filename>GoblinGame/Assets/Scripts/SwordBehavior.cs
using UnityEngine;
using System.Collections;
public class SwordBehavior : MonoBehaviour {
public bool attack = false;
private double rotateSpeed = 5;
//keeping score
public int scoreValue = 0;
//for goblin death scream
... |
Assets/VineBreak.cs | Darylcxz/ANIMA-SPIRIT | 0 | 7049474 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class VineBreak : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnCollisionEnter(Collision col)
{
if (col.collider.tag == "dagger" && gameObject.transform.GetC... |
RouteExtreme.Web.Tests/Routes/TripRouteTests.cs | zhenyaracheva/RoutExtreme | 0 | 7049475 | <reponame>zhenyaracheva/RoutExtreme
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MvcRouteTester;
using RouteExtreme.Web.Controllers;
using System.Web.Routing;
namespace RouteExtreme.Web.Tests.Routes
{
[TestClass]
public class TripRouteTests
{
[TestMethod]
public void TestTrip... |
TubumuMeeting.Libuv/IConnectableExtensions.cs | 694296033/TubumuMeeting | 1 | 7049476 | <gh_stars>1-10
using System;
using System.Net;
namespace TubumuMeeting.Libuv
{
public static class IConnectableExtensions
{
#region IP Extensions
public static void Connect<TType>(this IConnectable<TType, IPEndPoint> client, IPAddress ipAddress, int port, Action<Exception> callback)
{... |
Requestrr.WebApi/Controllers/DownloadClients/Radarr/RadarrClientController.cs | hthighwaymonk/requestrr | 1 | 7049477 | using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Requestrr.WebApi.config;
using Requestrr.WebApi.RequestrrBot.DownloadClients;
using Requestrr.WebApi.Request... |
src/DDD.CQRS.Infrastructure/CommandFactory.cs | my-repositories/DDD.CQRS | 0 | 7049478 | // Copyright (c) DDD.CQRS. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using DDD.CQRS.Abstract;
namespace DDD.CQRS.Infrastructure
{
public class CommandFactory : IComm... |
MultiEnumDict/Demo/Demo.Client.Common/ViewModels/ViewModels.cs | Xomega-Net/Demos | 0 | 7049479 | <reponame>Xomega-Net/Demos
//---------------------------------------------------------------------------------------------
// This file was AUTO-GENERATED by "View Models" Xomega.Net generator.
//
// Manual CHANGES to this file WILL BE LOST when the code is regenerated.
//-----------------------------------------------... |
TensorShader/Snapshot.cs | tk-yoshimura/TensorShaderAVX | 0 | 7049480 | using System;
using System.Collections.Generic;
namespace TensorShader {
/// <summary>スナップショット</summary>
public class Snapshot{
private readonly Dictionary<string, (Shape shape, float[] state)> table;
/// <summary>状態テーブル</summary>
public IReadOnlyDictionary<string, (Shape shape, float[... |
Program.cs | openglfreak/osu-mouse2 | 0 | 7049481 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace osu_mouse2
{
static class Program
{
public const String PROCESS_NAME = "osu!.exe";
public static ProcessTracer tracer;
public static... |
Assets/Scripts/TargetMov.cs | koechslin/ProjetRV | 0 | 7049482 | <reponame>koechslin/ProjetRV<gh_stars>0
using UnityEngine;
using UnityEngine.UI;
public class TargetMov : MonoBehaviour
{
public Transform point1;
public Transform point2;
public float speed;
public float epsilonDistance;
public Toggle toggleMove;
public Transform defaultPosition;
... |
API/DataAccess/Migrations/20191218133844_facilitySpeedTypeChange.cs | jovasoft/JoEmpty.Api | 0 | 7049483 | using Microsoft.EntityFrameworkCore.Migrations;
namespace DataAccess.Migrations
{
public partial class facilitySpeedTypeChange : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<float>(
name: "Speed",
... |
RzChroma.Managed/Data/IData.cs | bengreenier-archive/overlights | 1 | 7049484 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RzChroma.Data
{
/// <summary>
/// Representation of
/// </summary>
public interface IData
{
/// <summary>
/// The type of data
/// </summary>
... |
src/SDKs/CognitiveServices/dataPlane/Language/LUIS/Programmatic/Generated/ModelExtensions.cs | juniwang/azure-sdk-for-net | 1 | 7049485 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
Assets/Game/Scripts/AudioCtrl.cs | TinyBitTurtle/TinyBitTarget | 0 | 7049486 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TinyBitTurtle.Core;
namespace TinyBitTurtle
{
public class AudioCtrl : SingletonMonoBehaviour<AudioCtrl>
{
private enum Direction
{
FadeIn,
FadeOut,
FadeMax
}
... |
Chapter 4/Domain/Password.cs | PacktPublishing/Learning-NHibernate-4 | 7 | 7049488 | <reponame>PacktPublishing/Learning-NHibernate-4
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain
{
public class Password
{
public string Hash { get; set; }
public bool IsActive { get; set; }
}
... |
CSharp/Decimal/MultyplyOpAndMethod.cs | piovezan/SOpt | 148 | 7049490 | using static System.Console;
public class Program {
public static void Main() {
WriteLine(decimal.Multiply(50.40M, 3));
WriteLine(50.40M * 3);
// WriteLine(decimal.Multiply(50.40, 3));
WriteLine(50.40 * 3);
WriteLine(decimal.Multiply(50, 3).GetType());
WriteLine((50 * 3).GetType());
// decimal x = 1_000_0... |
_no_namespace/MessagePackSerializer.CompiledMethods.MessagePackReaderDeserialize.cs | SinsofSloth/RF5-global-metadata | 1 | 7049491 | internal sealed class MessagePackSerializer.CompiledMethods.MessagePackReaderDeserialize : MulticastDelegate // TypeDefIndex: 5152
{
// Methods
// RVA: 0x14E9410 Offset: 0x14E9511 VA: 0x14E9410
public void .ctor(object object, IntPtr method) { }
// RVA: 0x14E9430 Offset: 0x14E9531 VA: 0x14E9430 Slot: 13
public v... |
Src/WebApp/Startup.cs | MassoudKargar/ideal-memory | 0 | 7049492 | namespace WebApp
{
using Autofac;
using Common;
using Common.Interfaces;
using Core.Configuration;
using Core.CustomMapping;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjectio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.