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 |
|---|---|---|---|---|
Mayfly/Services/HelpService.cs | Kerillian/Mayfly | 4 | 7058507 | using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Mayfly.Attributes;
namespace Mayfly.Services
{
public class HelpService
{
private readonly IServiceProvider provider;
private readonly CommandService co... |
10.DATA TYPES AND VARIABLES - EXERCISES/FastPrimeChecker/StartUp.cs | KonstantinRupchanski/techModule-techFund-progFund-Exercises | 0 | 7058508 | namespace FastPrimeChecker
{
using System;
public class StartUp
{
public static void Main()
{
uint numToCheck = uint.Parse(Console.ReadLine());
for (int i = 2; i <= numToCheck; i++)
{
bool trueOrFalse = true;
for (int j = 2... |
src/Payment/Core.DomainModel/PaymentReceivedEvent.cs | cykelbud/lrms | 0 | 7058509 | <filename>src/Payment/Core.DomainModel/PaymentReceivedEvent.cs
using System;
using EventFlow.Aggregates;
namespace Payment.Core.DomainModel
{
public class PaymentReceivedEvent : AggregateEvent<PaymentAggregate, PaymentId>
{
public Guid InvoiceId { get; }
public DateTime ReceivedDate { get; }
... |
src/VaultSharp/V1/SystemBackend/Enterprise/RGPPolicy.cs | ictari/VaultSharp | 361 | 7058510 | <gh_stars>100-1000
namespace VaultSharp.V1.SystemBackend.Enterprise
{
/// <summary>
/// Represents a Vault RGP Policy entity.
/// </summary>
public class RGPPolicy : AbstractGPPolicyBase
{
}
} |
Pc-parts-master/Entities/Classes/Module.cs | StefanijaS/Pc-Parts-C-Console-Application | 0 | 7058511 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities
{
public class Module : Item
{
public ModuleType Type { get; set; }
public List<Part> Parts { get; private set; }
public Module()
{
... |
DBEXAM/Databases-and-sql-description/DbExam/DbExam.Data/Migrations/201611081911277_fractions.cs | shakuu/Exams | 0 | 7058512 | namespace DbExam.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class fractions : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.Planets", "FractionId", "dbo.Fractions");
DropIndex("dbo.Planets", new[] { "Fr... |
src/BoatTrackerBot/Utils/TimeSpanExtensions.cs | CrewNerd/BoatTracker | 1 | 7058513 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BoatTracker.Bot.Utils
{
public static class TimeSpanExtensions
{
public static string ToDisplayString(this TimeSpan timeSpan)
{
StringBuilder sb = new StringBuilder();
if (t... |
Usb.Hid.Connection/Win32Api/DiGetClassFlags.cs | bobhelander/UsbControllers | 8 | 7058514 | using System;
namespace Usb.Hid.Connection.Win32Api
{
/// <summary>
/// Defines the constraints to retrieve device classes.
/// </summary>
[Flags]
public enum DiGetClassFlags : uint
{
/// <summary>
/// No specification provided.
/// </summary>
None = 0,
... |
NHS111/NHS111.Web/Views/Outcome/SP_Pharmacy.cshtml | NHS111Online/nhs111-online | 7 | 7058515 | <filename>NHS111/NHS111.Web/Views/Outcome/SP_Pharmacy.cshtml
@using NHS111.Models.Models.Web
@inherits NHS111.Web.Views.Shared.SurveyLinkView<OutcomeViewModel>
@{
Layout = "~/Views/Shared/_LayoutNhsUK.cshtml";
}
@section Title { NHS 111 - See a Pharmacist }
@section HeadTop {
@{ var url = string.Format("/out... |
src/tests/graphql-aspnet-tests/Lexing/Helpers/SourceTextTestPredicates.cs | NET1211/aspnet-archive-tools | 22 | 7058516 | <gh_stars>10-100
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.AspNet.Test... |
hashstream.bitcoin-lib/P2P/Commands/Ping.cs | hashstream/bitcoin-lib | 2 | 7058517 | <filename>hashstream.bitcoin-lib/P2P/Commands/Ping.cs<gh_stars>1-10
using System;
namespace hashstream.bitcoin_lib.P2P
{
public class Ping : IStreamable, ICommand
{
public UInt64 Nonce { get; set; }
public string Command => "ping";
public int Size => StaticSize;
public stati... |
src/go-src-converted/cmd/vendor/github.com/google/pprof/internal/symbolz/symbolz.cs | rgwood/go2cs | 249 | 7058518 | // Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
src/MyTested.AspNetCore.Mvc.Abstractions/Internal/Http/HttpContextMock.cs | vmmarko/MyTested.AspNetCore.Mvc | 0 | 7058519 | <gh_stars>0
namespace MyTested.AspNetCore.Mvc.Internal.Http
{
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Http.Internal;
using Utilities.Validators;
/// <summary>
/// Mock of HTTP context.
/// </summary>
public class HttpContext... |
CMS/CMSModules/Automation/Controls/Process/Edit.ascx.designer.cs | mzhokh/FilterByCategoryWidget | 26 | 7058520 | <reponame>mzhokh/FilterByCategoryWidget
//------------------------------------------------------------------------------
// <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>
//... |
SlimDHT/RoutingProcess.cs | kenkendk/slimdht | 0 | 7058521 | using System;
using CoCoL;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace SlimDHT
{
/// <summary>
/// The operations supported by the routing table
/// </summary>
public enum RoutingOperation
{
/// <summary>
/// Look for keys in the table
... |
Core.Collectors/IO/SplitAzureBlobRecordWriter.cs | zedy-wj/CEDAR.Core.Collector | 11 | 7058522 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.CloudMine.Core.Collectors.Context;
using Microsoft.CloudMine.Core.Collectors.Error;
using Microsoft.CloudMine.Core.Collectors.Telemetry;
using Microsoft.CloudMine.Core.Collectors.Utility;
using Microsoft.WindowsAzure.Storage.Bl... |
src/services/endpoints/Abacuza.Endpoints.ApiService/Controllers/EndpointsController.cs | mlnethub/abacuza | 18 | 7058523 | <filename>src/services/endpoints/Abacuza.Endpoints.ApiService/Controllers/EndpointsController.cs
using Abacuza.Endpoints.ApiService.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using Syste... |
OfflineSync/OfflineSync.DomainModel/Utilities/ISyncAPIUtility.cs | ShekharReddy4/OfflineSync | 1 | 7058524 | using System.Threading.Tasks;
namespace OfflineSync.DomainModel.Utilities
{
public interface ISyncAPIUtility
{
Task<T> Get<T>(string route);
Task<U> Post<T, U>(T data, string route);
}
} |
com.beatwaves.responsible/Runtime/Utilities/SchedulerExtensions.cs | sbergen/Responsible | 37 | 7058525 | <filename>com.beatwaves.responsible/Runtime/Utilities/SchedulerExtensions.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Responsible.Utilities
{
internal static class SchedulerExtensions
{
public static async Task<T> PollForCondition<T>(
this ITestScheduler scheduler,
Func<T... |
src/TestingSupport.FluentAssertions/StringAssertionExtensions.cs | mrploch/ploch-common | 0 | 7058526 | using System;
using System.Collections.Generic;
using System.Linq;
using Ardalis.GuardClauses;
using FluentAssertions;
using FluentAssertions.Execution;
using FluentAssertions.Primitives;
namespace Ploch.TestingSupport.FluentAssertions
{
public static class StringAssertionExtensions
{
public static An... |
OldBoardGamesNeedLoveToo/OldBoardGamesNeedLoveToo.Web/App_Start/Factories/ICustomPresenterFactory.cs | TheFTeam/OldBoardGamesNeedLoveToo | 0 | 7058527 | <reponame>TheFTeam/OldBoardGamesNeedLoveToo
using System;
using WebFormsMvp;
namespace OldBoardGamesNeedLoveToo.Web.App_Start.Factories
{
/// <summary>
/// Custom Presenter Factory Interface set by Shakuu - https://github.com/shakuu
/// </summary>
public interface ICustomPresenterFactory
{
... |
KeyboardSwitch.Settings.Core/ViewModels/MainViewModel.cs | TolikPylypchuk/KeyboardSwitch | 22 | 7058528 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using DynamicData;
using KeyboardSwitch.Core;
using KeyboardSwitch.Core.Services.Layout;
using KeyboardSwitch.Core.Services.Startup;
using KeyboardSwitch.Core.Settings;
using KeyboardSwitch.Settings.C... |
Source/ArcLogistics/Services/UserServiceConfig.cs | ValueCreation/RoutePlanner | 17 | 7058529 | /*
| Version 10.1.84
| Copyright 2013 Esri
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law o... |
src/NeoSharp.Core/DI/Modules/BlockchainModule.cs | wy/neo-sharp | 0 | 7058530 | using NeoSharp.Core.Blockchain;
using NeoSharp.Core.Blockchain.Processors;
using NeoSharp.Core.Blockchain.State;
using NeoSharp.Core.Models;
namespace NeoSharp.Core.DI.Modules
{
public class BlockchainModule : IModule
{
public void Register(IContainerBuilder containerBuilder)
{
con... |
BingoWS/BingoWS/Entities/Cartela.cs | SergioAlvesPena/BingoWebService | 0 | 7058532 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BingoWS.Entities
{
public class Cartela
{
public Guid Id { get; set; }
public List<List<int>> CartelaDeNumeros { get; set; }
public bool Jogando { get; set; }
public void... |
src/Newbe.ObjectVisitor/Newbe.ObjectVisitor/Core/IOvBuilderContext.cs | Memoyu/Newbe.ObjectVisitor | 98 | 7058533 | using System.Collections.Generic;
namespace Newbe.ObjectVisitor
{
/// <summary>
/// Context of building a object visitor
/// </summary>
public interface IOvBuilderContext : ICollection<IOvBuilderContextItem>
{
}
/// <summary>
/// Context of building a object visitor
/// </summary>... |
FirebaseAdmin/FirebaseAdmin/ErrorCode.cs | OUTBOXIT/firebase-admin-dotnet | 265 | 7058534 | // Copyright 2019, Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
NetProfiler/EventViewModels/BaseViewModel.cs | gabbersepp/net-profiler | 0 | 7058535 | <filename>NetProfiler/EventViewModels/BaseViewModel.cs
using System.ComponentModel;
namespace NetProfiler.EventViewModels
{
public abstract class BaseViewModel : INotifyPropertyChanged
{
protected void RaisePropertyChanged(string propertyName)
{
PropertyChangedEventHandler handler ... |
src/Aggregators/Aggregator.StoreFront.Api/Services/Favorite/IFavoriteService.cs | MesutAtasoy/Joker | 38 | 7058536 | <gh_stars>10-100
using Aggregator.StoreFront.Api.Models.Favorite;
using Aggregator.StoreFront.Api.Models.Favorite.Requests;
using Joker.Response;
namespace Aggregator.StoreFront.Api.Services.Favorite;
public interface IFavoriteService
{
Task<JokerBaseResponse<FavoriteCampaignModel>> AddFavoriteCampaignAsync(AddFa... |
src/Microsoft.DevSkim/Microsoft.DevSkim.CLI/ErrorMessage.cs | netsec/DevSkim | 0 | 7058537 | // Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
namespace Microsoft.DevSkim.CLI
{
class ErrorMessage
{
public string File { get; set; }
public string Path { get; set; }
public string Messag... |
CS-Examples/07_DocumentOperation/MergeDocsOnSamePage.cs | nancyeiceblue/Free-Spire.Doc-for-.NET | 1 | 7058538 | using System;
using System.Windows.Forms;
using Spire.Doc;
using Spire.Doc.Documents;
namespace MergeDocsOnSamePage
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
... |
samples/CFNetwork/Views/CheckHeadersView.designer.cs | moljac/monomac | 4 | 7058539 | // WARNING
//
// This file has been generated automatically by MonoDevelop to store outlets and
// actions made in the Xcode designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using MonoMac.Foundation;
namespace MonoMac.CFNetwork.Test.Views
{
[Register ("Che... |
src/IFS.Web/Controllers/ErrorController.cs | Sebazzz/IFS | 10 | 7058540 | <reponame>Sebazzz/IFS
// ******************************************************************************
// © 2016 <NAME> - damsteen.nl
//
// File: : ErrorController.cs
// Project : IFS.Web
// ******************************************************************************
namespace IFS.Web.Control... |
src/Data/Bloggable.Data.Models/Feedback.cs | vladislav-karamfilov/Bloggable | 26 | 7058541 | <filename>src/Data/Bloggable.Data.Models/Feedback.cs<gh_stars>10-100
namespace Bloggable.Data.Models
{
using System.ComponentModel.DataAnnotations;
using Bloggable.Common.Constants;
using Bloggable.Data.Contracts.DataAnnotations;
using Bloggable.Data.Models.Base;
public class Feedback : Identifia... |
Gss.Core/Models/UpdateUserInfoModel.cs | N0menIllisLegio/Gas-Sensor-Server | 0 | 7058542 | <filename>Gss.Core/Models/UpdateUserInfoModel.cs
using System;
namespace Gss.Core.Models
{
public class UpdateUserInfoModel
{
public string AvatarPath { get; set; }
public string Email { get; set; }
public string PhoneNumber { get; set; }
public string FirstName { get; set; }
public string Las... |
SharpFunction/Commands/Minecraft/Tellraw.cs | Maxuss/SharpFunction | 3 | 7058543 | using SharpFunction.Universal;
namespace SharpFunction.Commands.Minecraft
{
/// <summary>
/// Represents tellraw command. Equal to Minecraft's <code>/tellraw {entity: EntitySelector} {rawtext}</code>
/// </summary>
public sealed class Tellraw : ICommand, ISelectorCommand
{
/// <summary... |
CSharp/Day8.cs | RylandeFM/AoC2020 | 0 | 7058544 | using System;
using System.IO;
using System.Collections.Generic;
namespace CSharp
{
class Day8
{
public static void getSolutions()
{
string[] inputData = File.ReadAllLines("../../../Day8Input.txt");
RunPart1(inputData);
RunPart2(inputData);
}
... |
ChicknDestroy/unity/Mainmenu Scene/Assets/Scripts/Scenario/Weapons/WeaponFactory.cs | eloipuertas/ES2013Dijous | 1 | 7058545 | using System;
public class WeaponFactory
{
private static int VALUE_PER_UNITY = 1;
private static WeaponFactory factory;
public enum WeaponType {KATANA,GUN,SHOTGUN,ASSAULTRIFLE,GRANADE,MINE,UBCARPET,SNIPERRIFLE};
private WeaponFactory (){}
public static WeaponFactory instance() {
if (factory == null) facto... |
src/ViewModels/AboutViewModel.cs | awadhkishor/CaptureScreenInDotNet | 1 | 7058546 | using Captura.Properties;
using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Windows;
namespace Captura
{
public class AboutViewModel : ViewModelBase
{
public static CultureInfo DefaultLanguage { get; } = new CultureInfo("en-US");
public static C... |
Assets/Project/Scripts/SwitchCollider.cs | OmiyaGames/through-oneself | 1 | 7058547 | <reponame>OmiyaGames/through-oneself
using UnityEngine;
public class SwitchCollider : MonoBehaviour
{
[SerializeField]
Switch correspondingSwitch;
void OnCollisionEnter(Collision info)
{
if (Trigger(info.collider) == true)
{
correspondingSwitch.AddPerson(info.co... |
0-project-files/Car_Renting_Management_System/discountSettings.cs | GunaRakulan-GR/car-rental-system | 2 | 7058548 | 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.Xml;
namespace Car_Renting_Management_System
{
public partial class discountSettings : ... |
src/SFA.Apprenticeships.Infrastructure.Repositories.Mongo/Applications/Mappers/ApprenticeshipApplicationMappers.cs | BugsUK/FindApprenticeship | 2 | 7058549 | namespace SFA.Apprenticeships.Infrastructure.Repositories.Mongo.Applications.Mappers
{
using Domain.Entities.Applications;
using Domain.Entities.Vacancies;
using Domain.Entities.Vacancies.Apprenticeships;
using Entities;
using Infrastructure.Common.Mappers;
using Sql.Schemas.Vacancy;
publi... |
MetinWebProje/Form1.Designer.cs | halilibrahimyildirim/Turkish-News-Classifier | 0 | 7058550 | <gh_stars>0
namespace MetinWebProje
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
LM.Domain/Helpers/DateTimeHelper.cs | lauro-miranda/domain | 0 | 7058551 | <gh_stars>0
using System;
namespace LM.Domain.Helpers
{
public static class DateTimeHelper
{
public static DateTime GetCurrentDate()
{
var date = DateTime.UtcNow;
return date.ForBrazilDate();
}
}
} |
src/Cake.7zip/Switches/ISupportSwitchSetHashFunction.cs | ye4241/Cake.7zip | 0 | 7058552 | <filename>src/Cake.7zip/Switches/ISupportSwitchSetHashFunction.cs
using Cake.SevenZip.Builder;
namespace Cake.SevenZip.Switches;
/// <summary>
/// <para>
/// Command supports switch -scrc (Set hash function).
/// </para>
/// <para>
/// The Switch is <see cref="SwitchSetHashFunction"/>.
/// </para>
/// <para>
/// The... |
System.Diagnostics.Abstracted/Diagnostics.cs | mlnv/System.Diagnostics.Abstractions | 1 | 7058553 | <filename>System.Diagnostics.Abstracted/Diagnostics.cs
namespace System.Diagnostics.Abstracted
{
public class Diagnostics : IDiagnostics
{
public IFileVersionInfoFactory FileVersionInfo => new FileVersionInfoFactory();
public IStopwatchFactory Stopwatch => new StopwatchFactory();
public... |
007.FileIO/aliyun_dotnet_sdk_20150115/FileIO_ALIYUN/src/Common/Handlers/IResponseHandler.cs | chenxihoho/FirstFrame | 3 | 7058554 | <reponame>chenxihoho/FirstFrame
/*
* Copyright (C) Alibaba Cloud Computing
* All rights reserved.
*
* 版权所有 (C)阿里云计算有限公司
*/
using Aliyun.OpenServices.Common.Communication;
namespace Aliyun.OpenServices.Common.Handlers
{
/// <summary>
/// Handles the response message from the services.
/... |
Ix.NET/Source/System.Interactive.Async/System/Linq/Operators/Repeat.cs | NickDarvey/reactive | 1 | 7058555 | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Sy... |
src/Pages/Index.cshtml | SJM18/LtiAdvantage | 0 | 7058556 | @page
@model IndexModel
@using Microsoft.AspNetCore.Mvc.Localization
@using Resources
@inject IViewLocalizer Localizer
@inject IHtmlLocalizer<Localization> SharedLocalizer
@{
ViewData["Title"] = SharedLocalizer["Home"];
}
<div class="container-fluid">
<div class="row">
@if (!User.Identity.IsAuthent... |
src/CaseManagement.HumanTask/Domains/HumanTaskDef/HumanTaskDefinitionSubTask.cs | lulzzz/CaseManagement | 21 | 7058557 | <filename>src/CaseManagement.HumanTask/Domains/HumanTaskDef/HumanTaskDefinitionSubTask.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
namespace CaseManagement.HumanTask.Domains
{
public class HumanTaskDefinitionSubTask : ICloneable
{
public HumanTaskDefinitionSub... |
Samples/Forms/AltBeaconLibrary.Sample/AltBeaconLibrary.Sample/IAltBeaconService.cs | mstein11/Android-AltBeacon-Library | 42 | 7058558 | using System;
namespace AltBeaconLibrary.Sample
{
public interface IAltBeaconService
{
void InitializeService();
void StartMonitoring();
void StartRanging();
event EventHandler<ListChangedEventArgs> ListChanged;
event EventHandler DataClearing;
}
} |
RealTimeCharts_Server/RealTimeCharts_Server/UseSqlTableDependency.cs | GaneshRajChauhan/SignalRTableDependency | 0 | 7058560 | <filename>RealTimeCharts_Server/RealTimeCharts_Server/UseSqlTableDependency.cs<gh_stars>0
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using RealTimeCharts_Server.SqlTableDependencies;
namespace RealTimeCharts_Server
{
public static class UseSqlTableDependencyHelpers
{
... |
Assets/Scripts/Runtime/Ui/UiBase/UiLocalizedTextView.cs | ycarowr/CardGameHexBoard | 8 | 7058561 | <gh_stars>1-10
using HexCardGame.Localisation;
using UnityEngine;
namespace HexCardGame.UI
{
public class UiLocalizedTextView : UiText
{
[SerializeField] LocalizationIds id;
protected override void Awake()
{
base.Awake();
SetText(Localization.Instance.Get(id));... |
Rainmeter Downloader/Main.Designer.cs | mininmobile/rainmeter-downloader | 1 | 7058563 | <gh_stars>1-10
namespace RMD {
partial class Menu {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... |
src/TaskChecker.Web/TaskChecker.Web/Views/Home/Index.cshtml | Levchenkov/TaskCheker | 0 | 7058564 | @model TaskChecker.Web.Models.Entities.Student
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@if (Model == null)
{
<h3>Hello!</h3>
<h4>Your account hasn't been activated yet. Ask your teacher to add you to the system.</h4>
}
else
{
<h3>Hello @Model.FullName!</h3>
<h4... |
AbhsChinese.Web/Models/SubjectReport/MultipleChoiceReportVm.cs | GuoQqizz/SmartChinese | 0 | 7058565 | <reponame>GuoQqizz/SmartChinese<filename>AbhsChinese.Web/Models/SubjectReport/MultipleChoiceReportVm.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AbhsChinese.Domain.Entity.Subject;
using AbhsChinese.Domain.JsonEntity.Subject;
namespace AbhsChinese.Web.Models.SubjectRep... |
Source/BetterAnimalsTab/PawnColumns/PawnColumnWorker_Pregnant.cs | hanyd-rimworld-translate/AnimalTab | 0 | 7058566 | using RimWorld;
using System.Linq;
using HarmonyLib;
using UnityEngine;
using Verse;
namespace AnimalTab
{
class PawnColumnWorker_Pregnant : RimWorld.PawnColumnWorker_Pregnant
{
private const int ICON_SIZE_I = 16;
public override int Compare(Pawn a, Pawn b)
{
var aPregnant... |
src/root/src/render/ops/facet.cs | 0xCM/z0 | 0 | 7058567 | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
partial struct RP
{
/// <summary>
/// Formats the operands as a ... |
Domain/Countrparty/GetCounterpartiesResponse.cs | iAlexeyProkhorov/Baroque.NovaPoshta.Client | 2 | 7058568 | using System;
using System.Runtime.Serialization;
namespace Baroque.NovaPoshta.Client.Domain.Countrparty
{
/// <summary>
/// Allow to get account counterparties. Represents 'getCounterparties' method response for 'Counterparty' model.
/// Documentation: https://devcenter.novaposhta.ua/docs/services/557eb8... |
ArgumentParsing/Arguments/Argument.cs | neumann1990/ArgumentParsing | 0 | 7058569 | <reponame>neumann1990/ArgumentParsing<filename>ArgumentParsing/Arguments/Argument.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace ArgumentParsing.Arguments
{
public interface IArgument
{
bool IsRequired { get; set; }
StringComparison ArgumentNameStringComparison ... |
src/Estates/Red/GameEstate.Red.Format/Red/W3/Partial/CFXTrackItem.cs | bclnet/GameEstate | 0 | 7058571 | using FastMember;
using GameEstate.Red.Formats.Red.CR2W;
using System.Runtime.Serialization;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = ""), REDMeta]
public partial class CFXTrackItem : CFXBase
{
[Ordinal(1), RED("timeBegin")] public CFloat TimeBegin { get; set;... |
Foundation/WindowsControls/WPF/CarSystems/CarSystemsControl.xaml.cs | plkumar/SecondMonitor | 45 | 7058572 | using System.Windows.Controls;
namespace SecondMonitor.WindowsControls.WPF.CarSystems
{
using System.Windows;
using DataModel.BasicProperties;
/// <summary>
/// Interaction logic for CarSystemsControl.xaml
/// </summary>
public partial class CarSystemsControl : UserControl
{
... |
sdk/dotnet/Outputs/ServiceEndpointPipelineAuthPersonal.cs | pulumi/pulumi-azuredevops | 13 | 7058573 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
Assets/BitStrap/Plugins/Tween/Editor/TweenShaderPropertyDrawer.cs | JohannesDeml/Bitstrap | 0 | 7058574 | <filename>Assets/BitStrap/Plugins/Tween/Editor/TweenShaderPropertyDrawer.cs
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace BitStrap
{
[CustomPropertyDrawer( typeof( TweenShaderProperty ) )]
public sealed class TweenShaderPropertyDrawer : PropertyDrawer
{
private const float Typ... |
sources/Interop/Windows/um/projectedfslib/PRJ_PLACEHOLDER_INFO.cs | phizch/terrafx.interop.windows | 146 | 7058575 | <filename>sources/Interop/Windows/um/projectedfslib/PRJ_PLACEHOLDER_INFO.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/projectedfslib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyrigh... |
SphereStudio.Base/UI/ScriptEditor.cs | Radnen/spherestudio | 9 | 7058576 | <reponame>Radnen/spherestudio<gh_stars>1-10
using System.Windows.Forms;
using SphereStudio.Base;
namespace SphereStudio.UI
{
/// <summary>
/// Defers code editing functionality to the active Script plugin.
/// </summary>
public partial class ScriptEditor : UserControl
{
private ScriptView... |
TrabalhoCSharp/Exercicio3/Program.cs | g-aleprojetos/UNINTER | 2 | 7058577 | <reponame>g-aleprojetos/UNINTER<gh_stars>1-10
using System.Threading;
namespace Exercicio3
{
public class Program
{
static void Main(string[] args)
{
//variaveis
int inicioDeCadaBusca = 0;//quantidade de busca
int numeroFinal = 92;//número final de busca re... |
Sources/Contacts/Contacts.Crud/Companies/RestApi/CompaniesController.cs | itlibrium/DDD-starter-dotnet | 152 | 7058578 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using MyCompany.Crm.TechnicalStuff.Crud.Operations;
using TechnicalStuff.Crud.Api;
namespace ... |
src/Integracja.Server.Web/Areas/Gry/Views/Home/CurrentGames.cshtml | fladzio/Integracja.Server | 0 | 7058579 | @using Integracja.Server.Web.Areas.Gry.Models.Home
@using static Integracja.Server.Web.Areas.Gry.Models.Home.HomeViewModel
@using static Integracja.Server.Web.Areas.Gry.Models.Home.IHomeActions
@using Integracja.Server.Web.Models.Shared.Time
@model HomeViewModel
@section Scripts
{
<script type="text/javascript" c... |
Web Applications/TeamMentor.CoreLib/TM_AppCode/Global.asax.cs | SPoint42/Master | 0 | 7058580 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using SecurityInnovation.TeamMentor.WebClient.WebServices;
using O2.Kernel;
using TeamMentor.CoreLib;
namespace SecurityInnovation.TeamMentor.Website
{
public cla... |
Assets/Scripts/TileGroup.cs | belzecue/WorldGeneratorFinal | 2 | 7058581 | using System.Collections.Generic;
public enum TileGroupType
{
Water,
Land
}
public class TileGroup {
public TileGroupType Type;
public List<Tile> Tiles;
public TileGroup()
{
Tiles = new List<Tile> ();
}
}
|
WinPasswordFilterClient/AboutWindow.xaml.cs | viktor-silakov/WinPasswordFilter | 1 | 7058582 | <filename>WinPasswordFilterClient/AboutWindow.xaml.cs<gh_stars>1-10
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.In... |
src/MDD4All.Jira.DataModels/V3/ADF/AtlassianDocumentFormat.cs | oalt/MDD4All.Jira.DataModels | 0 | 7058583 | <filename>src/MDD4All.Jira.DataModels/V3/ADF/AtlassianDocumentFormat.cs
/*
* Copyright (c) MDD4All.de, Dr. <NAME>
*/
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace MDD4All.Jira.DataModels.V3.ADF
{
public class AtlassianDocumentFormat
{
[JsonProper... |
Examples/GroupDocs.Conversion.Cloud.Examples.CSharp/Common/AddWatermark.cs | groupdocs-conversion-cloud/groupdocs-conversion-cloud-dotnet-samples | 0 | 7058584 | using System;
using GroupDocs.Conversion.Cloud.Sdk.Api;
using GroupDocs.Conversion.Cloud.Sdk.Model;
using GroupDocs.Conversion.Cloud.Sdk.Model.Requests;
namespace GroupDocs.Conversion.Cloud.Examples.CSharp.Common
{
/// <summary>
/// This example demonstrates how to convert word processing document into pdf doc... |
TagsTree/Commands/RelayCommand.cs | alengbao/TagsTree | 0 | 7058586 | using System;
using System.Windows.Input;
namespace TagsTree.Commands
{
public class RelayCommand : ICommand
{
public RelayCommand(Func<object?, bool> canExecute, Action<object?> execute)
{
_canExecuteFunc = canExecute;
_executeAction = execute;
}
private readonly Func<object?, bool> _canExecuteFunc;... |
Day 04 Tasks/Unity_Day4_2D_Platformer/Assets/Scripts/Enemy/RangedEnemy.cs | romioshoula/I42---Game-Development-Using-Unity-Engine | 0 | 7058587 | using UnityEngine;
public class RangedEnemy : MonoBehaviour
{
[Header("Attack Parameters")]
[SerializeField] private float attackCooldown;
[SerializeField] private float range;
[SerializeField] private int damage;
[Header("Ranged Attack")]
[SerializeField] private Transform firepoint;
[Ser... |
Helper Classes/Point/IPoint.cs | Brotholomew/gk-drawing-template | 0 | 7058588 | using System;
using System.Collections.Generic;
using System.Text;
namespace gk_drawing_template_temp
{
public interface IPoint
{
public double X { get; set; }
public double Y { get; set; }
public double Z { get; set; }
public System.Drawing.Point SPoint();
}
... |
Src/Services/SqlDataBaseCommand.Common/IDatabaseCommandBase.cs | micbelgique/DevCamp2016-Trasys-Team | 0 | 7058591 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
namespace Apps72.Dev.Data
{
/// <summary>
/// Base Interface to manage all DataBaseCommands
/// </summary>
public partial interface IDatabaseCommandBase : IDisposable
{
/// <summary>
... |
src/CsvSerializer/Serializer.cs | MindfireTechnology/CsvSerializer | 0 | 7058592 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using CsvSerializer.Csv;
namespace CsvSerializer
{
public class Serializer : ISerializer
{
public CsvSettings Settings { get; set; }
public Stack... |
clients/IL/Orders/Models/OrderItemBuyerInfo.cs | InventoryLab/selling-partner-api-models | 0 | 7058593 | <filename>clients/IL/Orders/Models/OrderItemBuyerInfo.cs
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace IL.Library.Amazon.SPAPI.Orders.Models
{
using Microsoft.Res... |
DesignPattern/DesignPattern/SingletonPattern/Singleton4.cs | jie65535/DesignPattern | 0 | 7058594 | using System;
namespace DesignPattern.SingletonPattern
{
class Singleton4
{
private static Singleton4 instance;
public static Singleton4 Instance
{
get
{
if (instance == null)
instance = new Singleton4();
... |
Unity/Assets/Scripts/Module/Message/Network/AService.cs | WarrenMondeville/LandlordsCore | 2 | 7058595 | <gh_stars>1-10
using System;
using System.Net;
using System.Threading.Tasks;
namespace ETModel
{
public enum NetworkProtocol
{
TCP,
KCP,
}
public abstract class AService: Component
{
public abstract AChannel GetChannel(long id);
public abstract Task<AChannel> AcceptChannel();
public abstract AChanne... |
editdocuments/WordDocument.cs | LuighiV/automateword | 0 | 7058596 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Word = Microsoft.Office.Interop.Word;
using System.IO;
namespace editdocuments
{
internal class WordDocument
{
public string DocumentPath { get; set; }
public Word.Applica... |
source/Mechanical2.NET45.Tests/DataStores/Xml/XmlDataStoreReaderTests.cs | MechanicalMen/Mechanical2 | 0 | 7058597 | using System;
using System.IO;
using Mechanical.Core;
using Mechanical.DataStores;
using Mechanical.DataStores.Nodes;
using Mechanical.DataStores.Xml;
using NUnit.Framework;
namespace Mechanical.Tests.DataStores.Xml
{
[TestFixture]
public class XmlDataStoreReaderTests
{
internal stati... |
SensusPlaylist/Config/Configuration.cs | shladdergoo/sensus-playlist | 0 | 7058598 | <reponame>shladdergoo/sensus-playlist
using Microsoft.Extensions.Configuration;
using System;
using System.IO;
namespace SensusPlaylist
{
static class Configuration
{
private static IConfigurationRoot _configuration;
const string ConfigFile = "appsettings.json";
public static void Bu... |
NBitcoin.Portable/TraceStub/TraceSource.cs | knocte/NBitcoin | 0 | 7058599 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading.Tasks;
namespace System.Diagnostics
{
internal enum TraceEventType
{
Error,
Information,
Start,
Warning,
Verbose,
Stop,
}
internal class Correlatio... |
DecisionTheory/Task1/frmMain.cs | KvanTTT/Education | 1 | 7058600 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Task1
{
public partial class frmMain : Form
{
public frmMain()
{
InitializeComponent();
}
private void btnCalculate_Click(object sender, EventArgs e)
{
double[]... |
LBH.AdultSocialCare.Transactions.Api/V1/UseCase/BillUseCases/Concrete/PaySupplierBillUseCase.cs | LBHackney-IT/lbh-adult-social-care-transactions-api | 0 | 7058602 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LBH.AdultSocialCare.Transactions.Api.V1.Domain.BillsDomain;
using LBH.AdultSocialCare.Transactions.Api.V1.Domain.LedgerDomains;
using LBH.AdultSocialCare.Transactions.Api.V1.Factories;
using LBH.AdultSocialCare.Transa... |
ConsoleCalculator/ConsoleCalculator/CalculationException.cs | SamIge7/Tutorials | 0 | 7058603 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleCalculator
{
public class CalculationException : Exception
{
private static readonly string DefaultMessage = "An error occured during calculation. Ensure that the operat... |
src/Editor/Text/Impl/DifferenceAlgorithm/TFS/LCSDiff.cs | AmadeusW/vs-editor-api | 77 | 7058604 | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// This file contain implementations details that are subject to change without notice.
// Use at your own risk.
//
using System;
using System.Collections.... |
client/framework/UnityCsReference-master/Editor/Mono/Inspector/PolygonEditorUtility.cs | HelloWindows/AccountBook- | 1 | 7058605 | // Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using UnityEngine;
using System;
namespace UnityEditor
{
internal class PolygonEditorUtility
{
const float k_HandlePointSnap = 10f;
const f... |
Canvas.v1/Models/EnrollmentState.cs | thatsnotmylane/canvas-windows-sdk-v1 | 0 | 7058606 | <filename>Canvas.v1/Models/EnrollmentState.cs<gh_stars>0
using System;
namespace Canvas.v1.Models
{
[Flags]
public enum EnrollmentState
{
Active,
Invited,
Creation_Pending,
Deleted,
Rejected,
Completed,
Inactive,
}
} |
TwoTypeExample.iOS/Implementations/IOSSQLite.cs | b12kab/TwoType | 0 | 7058607 | using System;
using System.IO;
using SQLite;
using TwoTypeExample.Helpers;
using TwoTypeExample.iOS.Implementations;
using Xamarin.Forms;
using static TwoTypeExample.GetDBConnection;
[assembly: Dependency(typeof(IOSSQLite))]
namespace TwoTypeExample.iOS.Implementations
{
public class IOSSQLite : ISQLite
{
... |
spice-carla-sync-service/models/LegalEntity.cs | GeorgeWalker/jag-spd-spice | 0 | 7058608 | <filename>spice-carla-sync-service/models/LegalEntity.cs<gh_stars>0
using System;
using System.Collections.Generic;
namespace SpdSync.models
{
public class LegalEntity
{
public string EntityId { get; set; }
public string Name { get; set; }
public bool IsIndividual { get; set; }
... |
ZeroLevel.Qdrant/Models/Requests/PointsRequest.cs | ogoun/Zero | 0 | 7058609 | <gh_stars>0
namespace ZeroLevel.Qdrant.Models.Requests
{
internal sealed class PointsRequest
{
public long[] ids { get; set; }
/*public bool with_payload { get; set; } = true;
public bool with_vector { get; set; } = true;*/
}
}
|
PostmanCollectionToKarateGherkin/Form1.cs | emreyvz/karate-scenario-generator | 0 | 7058610 | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PostmanCollectionToKarateG... |
MrZeGroceryStore/Login.cs | edufelizardo1/MrZeGroceryStore | 0 | 7058611 | 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.Runtime.InteropServices;
namespace MrZeGroceryStore
{
public partial class Login : Form... |
Framework/Microsoft.Xrm.Client/Windows/Controls/ConnectionDialog/Connection.cs | hhnguyen/xRM-Portals-Community-Edition | 117 | 7058612 | /*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
namespace Microsoft.Xrm.Client.Windows.Controls.ConnectionDialog
{
/// <summary>
/// Represents the method that will handle the Return event of the PageFunc... |
Sifon.Code/Helpers/RequestHelper.cs | ampach/Sifon | 10 | 7058613 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using Sifon.Abstractions.Helpers;
using Sifon.Abstractions.Profiles;
using Sifon.Code.PowerShell;
using Sifon.Code.Statics;
namespace Sifon.Code.Helpers
{
public class RequestHelper : IRequest... |
SelectCustomPlaces/SelectCustomPlaces/NativeMethods/IFileDialog.cs | jiangsheng/Samples | 0 | 7058614 | <reponame>jiangsheng/Samples<filename>SelectCustomPlaces/SelectCustomPlaces/NativeMethods/IFileDialog.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace SelectCusto... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.