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 |
|---|---|---|---|---|
Project/Entities/Projeto.cs | nowlights/ClassCreator | 0 | 7068742 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Project.Entities
{
public class Projeto
{
public string Guid { get; set; }
public enum language
{
CSharp,
VB_NET
}
[RegularExpression(@"^[a-zà... |
TicketerApi/Controllers/TicketController.cs | hamyul/Ticketer | 0 | 7068743 | using Microsoft.AspNetCore.Mvc;
using Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TicketerApi.Data;
using TicketerApi.Services;
namespace TicketerApi.Controllers
{
public class TicketController : Controller
{
private IGenericDataService<Ticket> _dataServ... |
source/View/Converters/NetworkStatusToBrushConverter.cs | CVOSoftware/HttpHeadersViewer | 0 | 7068744 | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using HttpHeadersViewer.Helper;
namespace HttpHeadersViewer.View.Converters
{
public class NetworkStatusToBrushConverter : IValueConverter
{
public object Convert(object value, Type t... |
Database/Utilities.cs | artemgur/sem | 0 | 7068745 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Database
{
public static class Utilities
{
private static readonly string[] ProhibitedStrings = {";", "--", "/*", "*/"};
private static ... |
DirectN/DirectN/Generated/D3D11_1DDIARG_CREATEVIDEOPROCESSOR.cs | riQQ/DirectN | 1 | 7068746 | <gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d10umddi.h(3396,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D11_1DDIARG_CREATEVIDEOPROCESSOR
{
public D3D11_1DDI_HVIDEOPRO... |
e-PMSystem/Form1.cs | Rhealai/e-PMSytem | 0 | 7068747 | <filename>e-PMSystem/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using DealCamera;
using System.Diagnostics;
namespace MaterialManagement
{
public... |
SimpleCarSaleApp/SimpleCarSaleApp/DbIncijalizator.cs | Haris-Basic/Intership-November-2021 | 0 | 7068748 | <reponame>Haris-Basic/Intership-November-2021
using SimpleCarSaleApp.Data;
using SimpleCarSaleApp.EntityModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleCarSaleApp
{
public class DbIncijalizator
{
public static void Generate(Appli... |
DotNetAppSqlDb/Controllers/TodosController.cs | doddatpivotal/todo-dotnet-framework | 0 | 7068749 | <filename>DotNetAppSqlDb/Controllers/TodosController.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using DotNetAppSqlDb.Models;using System.Diagnostics;
namespace DotNetAppSqlDb.Controllers
{
... |
FAWS/Expedicao/interface-wms/Interfaces/Cadastrar.cs | LudmillaPerucci/Projeto-Integrado | 0 | 7068750 | using FAWS_WMS;
using FAWS_WMS.Telas;
using interface_wms.Classes;
using Interface_WMS_Expedicao.Classes;
using Interface_WMS_Expedicao.Interfaces;
using System;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace interface_wms
{
public partial class frmCadastrar : Form
{
publi... |
SoulNETLib.Common/Extension/IQueryableExtensions.cs | sawyl/JelaCoreLib | 0 | 7068751 | <gh_stars>0
using System.Linq.Expressions;
namespace SoulNETLib.Common.Extension
{
/// <summary>
/// Define extension methods for <see cref="IQueryable{T}"/>.
/// </summary>
public static class IQueryableExtensions
{
/// <summary>
/// Apply the Where-clause into <paramref name="sou... |
SharpChat.Common/Users/UserPermissions.cs | flashwave/sharp-chat | 4 | 7068752 | <gh_stars>1-10
using System;
namespace SharpChat.Users {
[Flags]
public enum UserPermissions : int {
KickUser = 0x00000001,
BanUser = 0x00000002,
SilenceUser = 0x00000004,
Broadcast = 0x00000008,
SetOwnNickname = 0x00000010,... |
src/Orchard.Web/Modules/Orchard.Tokens/Providers/TextTokens.cs | OrchardCMS/orchard | 0 | 7068753 | <filename>src/Orchard.Web/Modules/Orchard.Tokens/Providers/TextTokens.cs
using System;
using System.Linq;
using System.Web;
using Orchard.Localization;
namespace Orchard.Tokens.Providers {
public class TextTokens : ITokenProvider {
private static string[] _textChainableTokens;
public TextTokens() ... |
net472/OwinParadise/OwinParadise/CustomServer.cs | kanikaul-amazon/TestProjects | 3 | 7068754 | using Microsoft.Owin.Hosting;
using Owin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PortingParadise
{
using AppFunc = Func<IDictionary<string, object>, Task>;
class CustomServer
{
public class Program
{
... |
HelloCSharpUniverse/EasyConsoleFramework.Demo/Program.cs | r-mura/CSharpCodeAcademy | 0 | 7068755 | using System;
using EasyConsoleFramework;
namespace EasyConsoleFramework.Demo
{
internal class Program
{
static void Main(string[] args)
{
CLI cli = new CLI();
cli.SetApplicationName("EASY CONSOLE FRAMEWORK DEMO");
cli.AddAction("LEVEN", "Levenshtein dista... |
src/aspnetcore/test/Scorpio.AspNetCore.UI.Bootstrap.Tests/Scorpio/AspNetCore/TagHelpers/Button/ButtonGroupTagHelper_Tests.cs | project-scorpio/Scorpio | 11 | 7068756 | <filename>src/aspnetcore/test/Scorpio.AspNetCore.UI.Bootstrap.Tests/Scorpio/AspNetCore/TagHelpers/Button/ButtonGroupTagHelper_Tests.cs
using Shouldly;
using Xunit;
namespace Scorpio.AspNetCore.TagHelpers.Button
{
/// <summary>
///
/// </summary>
public class ButtonGroupTagHelper_Tests : AspNetCoreU... |
React-Demo-Final/Demo/Views/Home/Index.cshtml | JustinCoded/ReactJS_TS_MVC | 0 | 7068757 | <reponame>JustinCoded/ReactJS_TS_MVC
@model List<Demo.Models.Product>
@{
ViewBag.Title = "Products";
Layout = "../Shared/_Layout.cshtml";
}
<h2>Products</h2>
<div id="content"></div>
@section Scripts
{
<script>
MainProductPage.create("content", @Html.Raw(Json.Encode(Model)));
</script>
}
|
Sources/Engine/NeoAxis.Core/SoundSystem/SoundModes.cs | intensifier/NeoAxisEngine | 0 | 7068759 | <reponame>intensifier/NeoAxisEngine
// Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica.
using System;
using System.Collections.Generic;
using System.Text;
namespace NeoAxis
{
[Flags]
public enum SoundModes
{
Mode3D = 0x00000002,
Loop = 0x00000004,
Stream = 0x00000008... |
EllinghamScript/ExecutionContexts/MethodContext.cs | EllinghamTech/EllinghamScript | 1 | 7068760 | <reponame>EllinghamTech/EllinghamScript
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using EllinghamScript.Internal;
using EllinghamScript.Misc;
using EllinghamScript.Variables;
using EllinghamScript.Variables.Attributes;
namespace EllinghamScript.ExecutionContexts
{
... |
Zilon.Core/Zilon.Core/PersonModules/CombatStatsModule.cs | kreghek/Zilon_Roguelike | 16 | 7068761 | <reponame>kreghek/Zilon_Roguelike<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using Zilon.Core.Components;
using Zilon.Core.Persons;
using Zilon.Core.Schemes;
namespace Zilon.Core.PersonModules
{
/// <summary>
/// Базовая реализация набора навыков для боя.
/// </sum... |
Quark.Core/Responses/Identity/PermissionResponse.cs | Sathiyaraman-M/Endurance | 7 | 7068762 | namespace Quark.Core.Responses.Identity;
public class PermissionResponse
{
public string RoleId { get; set; }
public string RoleName { get; set; }
public List<RoleClaimResponse> RoleClaims { get; set; }
} |
Assets/_Project/Sources/Scripts/Behaviours/GameSerializationController.cs | wishfuldroplet/unity-worldofnumbers | 0 | 7068763 | using UnityEngine;
using System;
using System.Linq;
using System.Collections.Generic;
using WEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class GameSerializationController : CustomMonoBehaviour {
private GameData gameData = new GameData();
private SettingsData settingsData = new SettingsData();... |
Game/AI/Decks/SalamangreatExecutor.cs | IMJoyJ/windbot | 0 | 7068764 | <reponame>IMJoyJ/windbot
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YGOSharp.OCGWrapper.Enums;
namespace WindBot.Game.AI.Decks
{
[Deck("Salamangreat", "AI_Salamangreat")]
class SalamangreatExecutor : DefaultExecutor
{
bool foxyPopEnemySpe... |
Src/Draekien.CleanVerticalSlice.Common.Api/Filters/AddCorrelationIdHeaderParameter.cs | draekien/Draekien.CleanVerticalSlice.Common | 0 | 7068765 | <filename>Src/Draekien.CleanVerticalSlice.Common.Api/Filters/AddCorrelationIdHeaderParameter.cs
using System;
using System.Collections.Generic;
using Microsoft.OpenApi.Any;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace Draekien.CleanVerticalSlice.Common.Api.Filters
{
... |
Source/Atom.Game.Specifications/Story/Timeline Specifications/when_changing_the_relative_time_tick_of_an_owned_incident.cs | tivtag/Atom | 1 | 7068766 |
namespace Atom.Story.Specifications.TimelineSpecifications
{
using System.Collections.Generic;
using System.Linq;
using Atom.Collections;
using Machine.Specifications;
[Subject( typeof( Timeline ) )]
public class when_changing_the_relative_time_tick_of_an_owned_incident
{
static T... |
AbhsChinese.Admin/Views/XiaoAi/Add.cshtml | GuoQqizz/SmartChinese | 0 | 7068768 | @using System.Web.UI.WebControls
@using AbhsChinese.Domain.Dto.Response
@using System.Configuration
@model DtoMediaResourceAndObject
@{
ViewBag.PageTitle = "添加小艾变";
ViewBag.UploadUrl = ConfigurationManager.AppSettings["uploadUrl"];
}
@section Styles{
<style>
.input-key {
border: 1px do... |
Assets/Scripts/Installers/InputInstaller.cs | Sirius504/Tetris | 0 | 7068769 | <gh_stars>0
using Tetris.Signals;
using Tetris.View;
using Zenject;
namespace Tetris.Installers
{
public class InputInstaller : MonoInstaller
{
public override void InstallBindings()
{
SignalBusInstaller.Install(Container);
Container.BindInterfacesTo<GridInputTest>().As... |
C#-WebDeveloper-3.0/Advanced-C#-May-2016/Lab/ThereBeLab/Messages/InformationMessages.cs | sholev/SoftUni | 1 | 7068770 | <reponame>sholev/SoftUni
namespace ThereBeLab.Messages
{
public class InformationMessages
{
public const string ReadingData = "Reading data.";
public const string DoneReading = "Done reading data.";
public const string SuccessfullyReadEntry = "Successfully processed entry: ";
... |
src/GraphQL/Types/Scalars/SByteGraphType.cs | SebastianStehle/graphql-dotnet | 1 | 7068771 | <gh_stars>1-10
using GraphQL.Language.AST;
using GraphQL.Utilities;
namespace GraphQL.Types
{
/// <summary>
/// The SByte scalar graph type represents a signed 8-bit integer value.
/// By default <see cref="GraphTypeTypeRegistry"/> maps all <see cref="sbyte"/> .NET values to this scalar graph type.
///... |
MVC/Runtime/ViewLayoutOverwriter/ViewLayoutSelector.cs | tositeru/hinode | 0 | 7068772 | <reponame>tositeru/hinode<filename>MVC/Runtime/ViewLayoutOverwriter/ViewLayoutSelector.cs
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Assertions;
namespace Hinode.MVC
{
/// <summary>
///
/// </summary>
public class ViewLayoutSele... |
src/AzureConfiguration/TypeExtensions.cs | javier-alvarez/AzureStronglyTypedConfigs | 1 | 7068773 | namespace AzureStronglyTypedConfigs
{
using System;
using System.Collections;
public static class TypeExtensions
{
public static bool IsIEnumerable(this Type type)
{
foreach (Type iType in type.GetInterfaces())
{
if (iType == typeof(IEnumerable))... |
PKI/Enrollment/Policy/PolicyServerUrlFlagsEnum.cs | Crypt32/pkix.net | 16 | 7068774 | using System;
namespace PKI.Enrollment.Policy {
/// <summary>
/// The <strong>PolicyServerFlagsEnum</strong> enumeration contains certificate enrollment policy (CEP) server flags
/// </summary>
[Flags]
public enum PolicyServerUrlFlagsEnum {
/// <summary>
/// No flags are specified.
/// </summary>
None ... |
BRGAME/Assets/Devdog/InventoryPro/Scripts/Integration/plyGame/plyBlox/GetItemCategoryNameOfItemID.cs | PotentialGames/Cal-tEspa-l | 0 | 7068775 | #if PLY_GAME
using plyBloxKit;
using UnityEngine;
namespace Devdog.InventoryPro.Integration.plyGame.plyBlox
{
[plyBlock("Inventory Pro", "Items", "Get category name of itemID", BlockType.Variable, Order = 4, ShowName = "Get category name of item by ID",
ReturnValueString = "Return - category name (string... |
TitanFx.AspNetCore.Mvc.Templating/Templates/Helpers/Formats.cs | titan-fx/AspNetCore | 0 | 7068776 | <gh_stars>0
using System;
using System.Globalization;
using System.Threading;
using TitanFx.AspNetCore.Mvc.Templating.Utilities;
namespace TitanFx.AspNetCore.Mvc.Templating.Templates.Helpers
{
/// <summary>
/// A helper class for formatting <see cref="DateTime"/> values
/// </summary>
public static cl... |
Languages/Oilexer/Rules/LookAheadReductionType.cs | AlexanderMorou/OILexer | 0 | 7068778 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllenCopeland.Abstraction.Slf.Languages.Oilexer.Rules
{
public enum LookAheadReductionType
{
Uncalculated = -1,
None = 0,
/// <summary>
///... |
Mallet.BspEditor/Commands/Modification/SelectNone.cs | jspicer-code/mallet | 0 | 7068779 | using System.ComponentModel.Composition;
using System.Threading.Tasks;
using Mallet.BspEditor.Documents;
using Mallet.BspEditor.Modification;
using Mallet.BspEditor.Modification.Operations.Selection;
using Mallet.BspEditor.Primitives.MapObjects;
using Mallet.BspEditor.Properties;
using Mallet.Common.Shell.Commands;
usi... |
src/Arragro.Azure/ServiceManagement/Storage/BlobStorageManager.cs | Arragro/Arragro | 0 | 7068780 | <gh_stars>0
using Arragro.Azure.Models;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Arragro.Azure.ServiceManagement.Storage
{
public c... |
MadeInTheUSB.MCP2221.Library/Util/BitUtil.cs | fredericaltorres/MadeInTheUSB.MCP2221.NET | 0 | 7068781 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MadeInTheUSB
{
public class BitUtil
{
public static List<int> Pa... |
Consulting_Psychology_BetaVersion/Data/Consulting.Model/Client.cs | EmORz/Psychology-Consulting | 0 | 7068782 | using System;
using System.Collections.Generic;
using Consulting.Model.EntityBase;
namespace Consulting.Model
{
public class Client : EntityBase<int>
{
public Client()
{
this.Diagnoseses = new HashSet<Diagnoses>();
this.Fees = new HashSet<Fee>();
this.Medica... |
Assets/VitDeck/Validator/Rules/Component/VideoPlayerComponentRule.cs | VRHIKKY/VitDeck-for-vket | 17 | 7068783 | <reponame>VRHIKKY/VitDeck-for-vket
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
using VitDeck.Language;
namespace VitDeck.Validator
{
public class VideoPlayerComponentRule : ComponentBaseRule<UnityEngine.Video.VideoPlayer>
{
public VideoPlayerC... |
OpenTracker/Views/Capture/Design/CaptureDesignDialog.axaml.cs | Baertierchen/OpenTracker | 37 | 7068784 | <gh_stars>10-100
using Avalonia;
using Avalonia.Markup.Xaml;
using OpenTracker.Utils.Dialog;
namespace OpenTracker.Views.Capture.Design
{
public class CaptureDesignDialog : DialogWindowBase
{
public CaptureDesignDialog()
{
InitializeComponent();
#if DEBUG
this.AttachDevT... |
src/Services/Peanut.Services.DataServices/ICategoriesService.cs | eljunia/Peanut | 0 | 7068785 | using System.Collections.Generic;
using System.Text;
using Peanut.Services.Models.Categories;
namespace Peanut.Services.DataServices
{
public interface ICategoriesService
{
IEnumerable<CategoryIdAndNameViewModel> GetAll();
bool IsCategoryIdValid(int categoryId);
int? GetCategoryId(st... |
RewindMan/Assets/Scripts/PhysicsSystem02/Objects/CollidableObject.cs | kiskovi97/RewindMan | 1 | 7068786 | using UnityEngine;
using System.Collections;
using FixedPointy;
namespace FixPhysics
{
public delegate void ReactToCollideDelegate(Collision[] collisions);
public delegate void ReactNotToCollideDelegate();
[RequireComponent(typeof(FixCollider))]
public class CollidableObject : MonoBehaviour
{
... |
src/TT.Domain/Items/Queries/Leaderboard/DTOs/ItemLeaderboardItemDetail.cs | transformania/tt-game | 0 | 7068787 | using TT.Domain.Items.Entities;
namespace TT.Domain.Items.Queries.Leaderboard.DTOs
{
public class ItemLeaderboardItemDetail : BaseDTO<Item, int>
{
public int Level { get; set; }
public bool IsPermanent { get; set; }
public ItemLeaderboardPlayerDetail FormerPlayer { get; set; }
... |
Vostok.ClusterClient.Core/Misc/BugcheckException.cs | minya/clusterclient.core | 10 | 7068788 | using System;
namespace Vostok.Clusterclient.Core.Misc
{
internal class BugcheckException : Exception
{
public BugcheckException(string message)
: base(message)
{
}
}
} |
src/Form8.cs | Sanaxen/Data_analysis_tools | 6 | 7068789 | 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;
namespace WindowsFormsApplication1
{
public partial class Form8 : Form
{
public int exec... |
src/Machete.X12Schema/V5010/Layouts/T104.cs | ahives/Machete | 3 | 7068790 | namespace Machete.X12Schema.V5010
{
using X12;
public interface T104 :
X12Layout
{
Segment<GS> FunctionalGroupHeader { get; }
Segment<ST> TransactionSetHeader { get; }
Segment<N1> PartyIdentification { get; }
Segment<N2> AdditionalNameInfo... |
Jcd.BitManipulation/SetBitsExtensions.cs | jason-c-daniels/Jcd.BitManipulation | 1 | 7068791 | <filename>Jcd.BitManipulation/SetBitsExtensions.cs
namespace Jcd.BitManipulation
{
/// <summary>
/// Extension methods that aid in turning bits on in an integer data type.
/// </summary>
public static class SetBitsExtensions
{
#region Range of bits operations
/// <summary>
//... |
Client/YapperChat/EventMessages/NewMessageSavedEvent.cs | nrag/yapper | 1 | 7068792 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YapperChat.Models;
namespace YapperChat.EventMessages
{
class NewMessageSavedEvent
{
/// <summary>
/// The message that's saved.
/// </summary>
public MessageModel Message
... |
PetrpkuWeb.Client/Startup.cs | kaanlab/PetrpkuWeb | 0 | 7068794 | using Blazor.FileReader;
using Microsoft.AspNetCore.Components.Builder;
using Microsoft.Extensions.DependencyInjection;
using Blazored.LocalStorage;
using PetrpkuWeb.Client.Extensions;
using Microsoft.AspNetCore.Components.Authorization;
using MatBlazor;
using Ganss.XSS;
namespace PetrpkuWeb.Client
{
public class ... |
test/Calculator.Tests/ArithmeticTokenTests.cs | sad1y/Calculator | 0 | 7068795 | using System.Collections.Generic;
using Xunit;
namespace Calculator.Tests
{
public class ArithmeticTokenTests
{
[Theory, MemberData(nameof(GetParseTestData))]
void ParseTest(string statement, int position, ArithmeticToken expectedToken)
{
var token = ArithmeticToken.GetNext... |
DracoonSdk/SdkInternal/OAuth/OAuthClient.cs | shuebner20/dracoon-csharp-sdk | 0 | 7068796 | <filename>DracoonSdk/SdkInternal/OAuth/OAuthClient.cs
using Dracoon.Sdk.SdkInternal.ApiModel;
using Newtonsoft.Json;
using RestSharp;
using System;
using System.Net;
using static Dracoon.Sdk.SdkInternal.DracoonRequestExecuter;
namespace Dracoon.Sdk.SdkInternal.OAuth {
internal class OAuthClient {
private... |
Random_Scales/Random_Scales/Backend/modesTabPage.cs | AidanFray/ScaleGenerator-iOS_Andriod | 6 | 7068797 | <filename>Random_Scales/Random_Scales/Backend/modesTabPage.cs<gh_stars>1-10
using ScalesApp.Shared;
using CoreGraphics;
using Foundation;
using System;
using System.Collections.Generic;
using UIKit;
using System.Threading;
namespace ScalesApp
{
public partial class ModesTabPage : UIViewController
{
//... |
Org.BouncyCastle.Math.EC.Custom.Sec/SecP224K1Field.cs | smdx24/CPI-Source-Code | 8 | 7068798 | // SecP224K1Field
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Math.Raw;
internal class SecP224K1Field
{
private const uint P6 = uint.MaxValue;
private const uint PExt13 = uint.MaxValue;
private const uint PInv33 = 6803u;
internal static readonly uint[] P = new uint[7]
{
4294960493u,
4294967294u,
... |
Game/Assets/Scripts/ECS/Systems/PlayerSystem.cs | koderon/BattleCity | 0 | 7068799 | <reponame>koderon/BattleCity<gh_stars>0
using Morpeh;
using UnityEngine;
using Unity.IL2CPP.CompilerServices;
[Il2CppSetOption(Option.NullChecks, false)]
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
[CreateAssetMenu(menuName = "ECS/Systems/" + nameof(PlayerSys... |
Assets/Scripts/Bolt.cs | omerbselvi/space-shooter | 2 | 7068800 | <filename>Assets/Scripts/Bolt.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bolt : MonoBehaviour {
Rigidbody rbBolt;
public float speed;
private void Start() {
rbBolt = GetComponent<Rigidbody>();
rbBolt.velocity = transform.forward * speed... |
src/KaiHeiLa.Net.Core/Entities/Intimacies/IntimacyImage.cs | gehongyan/KaiHeiLa.Net | 4 | 7068801 | <reponame>gehongyan/KaiHeiLa.Net
namespace KaiHeiLa;
/// <summary>
/// Represents a single image of an intimacy.
/// </summary>
public class IntimacyImage
{
/// <summary>
/// Initializes a new instance of the <see cref="IntimacyImage" /> class.
/// </summary>
/// <param name="id">The ID of the ... |
Source/Testing/Manual/ErlangSSHTest/Program.cs | PavelTorgashov/nfx | 1 | 7068802 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading.Tasks;
using NFX;
using NFX.ApplicationModel;
using NFX.Erlang;
using NFX.SSH;
using NFX.SSH.PKI;
using NFX.SSH.SSH2;
//Start Erlang with para... |
src/Reportr/ReportSection.cs | SamLino/Reportr | 0 | 7068803 | <reponame>SamLino/Reportr
namespace Reportr
{
using Reportr.Components;
using System;
/// <summary>
/// Represents a single report section
/// </summary>
public class ReportSection
{
/// <summary>
/// Constructs the report section with the core details
/// </summary... |
Swouch/Assets/Plugins/Unity Essentials - SymLinks/Scripts/Data Options/Editor/UnityEssentialsPreferences.cs | usernameHed/Swouch | 0 | 7068804 | using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using unityEssentials.symbolicLinks.extensions.editor;
namespace unityEssentials.symbolicLinks.options
{
public static class UnityEssentialsPreferences
{
public const string SHORT_NAME_PREFERENCE = "SymLinks Tool";
public... |
TGC.Group/Model/Objetos/Objeto.cs | sebastianciancio/2017_2C_3572_Wilson | 0 | 7068805 | namespace TGC.Group.Model.Objetos
{
public abstract class Objeto
{
public string Nombre { get; set; }
public Objeto()
{
}
}
}
|
SWP391-OnlineLearning-Platform/Models/Slide.cs | dtd91/online_learning_SWP391 | 0 | 7068806 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace SWP391_OnlineLearning_Platform.Models
{
public class Slide
{
[Key]
... |
src/NuGetTrends.Data/Program.cs | alsami/nuget-trends | 0 | 7068807 | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace NuGetTrends.Data
{
public class Program
{
public IConfiguration Co... |
Applications/IGExtensions/IGExtensions.Framework/Transitions/SqueezeTransition.cs | mcavigelli/wpf-samples | 7 | 7068808 | using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animation;
using IGExtensions.Framework.Tools;
namespace IGExtensions.Framework.Transitions
{
public enum SqueezeTransitionDirection
{
Left,
Down,
Right,
Up
}
public class SqueezeTransition : ... |
VMFGeneration/EasyInputLayer.cs | 7ark/CSGO-VMF-Generator | 8 | 7068809 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Numerics;
using System.Text;
using VMFGenerator;
namespace VMFGenerator
{
public static class EasyInputLayer
{
public static void GetInput(out List<GenerationMethod> generationMethods, ou... |
Development/XFDraw/XFDraw/xfperformance.cs | theproadam/XFDraw | 1 | 7068811 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using xfcore.Buffers;
using xfcore.Extras;
using xfcore.Shaders;
namespace xfcore.Performance
{
public unsafe static class GLFast
{
[... |
Toaster.Connection/Events.cs | fikret0/Toaster | 0 | 7068812 | using System;
using System.Collections.Generic;
using System.Text;
namespace Toaster.Connection
{
public class HileBulunduEventArgs : EventArgs
{
public HileBulunduEventArgs(Hile message)
{
Hile = message;
}
public Hile Hile { get; set; }
}
}
|
StandaloneJsonValidator/JSONOption.cs | SchemaStore/json-validator | 13 | 7068814 | <reponame>SchemaStore/json-validator<gh_stars>10-100
namespace StandaloneJsonValidator
{
public class JSONOption
{
public string DisplayText { get; set; }
public string Type { get; set; }
public string InsertionText { get; set; }
}
} |
src/Plaid/Entity/PhoneNumber.cs | coolhome/Going.Plaid | 25 | 7068815 | <filename>src/Plaid/Entity/PhoneNumber.cs<gh_stars>10-100
namespace Going.Plaid.Entity;
/// <summary>
/// <para>A phone number</para>
/// </summary>
public record PhoneNumber
{
/// <summary>
/// <para>The phone number.</para>
/// </summary>
[JsonPropertyName("data")]
public string Data { get; init; } = default!;
... |
CliParser/CliOptionAttribute.cs | jfhr/net-cli-parser | 0 | 7068816 | using System;
namespace Jfhr.NetCliParser
{
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class CliOptionAttribute : Attribute
{
/// <summary>
/// Indicates that a property should be set from command line arguments.
/// The type... |
Photon Server/src-server/Photon.Common/Authentication/Data/ClientAuthenticationType.cs | swDill/PacManProject | 0 | 7068817 |
namespace Photon.Common.Authentication.Data
{
public enum ClientAuthenticationType : byte
{
Custom = 0,
Steam = 1,
Facebook = 2,
Oculus = 3,
PlayStation = 4,
Xbox = 5,
PlayerIo = 8,
Jwt = 9,
Viveport = 10,
Nintendo = 11,
P... |
GW2Api.NET/Helpers/ParamMapExt.cs | RyanClementsHax/GW2Api.NET | 2 | 7068818 | using GW2Api.NET.V2.Tokens;
using System;
using System.Collections.Generic;
using System.Linq;
namespace GW2Api.NET.Helpers
{
internal static class ParamMapExt
{
internal static IDictionary<string, string> TryAddSchemaVersion(this IDictionary<string, string> paramMap, string schemaVersion)
... |
ref/BlowFish/BlowFish/BlowFish.cs | Elskom/runtime | 1 | 7068819 | <reponame>Elskom/runtime
// Copyright (c) 2018-2022, Els_kom org.
// https://github.com/Elskom/
// All rights reserved.
// license: MIT, see LICENSE for more details.
namespace Elskom.Generic.Libs;
/// <summary>
/// Blowfish encryption class.
/// </summary>
public sealed class BlowFish : IDisposable
{
... |
SmartDeviceLink.Net.UnitTests/Transport/PacketParserTests.cs | gufi/SmartDeviceLink.Net | 1 | 7068820 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using SmartDeviceLink.Net.Protocol;
using SmartDeviceLink.Net.Protocol.Enums;
using SmartDeviceLink.Net.Protocol.Models;
using SmartDeviceLink.Net.Transport;
using SmartDeviceLink.... |
FuelRadar/FuelRadar/Data/FavouriteStationData.cs | lukoerfer/fuelradar | 0 | 7068821 | using System;
using SQLite;
using FuelRadar.Model;
namespace FuelRadar.Data
{
/// <summary>
/// The favourite gas station data structure for the database
/// </summary>
[Table(DbConstants.FavoriteStationsTable)]
public class FavouriteStationData
{
[Column(DbConstants.FavoriteStation... |
src/EA.Weee.Web/Views/Errors/QuarterClosed.cshtml | uk-gov-mirror/defra.prsd-weee | 2 | 7068822 | @{
Page.Title = "Reporting Window Closed";
}
<h1 class="govuk-heading-l">@Page.Title</h1>
<p>Sorry, the reporting window for this quarter has closed.</p>
<p>
<a href="@Url.Action("ErrorRedirect", "Errors", new { area = ""})" class="govuk-button">Continue</a>
</p>
|
FX.Core.Common/Extensions/DateTimeExtensions.cs | marianfx/fx-core | 0 | 7068823 | using System;
namespace FX.Core.Common.Extensions
{
public static class DateTimeExtensions
{
/// <summary>
/// Returns the quarter corresponding to the date
/// </summary>
/// <param name="d"></param>
/// <returns></returns>
public static int GetQuarter(this Dat... |
Samples/Unity/PlayFabCommerce/Assets/Scripts/PlayFabCommerceManager.cs | yazhenchua/PlayFab-Samples | 160 | 7068824 | using System.Collections.Generic;
using PlayFab.ClientModels;
using UnityEngine;
using UnityEngine.Purchasing;
using PlayFab;
using PlayFab.Json;
using System;
// Used by the UI to display the catalog items
public interface ICatalogItem
{
string Id { get; }
string DisplayName { get; }
string CostString { ... |
Assets/Scripts/Game/Player/AcrobatMotor.cs | lucianposton/daggerfall-unity | 1 | 7068825 | using UnityEngine;
namespace DaggerfallWorkshop.Game
{
[RequireComponent(typeof(PlayerMotor))]
[RequireComponent(typeof(CharacterController))]
public class AcrobatMotor : MonoBehaviour
{
public float jumpSpeed = 8.0f;
public float gravity = 20.0f;
public float crouchingJumpDelta... |
DiscUtils.Core/ReparsePoint.cs | Ciastex/DiscUtils-vddcore | 0 | 7068826 | namespace DiscUtils.Core
{
/// <summary>
/// Represents a Reparse Point, which can be associated with a file or directory.
/// </summary>
public sealed class ReparsePoint
{
/// <summary>
/// Initializes a new instance of the ReparsePoint class.
/// </summary>
/// <par... |
Views/DataEditionWindow.xaml.cs | sedris4/RecruitmentWpfApp | 0 | 7068827 | <gh_stars>0
using RecruitmentWpfApp.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.W... |
DBCourseEmployees/Form1.cs | vorotnikov-np/TradeFirm | 0 | 7068828 | <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;
using System.Security.Cryptography;
namespace DBCourseEmployees
{
... |
PluginManager.Console/Extensions/HttpResponseMessageExtension.cs | amelspahic/plugin-manager | 0 | 7068829 | <filename>PluginManager.Console/Extensions/HttpResponseMessageExtension.cs
using Newtonsoft.Json;
using PluginManager.Console.Extensions;
using PluginManager.Console.Resources;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Thr... |
2009/SurfaceTwitter/SurfaceTwitterTest/TwitterServiceTests.cs | jairomh17/Samples | 88 | 7068830 | <filename>2009/SurfaceTwitter/SurfaceTwitterTest/TwitterServiceTests.cs
using System;
using System.Net;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SurfaceTwitter.Services;
using System.Security.Authentication;
using SurfaceTwitter.M... |
sdk/dotnet/DLP/V2/Outputs/GooglePrivacyDlpV2LDiversityResultResponse.cs | AaronFriel/pulumi-google-native | 44 | 7068831 | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Goog... |
PromptPlus/Objects/ControlLog.cs | FRACerqueira/PromptPlus | 5 | 7068832 | // ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************
using System;
using System.Col... |
desktop/Unity/Assets/AltUnityTester/AltUnityServer/Commands/InputActions/AltUnitySetMultipointSwipeChainCommand.cs | geodreamalpha/geodreamalpha | 0 | 7068833 | <gh_stars>0
using Newtonsoft.Json;
namespace Assets.AltUnityTester.AltUnityServer.Commands
{
public class AltUnitySetMultipointSwipeChainCommand : AltUnityCommand
{
readonly UnityEngine.Vector2[] positions;
readonly string duration;
public AltUnitySetMultipointSwipeChainComm... |
Rant/Engine/Block.cs | esaul/Rant | 1 | 7068834 | using System;
using System.Collections.Generic;
using System.Linq;
using Rant.Compiler;
using Rant.Stringes.Tokens;
namespace Rant
{
internal class Block
{
private readonly Tuple<double, IEnumerable<Token<R>>>[] _items;
public readonly double WeightTotal;
private Block(IEnumerable<I... |
Sources/Steepshot/Steepshot.iOS/Views/PreLoginViewController.designer.cs | pmartynov/steepshot-mobile | 17 | 7068835 | // WARNING
//
// This file has been generated automatically by Visual Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
using System.CodeDom.Compiler;
namespace Steepshot.iOS.Views
{
[R... |
Creation Sandbox/Assets/Scripts/SceneManagement/DataManager.cs | Bhaskers-Blu-Org1/vr-speech-sandbox-vive | 92 | 7068836 | <reponame>Bhaskers-Blu-Org1/vr-speech-sandbox-vive
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections.Generic;
using System.Runtime.Serialization.Formatters.Binary;
using System.Xml.Serialization;
using System.IO;
using System;
public class DataManager : MonoBehaviour {
public static ... |
Tauron.Application.Wpf/Model/UIProperty.cs | augustoproiete-bot/Project-Manager-Akka | 0 | 7068837 | using System;
using System.Diagnostics.CodeAnalysis;
using Functional.Maybe;
using JetBrains.Annotations;
namespace Tauron.Application.Wpf.Model
{
[PublicAPI]
#pragma warning disable CS0660 // Typ definiert Operator == oder Operator !=, überschreibt jedoch nicht Object.Equals(Objekt o)
#pragma warning dis... |
LogInspect.Models/INameSpaceDictionary.cs | dfgs/LogInspect | 0 | 7068838 | <reponame>dfgs/LogInspect
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LogInspect.Models
{
public interface INameSpaceDictionary<T>
{
int Count
{
get;
}
T GetItem(string Name);
T GetItem(string DefaultNameSpace, string Na... |
DotNet/DotNet/UE4/Generated/PhysXVehicles/VehicleGearData.cs | UE4DotNet/Plugin | 2 | 7068839 | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE4.PhysXVehicles... |
test/TypeKitchen.Tests/LateBindingStrategy.cs | blowdart-inc/type-kitchen | 16 | 7068840 | <reponame>blowdart-inc/type-kitchen<filename>test/TypeKitchen.Tests/LateBindingStrategy.cs
// Copyright (c) <NAME> & Contributors. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace TypeKitchen.Tests
{
public enum LateBinding... |
Source/UwpMvc/Mvc/Wrappers/SizeChangedEventArgsWrapper.cs | averrunci/UwpMvc | 3 | 7068841 | <filename>Source/UwpMvc/Mvc/Wrappers/SizeChangedEventArgsWrapper.cs
// Copyright (C) 2018 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using Windows.Foundation;
using Windows.UI.Xaml;
namespace Charites.Windows.Mvc.Wrappers
{
... |
BreakTimer/Extensions/IntExtensions.cs | Pattrigue/BreakTimer | 0 | 7068842 | namespace BreakTimer.Extensions
{
public static class IntExtensions
{
public static string ToTimestamp(this int totalSeconds)
{
int seconds = totalSeconds % 60;
int minutes = totalSeconds / 60;
return $"{minutes:00}:{seconds:00}";
}
public s... |
unity/RNIntegration/unity/RNIntegration/Assets/Plugins/ReactNative/Source/Editor/Reinforced.Typings/Fluent/MemberBuilders/MemberExportBuilder.Property.cs | gogiel/react-native-unity-view | 422 | 7068843 | <reponame>gogiel/react-native-unity-view
using System.Reflection;
using Reinforced.Typings.Attributes;
// ReSharper disable CheckNamespace
namespace Reinforced.Typings.Fluent
{
/// <summary>
/// Fluent export configuration builder for property or field
/// </summary>
public class PropertyExportBuilder... |
PuullUpsTrainigManager/BusinessLogic/Results.cs | AK-74M89/PuullUpsTrainigManager | 1 | 7068844 | <reponame>AK-74M89/PuullUpsTrainigManager
using PuullUpsTrainigManager.DataSource;
using System;
using System.Collections.Generic;
using System.Data.SQLite;
namespace PuullUpsTrainigManager.BusinessLogic
{
class Results
{
public void AddResult(int Result, DateTime Date, int UserId)
{... |
ElearnerApi.Data/Models/LearningObject.cs | joshuakaluba/ElearnerApi | 1 | 7068845 | using Newtonsoft.Json;
using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;
namespace ElearnerApi.Data.Models
{
[DataContract]
public class LearningObject : EntityBase
{
[DataMember]
[XmlAttribute( AttributeName = "LearningTask" )]
[JsonProperty( "learn... |
Source/Adobe.Target.Delivery/Client/OpenAPIDateConverter.cs | adobe/target-dotnet-sdk | 1 | 7068846 | <reponame>adobe/target-dotnet-sdk
// <auto-generated/>
/*
* Copyright 2021 Adobe. All rights reserved.
* This file is licensed to you 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.... |
App/Logic/Provider.cs | And42/KeyboardRemapper | 3 | 7068847 | <reponame>And42/KeyboardRemapper<gh_stars>1-10
using App.Interfaces.Logic;
using Autofac;
using JetBrains.Annotations;
namespace App.Logic
{
public class Provider<T> : IProvider<T>
{
[NotNull]
private readonly ILifetimeScope _lifetimeScope;
public Provider([NotNull] ILifetimeScope lif... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.