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 |
|---|---|---|---|---|
FixAntenna/NetCore/FixEngine/Transport/Server/Firewall/PassthroughConnectionListener.cs | epam/fix-antenna-net-core | 8 | 7047175 | <reponame>epam/fix-antenna-net-core<gh_stars>1-10
// Copyright (c) 2021 EPAM Systems
//
// 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
//
... |
ArkeCLR.Runtime/Streams/Stream.cs | Arke64/ArkeCLR | 0 | 7047176 | <reponame>Arke64/ArkeCLR
using ArkeCLR.Utilities;
namespace ArkeCLR.Runtime.Streams {
public abstract class Stream {
public string Name { get; }
protected Stream(string name) => this.Name = name;
public abstract void Initialize(ByteReader reader);
}
}
|
git-subdir-lib/StringUtil.cs | anatawa12/git-subdir-tools | 0 | 7047177 | <reponame>anatawa12/git-subdir-tools
using System;
namespace GitSubdirTools.Libs
{
public static class StringUtil
{
public static bool IsValidObjectId(this string str)
{
if (str.Length != 40)
return false;
foreach (var c in str)
{
... |
TechExpoWorld/Data/Models/Attendee.cs | boyandelchev/ASP.NET-Core-Project-Tech-Expo-World | 0 | 7047178 | namespace TechExpoWorld.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using static DataConstants.Attendee;
public class Attendee
{
public int Id { get; init; }
[Required]
[MaxLength(NameMaxLength)]
public string Name ... |
src/Pub/Infrastructure/Persistence/Entities/ProjectCollaboratorSuggestionEntity.cs | projectunic0rn/pub-api | 4 | 7047179 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Common.AppSettings;
using Common.Contracts;
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace Infrastructure.Persistence.Entities
{
... |
Backendless/WebORB/Util/TypeLoader.cs | Backendless/.NET-SDK | 18 | 7047180 | using System;
using System.IO;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using Weborb.Util.Logging;
using Weborb.Service;
namespace Weborb.Util
{
public class TypeLoader
{
private static Dictionary<String, Type> cachedTypes = new Dictionary<String, Typ... |
Plugins/ExtendedStandardLibrary/Source/LowEntryExtendedStandardLibrary/LowEntryExtendedStandardLibrary.Build.cs | darlai/UnrealGAMS | 7 | 7047181 | using System.IO;
namespace UnrealBuildTool.Rules
{
public class LowEntryExtendedStandardLibrary : ModuleRules
{
public LowEntryExtendedStandardLibrary(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.AddRange(
new ... |
VirtualRadar.Interface/Settings/PluginSettings.cs | sportcanon/vrs-mod | 9 | 7047182 | <filename>VirtualRadar.Interface/Settings/PluginSettings.cs<gh_stars>1-10
// Copyright © 2010 onwards, <NAME>
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistr... |
Views/Home/Prenota.cshtml | giacomolombardi2/lombardi.giacomo.5H.secondaweb | 0 | 7047183 | @model Lombardi.Giacomo._5h.SecondaWeb.Models.Prenotazione;
@{
ViewData["Title"] = "Prenota";
}
<html>
<head>
<title>Prenota</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
</he... |
cscore-master/CSCore/CoreAudioAPI/AudioSessionNotification.cs | noah4477/HardwareMixer | 2 | 7047184 | <filename>cscore-master/CSCore/CoreAudioAPI/AudioSessionNotification.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace CSCore.CoreAudioAPI
{
/// <summary>
/// The <see cref="AudioSessionNotification"/> object provides notif... |
Timeline Practice/Assets/ProCore/Polybrush/Code/Editor/Brush Modes/z_BrushModeSculpt.cs | UUGMorelia/TimeLinePractice | 209 | 7047185 | <reponame>UUGMorelia/TimeLinePractice
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
namespace Polybrush
{
/**
* Base class for brush modes that move vertices around. Implements an overlay preview.
*/
public abstract class z_BrushModeSculpt : z_BrushModeMesh
... |
Domain/RepositoryInterfaces/IImagesRepository.cs | marcvil/VideogameArtGallery | 0 | 7047186 | using Domain.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Domain.RepositoryInterfaces
{
public interface IImagesRepository : IRepository<Image>
{
Task<Image> GetAsync(int id);
Task<IEnumerable<Image>> GetByOrderAsync(int ... |
Scripts/MMOGame/UI/UIMmoCharacterList.cs | Limeless04/UnityMultiplayerARPG_MMO | 1 | 7047187 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using LiteNetLibManager;
namespace MultiplayerARPG.MMO
{
[RequireComponent(typeof(UICharacterSelectionManager))]
public class UIMmoCharacterList : UIBase
{
public UICharacter uiCharacterPrefab;
... |
Rsk.Samples.IdentityServer4.AdminUiIntegration/Views/Consent/_ScopeListItem.cshtml | RockSolidKnowledge/Samples.IdentityServer4.AdminUiIntegration | 59 | 7047188 | @model Rsk.Samples.IdentityServer4.AdminUiIntegration.Models.ScopeViewModel
<li class="form-checks__item">
<label class="form-checks__label">
<input class="form-checks__input"
type="checkbox"
name="ScopesConsented"
id="scopes_@Model.Value"
value="@Model.Value"
checked="@Model.Checked"... |
Exercises/Ex04-Inheritance/06-Animals/Validator.cs | VladimirKyuranov/CSharp-OOP-Basics | 0 | 7047189 | using System;
public class Validator
{
public static void Blank(string value)
{
if (string.IsNullOrWhiteSpace(value))
{
throw new ArgumentException("Invalid input!");
}
}
public static void NegativeAge(int age)
{
if (age < 0)
{
throw... |
DotNetAsm/ScopeBlockHandler.cs | informedcitizenry/z80DotNet | 1 | 7047190 | <reponame>informedcitizenry/z80DotNet
//-----------------------------------------------------------------------------
// Copyright (c) 2017-2019 informedcitizenry <<EMAIL>>
//
// Licensed under the MIT license. See LICENSE for full license information.
//
//------------------------------------------------------------... |
Sources/Linq2DynamoDb.DataContext/CreateTableArgs.cs | JoshuaHull/linq2dynamodb | 47 | 7047191 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Amazon.DynamoDBv2.Model;
using Linq2DynamoDb.DataContext.Utils;
namespace Linq2DynamoDb.DataContext
{
/// <summary>
/// Represents arguments for DataContext.CreateTableIfNotExists()... |
Completionist/MonsterSlayer/SlayerCount.cs | renedejong/Completionist | 0 | 7047192 | namespace Completionist.MonsterSlayer
{
/// <remarks>
/// 🤘
/// </remarks>
public class SlayerCount
{
public int Bats { get; set; }
public int CaveInsects { get; set; }
public int Duggies { get; set; }
public int DustSprites { get; set; }
public int ... |
Examples/InheritanceExample.cs | ryankueter/CSharpClassExamples | 0 | 7047193 | /*
* Author: <NAME>
* Copyright 2019 <NAME>.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Classes
{
public class InheritanceExample : Person
{
// You can pass to a base class constructor
public InheritanceEx... |
Graph.cs | AntonC9018/graphs | 0 | 7047194 | <gh_stars>0
using System.Collections.Generic;
namespace Graph
{
public class Node
{
public int[] connections;
public Node(int[] connections)
{
this.connections = connections;
}
}
public class Graph
{
private Node[] m_nodes;
public Node[... |
azure-examples/AzureStorage/BlobStorageService/BlobStorageService.cs | nerdsquirrel/azure-examples-dotnet | 2 | 7047195 | using System;
using System.IO;
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
namespace AzureStorage.BlobStorageService
{
// https://github.com/Azure/azure-sdk-for-net/tree/Azure.Storage.Blobs_12.6.0/sdk/storage/Azure.Storage.Blobs/samples
// https://docs.microsoft.... |
BigML/Helpers/Reflection.cs | mmerce/bigml-csharp | 12 | 7047196 | <reponame>mmerce/bigml-csharp<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
namespace BigML
{
public static class Reflection
{
/// <summary>
/// Compile lambda ... |
TrainingPreparation/ViewModels/MoviesViewModel.cs | FortechRomania/xamarin-training-sample-app | 0 | 7047197 | <gh_stars>0
using System;
using System.Collections.ObjectModel;
using GalaSoft.MvvmLight;
using TrainingPreparation.Services;
namespace TrainingPreparation.ViewModels
{
public class MoviesViewModel : ViewModelBase
{
private IMovieSearchService _movieSearchService;
public MoviesViewModel(IMovi... |
NetAbstractions/IO/File.cs | Moreault/NetAbstractions | 0 | 7047198 | namespace ToolBX.NetAbstractions.IO;
public interface IFile
{
IStreamReader OpenText(string path);
IStreamWriter CreateText(string path);
IStreamWriter AppendText(string path);
void CopyWithoutOverwriting(string sourceFileName, string destFileName);
void CopyAndOverwrite(string sourceFileName, str... |
Code/4cube.Bussiness/Config/IConfig.cs | coens97/4cube | 2 | 7047199 | <filename>Code/4cube.Bussiness/Config/IConfig.cs
using System;
using System.Collections.Generic;
using _4cube.Common;
using _4cube.Common.Components;
using _4cube.Common.Components.TrafficLight;
namespace _4cube.Bussiness.Config
{
public interface IConfig
{
int GridWidth { get; }
int GridHeigh... |
Bitshare.DataDecision.Web/Areas/System/Views/SysUser/Details.cshtml | Nocturnexol/ITMS | 0 | 7047200 | <filename>Bitshare.DataDecision.Web/Areas/System/Views/SysUser/Details.cshtml
@model Bitshare.DataDecision.Model.tblUser_Sys
@{
Layout = "~/Views/Shared/_Operate.cshtml";
}
@using (Html.BeginForm())
{
@Html.ValidationSummary(true)
<div style="border: 1px solid #CF9E9E; margin: 0px auto; width: 829px... |
Projectiles/Minions/VanillaClones/Spider.cs | TheBambino/tModLoader_Minions | 2 | 7047201 | <filename>Projectiles/Minions/VanillaClones/Spider.cs<gh_stars>1-10
using AmuletOfManyMinions.Projectiles.Minions.MinonBaseClasses;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using Terraria;
using Terraria.Audio;
using Terra... |
v3.1/Models/XsdConvert/genericRailML/TTrainEngine.cs | LightosLimited/RailML | 0 | 7047202 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... |
Src/DLiteAuthFrame/DLiteAuthFrame.APP/ViewModel/MenuViewModel.cs | HelloZhangzy/DLAuth | 0 | 7047203 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DLiteAuthFrame.APP.ViewModel
{
public class MenuViewModel: JQGridViewModel
{
public Guid MenuCode { get; set; }
public Guid ParentMenuCode { get; set; }
public ... |
Assets/GF_JustOneLevel/Scripts/Definition/Constant/Constant.Map.cs | mutouzdl/GF_JustOneLevel | 79 | 7047204 | using UnityEngine;
/// <summary>
/// 参考来源:https://github.com/EllanJiang/StarForce
/// </summary>
public static partial class Constant {
/// <summary>
/// 地图。
/// </summary>
public static class Map {
public const int MAX_X = 30;
public const int MAX_Z = 30;
}
} |
3-Asp.Net Core/ConsumeHerosApp/ConsumeHerosApp/Models/SuperVillain.cs | 201019-UiPath/training-code | 0 | 7047205 | <reponame>201019-UiPath/training-code<filename>3-Asp.Net Core/ConsumeHerosApp/ConsumeHerosApp/Models/SuperVillain.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsumeHerosApp.Models
{
class SuperVillain:SuperPerson
{
public List<SuperHero> Nemesis { get; s... |
PCAxis.Query/Serializers/ChangeDecimalsSerializer.cs | stefguggisberg/PxWeb | 0 | 7047206 | <reponame>stefguggisberg/PxWeb<filename>PCAxis.Query/Serializers/ChangeDecimalsSerializer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PCAxis.Paxiom.Operations;
namespace PCAxis.Query.Serializers
{
public class ChangeDecimalsSerializer : IOperationSerializer
{... |
Labs/lab_017_rabbit_database_explosion/Program.cs | TheEletricboy/2019-09-C-sharp-Labs | 0 | 7047207 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lab_017_rabbit_database_explosion
{
class Program
{
static List<Rabbit> rabbits;
static void Main(string[] args)
{
using (var db = ne... |
NKnife.Win.Forms/GroupboxPro/RadioGroupBox.cs | xknife-erian/nknife | 2 | 7047208 | using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
namespace NKnife.Win.Forms.GroupboxPro
{
/// <summary>
/// RadioGroupBox is a GroupBox with an embeded RadioButton.
/// </summary>
public partial class RadioGroupBox : G... |
Source/WinCopies.Collections.Shared/Generic/LinkedList.cs | pierresprim/WinCopies.Util | 1 | 7047209 | /* Copyright © <NAME>, 2020
*
* This file is part of the WinCopies Framework.
*
* The WinCopies Framework 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 3 of the License, or
* (at your ... |
src/ModelViewer/TextBoxTraceListener.cs | nohbdy/ffxivmodelviewer | 27 | 7047210 | <filename>src/ModelViewer/TextBoxTraceListener.cs
using System;
using System.Diagnostics;
using System.Windows.Forms;
/* From http://www.codeproject.com/KB/trace/TextBoxTraceListener.aspx
* By <NAME>
* MIT License
*
Copyright (c) 2007 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a... |
src/SpeakEasy.Specifications/Requests/PutRequestSpecs.cs | hhansell/SpeakEasy | 9 | 7047211 | <filename>src/SpeakEasy.Specifications/Requests/PutRequestSpecs.cs<gh_stars>1-10
using System.Net.Http;
using Machine.Fakes;
using Machine.Specifications;
using SpeakEasy.Requests;
namespace SpeakEasy.Specifications.Requests
{
[Subject(typeof(PutRequest))]
class PutRequestSpecs : WithFakes
{
static... |
Assets/GameLibrary/Abduction/Scripts/Data/ProjectileEventData.cs | ADM87/2DGameLibrary | 0 | 7047212 | <reponame>ADM87/2DGameLibrary
using Abduction.Systems.Projectiles;
using UnityEngine;
namespace Abduction.Data
{
public class ProjectileEventData
{
public string SenderTag { get; set; }
public Projectile ProjectileObj { get; set; }
public Sprite ProjectileSprite { get; set; ... |
src/ServiceComposer.AspNetCore.Endpoints.Tests/When_handling_request.cs | ServiceComposer/ServiceComposer.AspNetCore | 22 | 7047213 | <filename>src/ServiceComposer.AspNetCore.Endpoints.Tests/When_handling_request.cs
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json.Linq;
using ServiceComposer.AspNetCor... |
src/IVU.Http/Http/Headers/TransferCodingWithQualityHeaderValue.cs | flobecker/trudi-koala | 0 | 7047214 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace IVU.Http.Headers
{
public sealed class TransferCodingWithQualityHeaderValue : T... |
archive/Changesets/mbf-76446/V1/MBF/MBF.TestAutomation/SparseSequenceBvtTestCases.cs | jdm7dv/Microsoft-Biology-Foundation | 0 | 7047215 | <gh_stars>0
// *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMP... |
Demo/MonthPlan/Entities/View/WeekSummary.g.cs | zgynhqf/trunk | 0 | 7047216 | <reponame>zgynhqf/trunk<filename>Demo/MonthPlan/Entities/View/WeekSummary.g.cs<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// 本文件代码自动生成。用于实现强类型接口,方便应用层使用。
// 版本号:1.6.0
//
// 请勿修改,否则在重新生成时,所有修改会丢失。
// </auto-generated>
//-------------... |
hydrodatainfo/webservices/App_Code/GetValuesOD.cs | jirikadlec2/hydrodata | 0 | 7047217 | using System;
using System.Collections.Generic;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using WaterOneFlowImpl;
using WaterOneFlowImpl.v1... |
generator/AWSPSGeneratorLib/Utils/Loggers.cs | ajsing/aws-tools-for-powershell | 181 | 7047218 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace AWSPowerShellGenerator.Utils
{
/// <summary>
/// Log tracing and output for the generators
/// </summary>
internal class BasicLogger
{
public class Error
{
p... |
Source/CinemaOnline/Handler/Payment/Momo/MomoExtend.cs | Mokadev-vn/thuantv | 0 | 7047219 | using System;
using Newtonsoft.Json.Linq;
namespace CinemaOnline.Handler.Payment.Momo
{
public class MomoExtend
{
public static string GenUrlPay(string orderInfo, string returnUrl, string notifyUrl, string amount, string orderId)
{
//request params need to request to MoMo ... |
backup/Assets/Scripts/Shop/Shop.cs | hitnoodle/TGK-RPG | 2 | 7047220 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class Shop {
public string shopId;
public int sellValue;
public List<string> listSellItemId;
}
|
src/Hosting/AssemblyInfo.cs | pashcovich/More | 0 | 7047221 | using System;
using System.Reflection;
[assembly: AssemblyTitle( "More.UI.Hosting" )]
[assembly: AssemblyProduct( "More.UI.Hosting" )]
[assembly: AssemblyDescription( "The user interface hosting library for the \"More\" framework." )]
[assembly: AssemblyVersion( "1.4.0.0" )]
[assembly: AssemblyInformationalVersion( "1... |
src/Our.Umbraco.GraphQL.Forms/Types/StringKeyValuePairGraphType.cs | ProworksDevTeam/umbraco-graphql | 0 | 7047222 | <filename>src/Our.Umbraco.GraphQL.Forms/Types/StringKeyValuePairGraphType.cs<gh_stars>0
using GraphQL;
using GraphQL.Types;
using System.Collections.Generic;
namespace Our.Umbraco.GraphQL.Forms.Types
{
[GraphQLMetadata("StringKeyValuePair")]
public class StringKeyValuePairGraphType : ObjectGraphType<KeyValuePa... |
ResourceManifests/NotificationsSubscriptionResourceManifest.cs | Devqon/Orchard-CalendarWidget | 5 | 7047223 | using Orchard.Environment.Extensions;
using Orchard.UI.Resources;
namespace DQ.Scheduling.ResourceManifests
{
[OrchardFeature("DQ.SchedulingNotifications")]
public class NotificationsSubscriptionResourceManifest : IResourceManifestProvider {
public void BuildManifests(ResourceManifestBuilder builder) ... |
workers/unity/Packages/io.improbable.gdk.core/Worker/ConnectionHandlers/ConnectionFlowInitializers.cs | ezat90s/gdk-for-unity | 280 | 7047224 | <filename>workers/unity/Packages/io.improbable.gdk.core/Worker/ConnectionHandlers/ConnectionFlowInitializers.cs<gh_stars>100-1000
using System.Collections.Generic;
namespace Improbable.Gdk.Core
{
/// <summary>
/// Represents an object which can initialize a connection flow of a certain type.
/// </summ... |
Imagin.Common.WPF/ContentTemplateSelector.cs | OkumaScott/Imagin.NET | 0 | 7047225 | using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;
namespace Imagin.Common
{
/// <summary>
///
/// </summary>
public class ContentTemplateSelector : DataTemplateSelector
{
ObservableCollection<ContentTemplate> _templates;
/// <summary>
... |
CommunalPayments.Common/Reports/XslReportCreator.cs | poimenov/CommunalPayments | 0 | 7047226 | using CommunalPayments.Common.Interfaces;
using System.IO;
using System.Reflection;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.Xml.Xsl;
namespace CommunalPayments.Common.Reports
{
internal class XslReportCreator : ReportCreator
{
private ReportFormat _format;
... |
Object.Net.Utilities/Reflection/ReflectionUtils.cs | objectdotnet/Utilities | 4 | 7047227 | <gh_stars>1-10
/*
* @version : 2.5.0
* @author : Object.NET, Inc. http://object.net/
* @date : 2014-10-20
* @copyright : Copyright (c) 2008-2015, Object.NET, Inc. (http://object.net/). All rights reserved.
* @license : Apache License, Version 2.0, See LICENSE in root
* @website : http://obje... |
server/JSSoft.Crema.WindowsServiceHost/ServiceCommand.cs | s2quake/Ntreev.Crema | 0 | 7047228 | // Released under the MIT License.
//
// Copyright (c) 2018 Ntreev Soft co., Ltd.
// Copyright (c) 2020 <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, inclu... |
Presentation/Invenio.Web/Invenio.Web/Administration/Views/User/Edit.cshtml | ipetk0v/InvenioReportingSystem | 0 | 7047229 | @model UserModel
@{
//page title
ViewBag.Title = T("Admin.Users.Users.EditUserDetails").Text;
//active menu item (system name)
Html.SetActiveMenuItemSystemName("Users list");
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="content-header clearfix">
<h1 class="pull-l... |
src/RapidCMS.Core/Forms/EditContext.cs | JTOne123/RapidCMS | 0 | 7047230 | <reponame>JTOne123/RapidCMS
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using RapidCMS.Core.Abstractions.Data;
using RapidCMS.Core.Abstractions.Metadata;
using RapidCMS.Core.Enums;
using RapidCMS.Core.Extensions;
using RapidCMS.Core.Forms.Validation;
... |
Scripts/UI/UIRoomList.cs | insthync/unity-tbrpg-pun2 | 1 | 7047231 | <gh_stars>1-10
using RealtimeArena.Room;
using System.Threading.Tasks;
using UnityEngine;
namespace RealtimeArena.UI
{
public class UIRoomList : UIBase
{
public UIRoomListEntry entryPrefab;
public Transform entryContainer;
public UIRoomPassword uiRoomPassword;
private void OnE... |
src/BugLocalizationHybridApproach/Models.cs | seelprojects/JSS18 | 0 | 7047232 | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace BugLocalizationHybridApproach
{
[Serializable]
public class ProcessorListResult
{
public ProcessorListResult()
{
Results = new List<ProcessorResultKeyValue>();
}
[XmlArray... |
Assets/Ludum Dare 47/Scripts/IEnemy.cs | OmiyaGames/what-goes-around | 0 | 7047233 | <filename>Assets/Ludum Dare 47/Scripts/IEnemy.cs
using UnityEngine;
namespace LudumDare47
{
public interface IEnemy : IHit, IDestroyable
{
int Health
{
get;
}
int BaseScore
{
get;
}
int BasePower
{
get;
... |
GenDoc/Classes/DocTags/OverloadsTagReplacer.cs | metabench/jsgui-doc | 0 | 7047234 | using GenDoc.Classes.DocUtils;
using GenDoc.Classes.Env;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenDoc.Classes
{
class OverloadsTagReplacer
{
#region Public
// ------------------------------... |
ExamPrep-18-March-2018/DungeonsAndCodeWizards/Factories/ItemFactory.cs | SonicTheCat/CSharp-OOP-Basics | 3 | 7047235 | using System;
public class ItemFactory
{
public static Item CreateItem(string type)
{
switch (type)
{
case nameof(ArmorRepairKit):
return new ArmorRepairKit();
case nameof(HealthPotion):
return new HealthPotion();
case nameof... |
DiveTracker/Form1.Designer.cs | AndyPook/DiveTracker | 0 | 7047236 | <gh_stars>0
namespace DiveTracker
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources... |
DataAccessLayer/MealService.cs | salihzeki12000/PlanEatSave | 4 | 7047237 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using PlanEatSave.Exceptions;
using PlanEatSave.Models.MealModels;
namespace PlanEatSave.DataAceessLayer
{
public class MealServic... |
src/PipelinesServer/Program.cs | yaitde-x/multiplex-dotnet | 0 | 7047238 | using System;
using System.Buffers;
using System.IO.Pipelines;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace TcpEcho
{
class Program
{
private static bool _echo;
static async Task... |
src/Entities/HeartGemStuff/MultiDashHeartGem.cs | FlynnSC/CommunalHelper | 0 | 7047239 | using Celeste.Mod.Entities;
using Monocle;
using Microsoft.Xna.Framework;
using MonoMod.Utils;
using System;
using System.Reflection;
namespace Celeste.Mod.CommunalHelper.Entities {
class MultiDashHeartGem : HeartGem {
[CustomEvent("CommunalHelper/DemoCutscene/1",
"CommunalHelper/DemoCutscene... |
DotNetCqrsDemo.Web.Commands/Requests/Employees/CreateEmployeeRequest.cs | LambertW/DotNetCqrsDemo | 0 | 7047240 | <gh_stars>0
using DotNetCqrsDemo.Domain.ReadModel.Repositories.Interfaces;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DotNetCqrsDemo.Web.Commands.Requests.Employees
{
public class CreateEmployeeRequest
{
public int... |
Northwind.ServiceBase/Relations/RelationAttribute.cs | jdmartinez/Northwind | 0 | 7047241 | <filename>Northwind.ServiceBase/Relations/RelationAttribute.cs
#region Licencia
/*
Copyright 2013 <NAME>
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/lice... |
LeaguePackets/Game/263_S2C_AmmoUpdate.cs | microsoftv/LeaguePackets | 13 | 7047242 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace LeaguePackets.Game
{
public class S2C_AmmoUpdate : GamePacket // 0x107
{
public override GamePacketID ID => GamePacketID.S2C_AmmoUpdate;
public bool I... |
Tests/Client.Integration.Tests/Features/WeatherForecast/FetchWeatherForecastTests.cs | ApocDev/blazor-state | 0 | 7047243 | namespace TestApp.Client.Integration.Tests.Features.WeatherForecast
{
using BlazorState;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using Shouldly;
using System;
using System.Threading.Tasks;
using TestApp.Client.Features.WeatherForecast;
using TestApp.Client.Integration.Tests.Infra... |
Sendwithus/SendwithusClient/API/Helpers/BatchApiResponse.cs | sendwithus/sendwithus_csharp | 4 | 7047244 | <reponame>sendwithus/sendwithus_csharp
using Newtonsoft.Json;
namespace Sendwithus
{
/// <summary>
/// sendwithus BatchApiResponse class
/// </summary>
public class BatchApiResponse
{
public string path { get; set; }
public int status_code { get; set; }
public string method... |
Core/Core/Parser/Matchers/SetValue.cs | Blecki/RMUDReboot | 1 | 7047245 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RMUD
{
public partial class CommandFactory
{
public static CommandTokenMatcher SetValue(String Name, Object Value)
{
return new SetValue(Name, Value);
}
}
internal class... |
Spring Season/C#/C#OOP/05. OOPPrinciplesPartTwo/Shapes/Rectangle.cs | p3rf0rat0ra/Telerik | 0 | 7047246 | <gh_stars>0
namespace Shapes
{
public class Rectangle : Shape
{
// Constructors
public Rectangle(double width, double height)
:base(width,height)
{
}
// Methods
public override double CalculateSurface()
{
return this.Height * t... |
OneCodeTeam/WPF MVVM practice demo (CSWPFMVVMPractice)/[C#]-WPF MVVM practice demo (CSWPFMVVMPractice)/C#/CSWPFMVVMPractice/IntToBoolValueConverter.cs | zzgchina888/msdn-code-gallery-microsoft | 2 | 7047247 | <reponame>zzgchina888/msdn-code-gallery-microsoft
/****************************** Module Header ******************************\
* Module Name: <IntToBoolValueConverter.cs>
* Project: <CSWPFMVVMPractice>
* Copyright (c) Microsoft Corporation.
*
* As the name implies, this IntToBoolValueConverter class converts... |
Controllers/Heatmap/PaletteController.cs | ESA-Security-Group/ej2-aspnetmvc-samples | 0 | 7047248 | <filename>Controllers/Heatmap/PaletteController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EJ2MVCSampleBrowser.Models;
namespace EJ2MVCSampleBrowser.Controllers.Heatmap
{
public partial class HeatmapController : Controller
{
// G... |
RageLib.GTA5/Resources/PC/Clothes/Unknown_C_006.cs | carmineos/gta-toolkit | 9 | 7047249 | // Copyright © Neodymium, carmineos and contributors. See LICENSE.md in the repository root for more information.
using RageLib.Resources.Common;
using System;
using System.Numerics;
namespace RageLib.Resources.GTA5.PC.Clothes
{
public class Unknown_C_006 : ResourceSystemBlock
{
public override long B... |
BasketApi/BasketApi/Controllers/ItemsController.cs | JonQuxBurton/BasketApi | 0 | 7047250 | <reponame>JonQuxBurton/BasketApi
using BasketApi.Domain;
using BasketApi.Representations;
using Microsoft.AspNetCore.Mvc;
using System;
namespace BasketApi.Controllers
{
[Route("api/baskets/{basketId}/items")]
public class ItemsController : Controller
{
private readonly IBasketsRepository basketRe... |
modules/base/test/BaseManagement.Application.Tests/BaseManagement/BaseManagementApplicationTestModule.cs | burningmyself/microservice | 20 | 7047251 | <gh_stars>10-100
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;
namespace BaseManagement
{
[DependsOn(
typeof(BaseManagementApplicationModule),
typeof(BaseManagementDomainTestModule)
)]
public class BaseManagementApplicationTestModule : AbpModule
{
... |
LowVisibility/LowVisibility/Patch/HUD/CombatHUDStealthBarPipsPatches.cs | CMiSSioN/LowVisibility | 3 | 7047252 | <reponame>CMiSSioN/LowVisibility
using BattleTech;
using BattleTech.UI;
using Harmony;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using us.frostraptor.modUtils;
namespace LowVisibility.Patch {
class CombatHUDStealthBarPipsPatches {
[HarmonyPatch(typeof(Combat... |
archive/codeplex/JavApi Language Binding (W3C DOM Port)/org/w3c/dom/html/HTMLTableRowElement.cs | bastie/NetVampire | 1 | 7047254 | <reponame>bastie/NetVampire
/*
* Copyright (c) 1999 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de Recherche
* en Informatique et en Automatique, Keio University).
* All Rights Reserved. http://www.w3.org/Consortium/Legal/
*/
using System;
namespace org.w3c.dom.html
... |
src/indoo.tools/LookupEventArgs.cs | Treer/ip4 | 5 | 7047255 | <reponame>Treer/ip4
namespace indoo.tools {
using System;
using System.Collections.Generic;
using System.Text;
public class LookupEventArgs : EventArgs {
string _ipAddress;
string _consoleOutput;
bool _timedOut;
bool _skippedExternalIP;
bool _alway... |
src/SmartAnnotations/Attributes/Url/Generators/UrlAttributeGenerator.cs | fiseni/SmartAnnotations | 32 | 7047256 | using SmartAnnotations.Attributes.Validation;
using System;
using System.Collections.Generic;
using System.Text;
namespace SmartAnnotations.Attributes.Url
{
internal class UrlAttributeGenerator : IAttributeGenerator
{
private UrlAttributeGenerator() { }
internal static UrlAttributeGenerator In... |
src/netstandard2.0/TypeResolution/FakeChainElements/FakeDelegate.cs | grzesiek-galezowski/any | 10 | 7047257 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using TddXt.AnyExtensibility;
namespace TddXt.TypeResolution.FakeChainElements
{
public class FakeDelegate : IResolution
{
public bool AppliesTo(Type type)
{
return type.IsSubclassOf(typeof(Delegate));
}
... |
DSlide/DSlide/DataContainerFactory.cs | SciTechInspector/DSlide | 0 | 7047258 | <filename>DSlide/DSlide/DataContainerFactory.cs
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace DSlide
{
public class DataContainerFactory
{
publ... |
sdk/dotnet/S3/Inputs/BucketEncryptionConfigurationArgs.cs | AaronFriel/pulumi-aws-native | 29 | 7047259 | <reponame>AaronFriel/pulumi-aws-native
// *** 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 Pulum... |
tools/Antijank.Debugger/Debugging/CorDebug/CorDebugRegister.cs | iPherian/MnB2-Bannerlord-CommunityPatch | 97 | 7047260 | <gh_stars>10-100
namespace Antijank.Debugging {
public enum CorDebugRegister {
REGISTER_INSTRUCTION_POINTER,
REGISTER_STACK_POINTER,
REGISTER_FRAME_POINTER,
REGISTER_X86_EIP = 0,
REGISTER_X86_ESP,
REGISTER_X86_EBP,
REGISTER_X86_EAX,
REGISTER_X86_ECX,
REGISTER_X86_ED... |
Models/Values.cs | regharris/PROJECT4-regharris | 0 | 7047261 | <gh_stars>0
using System;
namespace ugh.Models
{
public class Values
{
public int id { get; set; }
public string productName { get; set; }
public string productCategory { get; set; }
public string productDescription { get; set; }
public string productImage { get; set; }
... |
Dev_RESTClient/RESTClient/RemoteCall.cs | caochunsheng/AutoOrderSystem | 1 | 7047262 | //云服务请求接口
//HEJS 创建,2016-04-24
/*
https://localhost:9443/caxa/get_task_list
https://localhost:9443/caxa/get_task?task_id=0Hck3KI5kEmJWh
https://localhost:9443/caxa/get_object_data?proc_id=E09E68C9-EEDA-4966-AA4D-DCCCE465074B&object_id=0Hck3KI5kEmJWh&flag=
https://localhost:9443/caxa/get_settings
https://localhost:944... |
HospitalManagementSystem/Models/Metadata/ReceptionistMD.cs | farhad-ariamaram/HospitalManagementSystemWeb | 0 | 7047263 | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace HospitalManagementSystem.Models.Metadata
{
public partial class ReceptionistMD
{
[ScaffoldColumn(false)]
public int Id { get; set; }
[Display(Name = "نام پذیرش")]
[DisplayName("نام پذیرش")]
... |
BumperEngineV1_InkSmith_Branch/Assets/BumperEngineV1/GameplayScripts/SplineCreator.cs | Emperor-Rampage/BumperEngine-IS-Branch | 0 | 7047264 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using BezierSolution;
[ExecuteInEditMode]
public class SplineCreator : MonoBehaviour {
[SerializeField]
private BezierSpline Spline;
[SerializeField]
private GameObject Prefab;
[SerializeField]
float Spacing... |
Blade/Request.cs | Badge-Money/Blade | 6 | 7047265 | <filename>Blade/Request.cs
using System.Text.Json.Serialization;
namespace Blade
{
/// <summary>
/// Provides methods and properties for making a standard request.
/// </summary>
public abstract class Request
{
/// <summary>
/// Gets or sets the secret.
/// </summary>
... |
Services/Models/Machine.cs | MathieuDR/ResourceCalculator | 0 | 7047266 | <filename>Services/Models/Machine.cs<gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace Services.Models {
public record Machine : Entity {
[Required]
public string Name { get; init; }
}
} |
SolutionAndProjects/SolutionAndProjects/Parser/XAMLFileParser.cs | RenePeuser/SolutionAndProjects | 0 | 7047267 | <reponame>RenePeuser/SolutionAndProjects
using System;
using System.Linq;
using System.Xml.Linq;
using SolutionAndProjects.Models;
using SolutionAndProjects.SpecificFileInfos;
namespace SolutionAndProjects.Parser
{
internal static class XAMLFileParser
{
public static XAMLFile Parse(XAMLFileInfo xamlFil... |
Ceeji.Imaging/WebPHelper.cs | ceeji/CeejiCommonLibrary | 4 | 7047268 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace Ceeji.Imaging {
/// <summary>
/// 提供对 WebP 格式的跨平台支持。
/// </summary>
public static class WebPHelper ... |
NetCore/WebApi/Ruotine.Api/Ruotine.Api/Imp/CompantRepository.cs | Rodifen/Dos | 0 | 7047269 | <reponame>Rodifen/Dos<gh_stars>0
using Microsoft.EntityFrameworkCore;
using Ruotine.Api;
using Ruotine.Domain.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ruotine.Services.lmp
{
public class CompantRepository : ICompantRepos... |
PlatformRacing3.Server/Game/Communication/Messages/Outgoing/Json/JsonEndGameOutgoingMessage.cs | CoralCOasa/PlatformRacing3 | 0 | 7047270 | using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json
{
internal sealed class JsonEndGameOutgoingMessage : JsonPacket
{
private protected override string InternalType => "endGame";
}
}
|
Certificates/ManagedCertificatesTests/UnitTest1.cs | mihaistancu/win32-crypto | 0 | 7047271 | using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using ManagedCertificates.Win32;
using ManagedCertificatesTests.Certificates;
using ManagedCertificatesTests.Servers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Or... |
Rebus/Retry/Simple/IFailed.cs | bog1978/Rebus | 0 | 7047272 | <filename>Rebus/Retry/Simple/IFailed.cs
using System;
using System.Collections.Generic;
namespace Rebus.Retry.Simple;
/// <summary>
/// Interface of the wrapper of a failed message
/// </summary>
public interface IFailed<out TMessage>
{
/// <summary>
/// Gets the message that failed
/// </summary>
TMe... |
MicroLite.Tests/TestEntities/MockDbConnectionWrapper.cs | TrevorPilley/MicroLite | 88 | 7047273 | namespace MicroLite.Tests.TestEntities
{
using System;
using System.Data;
using System.Data.Common;
internal sealed class MockDbConnectionWrapper : DbConnection
{
private readonly IDbConnection connection;
internal MockDbConnectionWrapper(IDbConnection connection)
{
... |
MDDPlatform.Domains.Application/Queries/Handlers/GetModelsAtSpecificLevelHandler.cs | adelvahdati/MDDPlatform.Domains | 0 | 7047274 | <filename>MDDPlatform.Domains.Application/Queries/Handlers/GetModelsAtSpecificLevelHandler.cs
using MDDPlatform.Domains.Application.DTO;
using MDDPlatform.Domains.Application.Repository;
using MDDPlatform.Messages.Queries;
namespace MDDPlatform.Domains.Application.Queries.Handlers{
public class GetModelsAtSpecific... |
UnitConsole/BytesIndexOf.cs | BigBigZBBing/GeneralK | 15 | 7047275 | using BenchmarkDotNet.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitConsole
{
public class BytesIndexOf
{
[Benchmark(Description = "IndexOf")]
public void IndexOf()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.