max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/SolutionInspector.Api/Utilities/SolutionNotFoundException.cs | chrischu/SolutionChecker | 5 | 7057760 | <reponame>chrischu/SolutionChecker
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
namespace SolutionInspector.Api.Utilities
{
/// <summary>
/// Represents errors that occurs when trying to load a solution file that does not exist.
/// </summary>
[Serializable]
publ... |
Cierge/Views/Account/Lockout.cshtml | adeel41/Cierge | 5 | 7057761 | <gh_stars>1-10
@{
ViewData["Title"] = "Lockout :(";
}
<div class="row">
<div class="column">
<h3>
You have been locked-out :(
</h3>
<div>
Please check back later.
</div>
<br />
<a asp-area="" asp-controller="Home" asp-action="Index" class... |
Source/Swallow.UnitTests/Mocks/QueueWrapperMock.cs | Sufflavus/Swallow | 1 | 7057762 | <filename>Source/Swallow.UnitTests/Mocks/QueueWrapperMock.cs
using System.Collections.Generic;
using Swallow.QueueManager;
using Swallow.QueueManager.Interfaces;
namespace Swallow.UnitTests.Mocks
{
public class QueueWrapperMock : IQueueWrapper
{
private List<QueueItemEntity> _items = new List<... |
Analogy/UserControls/UCMessageDetails.cs | Analogy-LogViewer/-Analogy.LogViewer.Winforms- | 3 | 7057763 | <filename>Analogy/UserControls/UCMessageDetails.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Forms;
using Analogy.Interfaces;
namespace Analogy
{
public partial class UCMessageDetails : UserControl
{
private Analog... |
Core.Thread/Threading/DisposableObject.cs | lvgithub/dot-net-utilities | 4 | 7057764 | <filename>Core.Thread/Threading/DisposableObject.cs
using System;
namespace Core.Threads
{
/// <summary>
/// Class that implements <see cref="T:System.IDisposable"/> to provide disposing
/// functions to inherited classes.
/// </summary>
[Serializable()]
public abstract class DisposableObject... |
tj-framework/Objects/Digital/SoftwareLicense/License.cs | tjspann/tj-framework-uwp | 0 | 7057765 | <reponame>tjspann/tj-framework-uwp<filename>tj-framework/Objects/Digital/SoftwareLicense/License.cs
namespace tj_framework.Objects.Digital.SoftwareLicense
{
public class License
{
public LicenseName Name { get; set; }
public LicenseDescription Description { get; set; }
}
public class L... |
TFRecordReader.cs | gosselind1/TFRecord-Reader-.NET | 0 | 7057766 | using System;
using System.IO;
using Force.Crc32;
namespace TFRecord_Reader
{
// Adapted from java implementation at:
// https://github.com/tensorflow/ecosystem/blob/master/hadoop/src/main/java/org/tensorflow/hadoop/util/TFRecordReader.java
// With additional insight/code from:
// https://github.com/k... |
source/Finance.Designer.cs | BackendButters/AKW-Simulator | 6 | 7057767 | namespace AKW_Simulator
{
partial class Finance
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// ... |
toolpathing/FillPathScheduler2d.cs | Jmerk523/gsSlicer | 86 | 7057768 | <reponame>Jmerk523/gsSlicer
using System;
using System.Collections.Generic;
using g3;
namespace gs
{
public enum SchedulerSpeedHint
{
Careful, Default, Rapid, MaxSpeed
}
public interface IFillPathScheduler2d
{
void AppendCurveSets(List<FillCurveSet2d> paths);
SchedulerSp... |
Video Clip Sharer/AdvancedSettingsForm.cs | quentinmay/Video-Clip-Sharer | 1 | 7057769 | 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 Video_Clip_Sharer
{
public partial class AdvancedSettingsForm : Form
{
public ... |
CustomTranslatorCLI/SDK/Models/TextTranslatorDALBillingRegions.cs | AndyCW/Azure-Custom-Translator-CLI | 2 | 7057770 | // <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 CustomTranslator.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;... |
src/Gemini/Modules/ToolBars/Models/CommandToolBarItem.cs | ChezzPlaya/gemini | 0 | 7057771 | using System;
using System.ComponentModel;
using System.Globalization;
using System.Windows;
using System.Windows.Input;
using Caliburn.Micro;
using Gemini.Framework.Commands;
using Gemini.Framework.ToolBars;
namespace Gemini.Modules.ToolBars.Models
{
public class CommandToolBarItem : ToolBarItemBase, ICommandUiItem... |
Front End/Classes/SimplexEquation.cs | PedroFGP/Simplex-Implementation | 1 | 7057772 | using System.Collections.Generic;
namespace SimplexGUI.Classes
{
//Classe que respresenta as equações
public class SimplexEquation
{
public SimplexEquation()
{
Variables = new Dictionary<string, double>();
Operator = null;
LimitValue = null;
... |
Source/Bake.Tests/Helpers/BakeTest.cs | rasmus/Bake | 1 | 7057773 | <gh_stars>1-10
// MIT License
//
// Copyright (c) 2021-2022 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to u... |
src/Narochno.Serilog.Slack/LoggerConfigurationExtensions.cs | Narochno/Narochno.Serilog.Slack | 2 | 7057774 | using Narochno.Serilog.Slack.Formatting;
using Narochno.Serilog.Slack.Sinks;
using Narochno.Slack;
using Serilog;
using Serilog.Configuration;
using Serilog.Events;
using System;
namespace Narochno.Serilog.Slack
{
public static class LoggerConfigurationExtensions
{
private static readonly ... |
Public/Src/Utilities/Native/IO/Windows/Journaling/MiniUsnRecord.cs | miniksa/BuildXL | 448 | 7057775 | <filename>Public/Src/Utilities/Native/IO/Windows/Journaling/MiniUsnRecord.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using BuildXL.Utilities;
namespace BuildXL.Native.IO.Windows
{
/// <summary>
/// Represents per-file USN data (that returned from a sin... |
Source/Lightningfall.Infrastructure/ProjectRepository.cs | RedSheeps/Lightningfall | 3 | 7057777 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Lightningfall.Infrastructure
{
public class ProjectRepository : IProjectRepository
{
private static readonly IProject _project;
static ProjectRepository()
{
_project = new Project("");
... |
AspNetDependencyInjection/AspNetDependencyInjection/HttpContextScopeHttpModule.cs | watfordgnf/AspNetDependencyInjection | 0 | 7057778 | using System;
using System.Web;
using Microsoft.Extensions.DependencyInjection;
namespace AspNetDependencyInjection.Internal
{
/// <summary>HttpModule that establishes the <see cref="IServiceScope"/> for each <see cref="HttpApplication"/> and <see cref="HttpContext"/> instance.</summary>
public sealed class HttpCo... |
YCMap.Utils/ElementsHelper.cs | YinChaoOnline/YCMap | 21 | 7057779 | using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.Geometry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YCMap.Utils
{
public class ElementsHelper
{
public static IFillShapeElement GetRectangleElement(IGeometry geometry... |
Source/UprisingServer.Target.cs | jwoo1601/Unknown-Planet-Zeropist | 0 | 7057780 | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class UprisingServerTarget : TargetRules
{
public UprisingServerTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Server;
ExtraModuleNames.AddRange(
new stri... |
Tourplaner/TourService/Handler/GetRouteQueryHandler.cs | Ephaltes/Tourplaner | 0 | 7057781 | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Serilog;
using TourService.Entities;
using TourService.Query;
using TourService.Repository;
namespace TourService.Handler
{
public class GetRouteQueryHandler : IRequestHandler<GetRouteQuery, CustomResponse<RouteEn... |
Projects.NETCore/SealLibrary/Model/MenuReportViewsPool.cs | MikeRzhevsky/Seal-Report-1 | 1 | 7057782 | //
// Copyright (c) <NAME> (<EMAIL>), http://www.sealreport.org.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. http://www.apache.org/licenses/LICENSE-2.0..
//
using System;
using System.Collections.Generic;
using System.Diagnostics;
... |
ActivityLibrary/ReadManifestAttribute.cs | neerajmathur/UMETRIX | 1 | 7057783 | <reponame>neerajmathur/UMETRIX
using System;
using System.Activities;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Xml;
namespace ActivityLibrary
{
public sealed class ReadManifestAttribute : CodeActivity<IList<String>>
{
// Define an activity input argu... |
KmLog.Server/KmLog.Server.Blazor/Shared/AddServiceEntryComponent.razor.cs | chrismuellner/km-log | 1 | 7057784 | <filename>KmLog.Server/KmLog.Server.Blazor/Shared/AddServiceEntryComponent.razor.cs
using System;
using System.Diagnostics;
using System.Net.Http.Json;
using System.Threading.Tasks;
using KmLog.Server.Blazor.Validation.Models;
using KmLog.Server.Dto;
namespace KmLog.Server.Blazor.Shared
{
public partial class Add... |
src/JssBlazor.Components/Models/ComponentFactoryOptions.cs | GoranHalvarsson/jss-blazor | 13 | 7057785 | <filename>src/JssBlazor.Components/Models/ComponentFactoryOptions.cs
namespace JssBlazor.Components.Models
{
public class ComponentFactoryOptions
{
public string ComponentAssemblyFormat { get; set; }
public string MissingComponentType { get; set; }
public string RawComponentType { get; s... |
Monopoly/Infrastructure/DependencyInjection.cs | GoToWinThat/Wieczny-Student | 1 | 7057786 | using Infrastructure.Persistance.DatabaseContext;
using Infrastructure.Services;
using Microsoft.Extensions.Options;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Monopoly.Core.Base.Interfaces;
namespace Infrastructure
{
public... |
WebCA_LeahuLorena/obj/Debug/Package/PackageTmp/Views/Users/Index.cshtml | leahulorena/PKCS11Cloud_WebCA | 0 | 7057787 | @model IEnumerable<WebCA_LeahuLorena.Models.Model>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.userID)
</th>
<th>
@Html.DisplayNameFor(mo... |
Utilities/ApnxDataCostTemplate/Program.cs | chinnurtb/OpenAdStack | 1 | 7057788 | <filename>Utilities/ApnxDataCostTemplate/Program.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Vers... |
SnakeGame/Snake.cs | l87freeman/consoleSnake | 1 | 7057789 | <reponame>l87freeman/consoleSnake<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace SnakeGame
{
public class Snake
{
private Pixel _snakeHead;
public Pixel SnakeHead
{
get => _snakeHead;
}
private Direction _currentDi... |
SampleWebApp/Views/Home/Index.cshtml | PranamBhat/AspDotNetMVC | 0 | 7057790 | @{
ViewBag.Title = "Index";
}
<h2>Welcome to the sample ASP.NET MVC Web Application</h2>
<p>
<strong>
This web site is designed as a basic interoduction to GenericServices Framework's CRUD commands
by showing them working in an ASP.NET MVC web site.
</strong>
</p>
<h2>UPDATE for 2015</h2>... |
resources/.gen/aws/aws/Wafv2WebAclRuleStatementAndStatementStatementNotStatementStatementAndStatementStatementSqliMatchStatementFieldToMatch.cs | scottenriquez/cdktf-alpha-csharp-testing | 0 | 7057791 | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementAndStatementStatementNotStatementStatementAndStatementStatementSqliMatchStatementFieldToMatch")]
public class Wafv2WebAclRuleStatementAndStatementStatementNotStatementS... |
Filters/SortBuilder.cs | hpsanampudi/Ducksoft.Soa.Common | 0 | 7057792 | <reponame>hpsanampudi/Ducksoft.Soa.Common
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.Serialization;
namespace Ducksoft.SOA.Common.Filters
{
/// <summary>
/// Class which is used to build Linq sort expression.
/// </summary>
[DataContract(Name = "SortBuilder",
... |
dotnet/server/test/Azure.Mobile.Server.Test/Helpers/Base_Test.cs | Sweekriti91/azure-mobile-apps | 0 | 7057793 | <reponame>Sweekriti91/azure-mobile-apps<gh_stars>0
using E2EServer.Database;
using Microsoft.AspNetCore.TestHost;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using Syste... |
Assets/Scripts/Stamina.cs | tahagabre/RagBall | 0 | 7057794 | <filename>Assets/Scripts/Stamina.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Stamina : MonoBehaviour
{
public delegate void StaminaChange(int player, int stamina);
public event StaminaChange OnStaminaChange;
[SerializeField] private int maxCha... |
tests/QuikGraph.Tests/Algorithms/Search/UndirectedDepthFirstSearchAlgorithmTests.cs | OwenMcDonnell/QuikGraph | 0 | 7057795 | <filename>tests/QuikGraph.Tests/Algorithms/Search/UndirectedDepthFirstSearchAlgorithmTests.cs<gh_stars>0
using System.Collections.Generic;
using JetBrains.Annotations;
using NUnit.Framework;
using QuikGraph.Algorithms.Search;
using static QuikGraph.Tests.GraphTestHelpers;
namespace QuikGraph.Tests.Algorithms.Search
{
... |
src/core/Statiq.Common/IO/IReadOnlyFileSystemExtensions.cs | sebastienros/Statiq.Framework | 1 | 7057796 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Statiq.Common;
namespace Statiq.Common
{
public static class IReadOnlyFileSystemExtensions
{
/// <summary>
/// Gets a file representing an... |
Program.cs | DarTiess/Class | 0 | 7057797 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassEnter
{
public class motobike
{
/*1.2 Реализовать не менее пяти закрытых полей
(различных типов),представляющих основные
характеристики рассматриваемого класса. ... |
Assets/Unity-AssetManagement-Tool/Editor/Settings.cs | assertorz/Legacy-Asset-Management-System | 1 | 7057798 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System;
using System.IO;
using System.Text;
namespace UnityAssetManagementTool {
[CreateAssetMenu(fileName = "Settings.asset", menuName = "Unity-AssetManagement-Tool/Settings")]
public clas... |
ConsoleTest/Program.cs | franzalex/System.IO.Csv | 0 | 7057799 | using System;
using System.Collections.Generic;
using System.IO.Csv;
using System.Linq;
using System.Text;
namespace ConsoleTest
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter input CSV file: ");
IEnumerable<IEnumerable<string>> data;
... |
sources/Graphics/Core/Graphics/GraphicsService.cs | tannergooding/terrafx | 4 | 7057800 | <filename>sources/Graphics/Core/Graphics/GraphicsService.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using System;
using System.Collections.Generic;
using TerraFX.Advanced;
using static TerraFX.Runtime.Configuration;
using sta... |
src/Zeckoxe.Vulkan/Toolkit/Tools.cs | Arthur3DLHC/Zeckoxe | 0 | 7057801 | <filename>src/Zeckoxe.Vulkan/Toolkit/Tools.cs
// Copyright (c) 2019-2020 <NAME>. All Rights Reserved. https://github.com/FaberSanZ
// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
/*=============================================================================
Tools.cs
======... |
10.Unit Testing - Exercise/03.ListIterator/ListIterator.cs | SonicTheCat/CSharp-OOP-Advanced | 2 | 7057802 | using System;
using System.Collections.Generic;
using System.Linq;
namespace ListIteratorTask
{
public class ListIterator<T>
{
private List<T> collection;
private int currentIndex;
public ListIterator(params T[] elements)
{
SetUpElementsInCollection(elements);
... |
Mainboards/GHIElectronics/FEZCobraIIEco/FEZCobraIIEco_42/AssemblyInfo.cs | ghi-electronics/NETMF-Gadgeteer | 5 | 7057803 | <reponame>ghi-electronics/NETMF-Gadgeteer<filename>Mainboards/GHIElectronics/FEZCobraIIEco/FEZCobraIIEco_42/AssemblyInfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("GHIElectronics.Gadgeteer.FEZCobraIIEco")]
[assembly: AssemblyDescr... |
src/ATech.Ring.Protocol.v2/Events/WorkspaceState.cs | niemtec/ring | 0 | 7057804 | <reponame>niemtec/ring
namespace ATech.Ring.Protocol.v2.Events;
public enum WorkspaceState
{
NONE = 0,
IDLE = 1,
HEALTHY = 2,
DEGRADED = 3
}
|
Spiker_new/Assets/Test/TurretUI.cs | Andebugan/spiker-master | 0 | 7057805 | <reponame>Andebugan/spiker-master<filename>Spiker_new/Assets/Test/TurretUI.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TurretUI : MonoBehaviour
{
public Text text;
PlayerController playerController;
void Start()
{
player... |
src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Employee.cs | avragov/aspnetcore | 8,570 | 7057806 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace HtmlGenerationWebSite.Models;
public class Employee : Person
{
public string Address
{
get;
set;
}
public string OfficeNumber
{
... |
Daf.Meta.Editor/ViewModels/ConnectionViewModels/RestConnectionViewModel.cs | Gurris/daf-meta | 1 | 7057807 | <reponame>Gurris/daf-meta
// SPDX-License-Identifier: MIT
// Copyright © 2021 <NAME>, <NAME> and contributors
using System.Collections.Generic;
using Daf.Meta.Layers;
using Daf.Meta.Layers.Connections;
using PropertyTools.DataAnnotations;
namespace Daf.Meta.Editor.ViewModels
{
public class RestConnectionViewModel :... |
test/vstest.ProgrammerTests/Fakes/TestMessage.cs | SimonCropp/vstest | 480 | 7057808 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
namespace vstest.ProgrammerTests.Fakes;
internal class TestMessage
{
public TestMessag... |
modules/job/hangfire/src/Paas.Pioneer.Hangfire.Domain/Entitys/Ad_View.cs | xiaolei000129/Paas.Pioneer | 2 | 7057809 | using System;
namespace Paas.Pioneer.Admin.Core.Domain.View
{
/// <summary>
/// 视图管理
/// </summary>
public class Ad_View : Ad_ViewEntity
{
public new Guid Id { get; set; }
}
} |
Peercast4Net/CreteLib/HtmlParser.cs | raduwen/pecastarter5 | 0 | 7057810 | <gh_stars>0
using System;
using System.Text;
namespace CreteLib
{
internal class HtmlParser
{
private char[] _source = null;
private bool _ignoreCase;
private int _index = -1;
/// <summary>
/// コンストラクタ
/// </summary>
/// <param name="htmlText">解析対象のHT... |
src/dotnetcore/SampleApp/Config/TrustMarkApiConfig.cs | trustmark-2005-ltd/TrustMark.DataWarehouse.Api | 1 | 7057811 | <reponame>trustmark-2005-ltd/TrustMark.DataWarehouse.Api<filename>src/dotnetcore/SampleApp/Config/TrustMarkApiConfig.cs
using static SampleApp.Config.TrustMarkApiConfigHelpers;
namespace SampleApp.Config
{
public class TrustMarkApiConfig
{
public string Environment { get; set; }
public string ... |
src/Framework.Services/ProxyGeneratorFactory.cs | bsimser/xeva | 0 | 7057812 | using System;
using Castle.Core.Interceptor;
using Castle.DynamicProxy;
namespace XF.Services
{
public class ProxyGeneratorFactory : IProxyGeneratorFactory
{
private ProxyGenerator _proxyGenerator;
public ProxyGeneratorFactory(ProxyGenerator proxyGenerator)
{
_proxyGenerat... |
BCSpaceCore/ModEntry.cs | AveAcVale/StardewMods | 0 | 7057813 |
using Leclair.Stardew.BetterCrafting;
using Leclair.Stardew.Common.Events;
using StardewModdingAPI.Events;
using StardewValley;
namespace Leclair.Stardew.BCSpaceCore {
class ModEntry : ModSubscriber {
[Subscriber]
private void OnGameLaunched(object sender, GameLaunchedEventArgs e) {
var api = Helper.ModReg... |
test/PICHexDisassembler.Tests/HexParserTests.cs | Fredi/PICHexDisassembler | 2 | 7057814 | using PICHexDisassembler.Instructions;
using Xunit;
namespace PICHexDisassembler.Tests
{
public class HexParserTests
{
[Fact]
public void ParseByteCount()
{
var line = ":020000000528D1";
var parser = new HexParser();
var parsed = parser.ParseLine(lin... |
ZalandoShop.UWP/Model/Entities/ZalandoShop/PaginationResponse.cs | snrnats/ZalandoShopUWP | 0 | 7057815 | using System.Collections.Generic;
using Newtonsoft.Json;
namespace ZalandoShop.UWP.Model.Entities.ZalandoShop
{
public class PaginationResponse<T> where T : class
{
[JsonProperty("totalElements")]
public int TotalElements { get; set; }
[JsonProperty("totalPages")]
public int T... |
src/FoDom/Layout/Inline/PageNumberInlineArea.cs | PaintLab/SaveAsPdf | 4 | 7057816 | <gh_stars>1-10
//Apache2, 2017, WinterDev
//Apache2, 2009, griffm, FO.NET
namespace Fonet.Layout.Inline
{
class PageNumberInlineArea : WordArea
{
string _pageNumberId;
public PageNumberInlineArea(
FontState fontState, float red, float green,
float blue, string refid, int... |
src/Arctium/Arctium.Standards/X509/X509Cert/Algorithms/AlgorithmParms/EcpkParms/CharacteristicTwo.cs | NeuroXiq/Arctium | 3 | 7057817 | using System;
namespace Arctium.Standards.X509.X509Cert
{
/// <summary>
/// Represents Characteristic two parameters for <see cref="ECParameters"/> FieldId.Parameters field.
/// </summary>
public struct CharacteristicTwo
{
public enum BasisType
{
GnBasis,
Tp... |
src/OpenSecurity.Oauth/Services/StackExchangeService.cs | venyowong/OpenSecurity.Oauth | 0 | 7057818 | using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json.Linq;
using OpenSecurity.Oauth.Extensions;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
namespace OpenSecurity.Oauth.Services;
public class St... |
Starnight/Internal/Entities/Channels/DiscordWebhook.cs | StarnightLibrary/starnight | 3 | 7057819 | namespace Starnight.Internal.Entities.Channels;
using System;
using System.Text.Json.Serialization;
using Starnight.Internal.Entities.Guilds;
using Starnight.Internal.Entities.Users;
/// <summary>
/// Represents a discord webhook.
/// </summary>
public record DiscordWebhook : DiscordSnowflakeObject
{
/// <summary>
... |
Brew/Brew/Models/RecipeFermentableModels.cs | nsipid/Brew | 2 | 7057820 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
namespace Brew.Models
{
[Table("RecipeFermentables")]
public class RecipeFermentable : IEquatable<Reci... |
Assets/Scripts/UI_Audio/ButtonCustom.cs | Tchekda/UnityProject | 0 | 7057821 | using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace UI_Audio {
public class ButtonCustom: Selectable {
[SerializeField] private GameObject[] toActivate;
[SerializeField] private RectTransform hoveringCanvas;
[SerializeField] private Button.ButtonClickedEvent onClick ... |
ValueInjection.Test/CountingValueObtainer.cs | peterwurzinger/ValueInjection | 3 | 7057822 | using ValueInjection.Test.Data;
namespace ValueInjection.Test
{
public class CountingValueObtainer : IValueObtainer<RemoteTestData>
{
public int ObtainerCallCounter { get; private set; }
public CountingValueObtainer()
{
ObtainerCallCounter = 0;
}
public Re... |
src/Service.EmailSender.Domain/SettingModels/SpotRecoveryEmailSettings.cs | MyJetWallet/Service.EmailSender | 0 | 7057823 | using MyYamlParser;
namespace Service.EmailSender.Domain.SettingModels
{
public class SpotRecoveryEmailSettings : BaseEmailSettings
{
[YamlProperty("TokenExpires")]
public string TokenExpires { get; set; }
}
}
|
Apsiyon/Utilities/Security/Encryption/StringDataEncryptionHelper.cs | vmutlu/ApsiyonFramework | 0 | 7057824 | <reponame>vmutlu/ApsiyonFramework
using System;
using System.Text;
namespace Apsiyon.Utilities.Security.Encryption
{
/// <summary>
/// This helper class that encrypts and decrypts texts
/// </summary>
public static class StringDataEncryptionHelper
{
/// <summary>
/// Algorithm meth... |
Server/Model/Code/PokerGame/Manager/PlayerManagerComponent.cs | lantuma/DDZ | 4 | 7057825 | using ETHotfix;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace ETModel
{
[ObjectSystem]
public class PlayerManagerComponentAwakeSystem : AwakeSystem<PlayerManagerComponent>
{
public override void Awake(PlayerManagerComponent self)
{
... |
src/Umbraco.Web/UmbracoDefaultOwinStartup.cs | Tazer/Umbraco-CMS | 0 | 7057826 | <reponame>Tazer/Umbraco-CMS
using Microsoft.Owin;
using Microsoft.Owin.Logging;
using Owin;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Security;
using Umbraco.Web;
using Umbraco.Web.Security.Identity;
[assembly: OwinStartup("UmbracoDefaultOwinStartup", typeof(UmbracoDefaultOwinStartup))]
name... |
Services/SmartHotel.MixedReality.Api/Topology/Value.cs | crmosso/Mixed-Reality | 22 | 7057827 | <filename>Services/SmartHotel.MixedReality.Api/Topology/Value.cs
namespace SmartHotel.MixedReality.Api.Topology
{
public class Value
{
public string type { get; set; }
public string value { get; set; }
}
}
|
Assets/Uduino/Scripts/Extra/Interface/Resources/Bluetooth/UduinoInterface_Bluetooth.cs | leoeichinger/AquariumController | 0 | 7057828 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Uduino
{
public class BLEDeviceButton_Interface
{
public Button button;
public GameObject connecting;
public GameObject connect;
public Transform connected;
pu... |
noway/Assets/Scripts/ChapJump.cs | Kevmm47/no-way | 1 | 7057829 | <filename>noway/Assets/Scripts/ChapJump.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChapJump: MonoBehaviour {
public AudioSource chapSound;
public float jumpForce = 1000f;
Rigidbody2D rigidbody;
int chapsLayer;
// Use this for initialization
void Start () {
... |
Src/H.Necessaire/H.Necessaire.Notification/Http/HttpNotifierConfiguration.cs | Dartths/H.Necessaire | 1 | 7057830 | <gh_stars>1-10
using System;
namespace H.Necessaire.Notification
{
public class HttpNotifierConfiguration
{
public Note[] RequestHeaders { get; set; }
public TimeSpan Timeout { get; set; } = TimeSpan.FromSeconds(30);
}
}
|
src/Limbo.Umbraco.UserPermissions/Rules/Blocks/Extensions/BlockContentExtensions.cs | limbo-works/Limbo.Umbraco.Access | 0 | 7057831 | using System.Collections.Generic;
using System.Linq;
using Limbo.Umbraco.UserPermissions.Rules.Blocks.Models.Content;
using Limbo.Umbraco.UserPermissions.UserActions.Models;
using Umbraco.Core.Services;
namespace Limbo.Umbraco.UserPermissions.Rules.Blocks.Extensions {
public static class BlockContentExtensions {
... |
test/Libraries/CoreNodesTests/ColorRangeTests.cs | talrasha/Dynamo | 1,202 | 7057832 | <filename>test/Libraries/CoreNodesTests/ColorRangeTests.cs
using System.Collections.Generic;
using System.Linq;
using DSCore;
using NUnit.Framework;
namespace Dynamo.Tests
{
[TestFixture]
class ColorRangeTests
{
private Color red = Color.ByARGB(255, 255, 0, 0);
private Color blue = Color.... |
MGL/Input/Keyboard.cs | AntonLuning/MGL | 0 | 7057833 | <reponame>AntonLuning/MGL<gh_stars>0
using Microsoft.Xna.Framework.Input;
using System;
namespace MGL.Input
{
public sealed class Keyboard
{
private static readonly Lazy<Keyboard> _lazy = new Lazy<Keyboard>(() => new Keyboard());
public static Keyboard Instance { get { return _lazy.Value; } }
... |
TimelineDatabase/Assets/Scripts/Managers/ElementController.cs | JuanObiJuan/TimelineDatabase | 0 | 7057834 | /**MIT License
Copyright (c) 2020 JuanObiJuan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... |
src/FubuCore/Binding/Values/DiagnosticValueSource.cs | RyanHauert/fubucore | 15 | 7057835 | namespace FubuCore.Binding.Values
{
public class DiagnosticValueSource
{
public string Source { get; set; }
public string Value { get; set; }
public DiagnosticValueSource(string source, object value)
{
Source = source;
if (value == null)
... |
Assets/Scripts/Core/Editor/MissingPrefabComponentFinder.cs | pdxparrot/ssjJune2021 | 0 | 7057836 | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEditor;
namespace pdxpartyparrot.Core.Editor
{
// https://forum.unity.com/threads/what-is-recovery-gameobject.1005352/
public static class MissingPrefabComponentFinder
{
[MenuItem("PDX Party Parrot/L... |
Assets/Tobii/DemoScenes/Scripts/Example03/EyeTrackerSettingsMenu.cs | nayanseth/Tobii-Car-Modelling | 1 | 7057837 | using UnityEngine;
using Tobii.EyeTracking;
using UnityEngine.UI;
/// <summary>
/// Various settings and utilities to manage calibrations and the presence of the user
/// </summary>
/// <remarks>
/// Referenced in the Eye Tracking Settings and Configuration example scene.
/// </remarks>
public class EyeTrackerSetting... |
src/Dfc.CourseDirectory.WebV2/Security/EnsureApprenticeshipQAStatusSetSignInAction.cs | uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory | 4 | 7057838 | <reponame>uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory
using System.Threading.Tasks;
using Dfc.CourseDirectory.Core.DataStore.Sql;
using Dfc.CourseDirectory.Core.DataStore.Sql.Queries;
using Dfc.CourseDirectory.Core.Models;
namespace Dfc.CourseDirectory.WebV2.Security
{
public class EnsureApprenticeshipQ... |
XyTodo/XyTodo.iOS/Cross/CrossTheme.cs | kulics/xytodo-cross-platform | 2 | 7057839 | <gh_stars>1-10
using Xamarin.Forms;
using XyTodo.Cross;
using XyTodo.iOS.Cross;
[assembly: Dependency(typeof(CrossTheme))]
namespace XyTodo.iOS.Cross
{
class CrossTheme : ICrossTheme
{
public void SetTheme(string color)
{
}
}
}
|
ProgramingBasics/ForLoopExersice/Histogram/Program.cs | Rongusha/cShardStudy | 0 | 7057840 | <reponame>Rongusha/cShardStudy<gh_stars>0
using System;
namespace Histogram
{
class Program
{
static void Main(string[] args)
{
int count = int.Parse(Console.ReadLine());
double p1Count = 0;//num<200
double p2Count = 0;//>=200 < 399
double p3C... |
Save-Your-Pc/Assets/My Scripts/Bar Scripts/BreakBarOnShoot.cs | razein97/Game-Projects | 0 | 7057841 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MetaGameJam
{
public class BreakBarOnShoot : MonoBehaviour
{
public GameObject bar1;
public GameObject bar1Replacement;
private float health = 100f;
void OnTriggerEnter2D(Collider2D othe... |
src/Dfe.Spi.GiasAdapter.Functions/LearningProviders/GetLearningProviders.cs | DFE-Digital/spi-gias-adapter | 0 | 7057842 | <reponame>DFE-Digital/spi-gias-adapter<gh_stars>0
using System;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Dfe.Spi.Common.Http.Server;
using Dfe.Spi.Common.Http.Server.Definitions;
using Dfe.Spi.Common.Logging.Definitions;
using Dfe.Spi.Common.Models;
using Dfe.Spi.Gi... |
CSharpFundamentalsModule/CSharpAdvanced/StringProcessing/StringProcessingExercises/11. Palindromes/Palindromes.cs | Alexcho0o0/SoftUni | 1 | 7057843 | <reponame>Alexcho0o0/SoftUni
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Palindromes
{
class Palindromes
{
static void Main(string[] args)
{
var palindromes = new SortedSet<string>();
var... |
1.Singleton/SingletonProgram.cs | gurkangokdemir/DesignPatternsOnlineShopping | 1 | 7057844 | using System;
namespace OnlineShoppingCenter
{
class SingletonProgram
{
static void Main(string[] args)
{
SiteAdminSingleton s1 = SiteAdminSingleton.Instance(001);
Console.WriteLine("System admin Id is: " + s1.getAdminId());
SiteAdminSingleton s2 = SiteAdminS... |
GenericPluginLoader/GenericPluginLoader/GenericPluginLoader.cs | budgetdevv/Sdk | 0 | 7057845 | // Copyright (c) 2018-2021, Els_kom org.
// https://github.com/Elskom/
// All rights reserved.
// license: MIT, see LICENSE for more details.
/*
Credits to this file goes to the C# plugin
loader & interface examples.
*/
namespace Elskom.Generic.Libs
{
using System;
using System.Collections.Generi... |
Assets/Scripts/Haggis/CountDownText.cs | DavidWilliamHunter/LDJam43-HelplessHaggis | 0 | 7057846 | <filename>Assets/Scripts/Haggis/CountDownText.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CountDownText : CountDownTimer
{
TextMesh textMesh;
MeshRenderer textRenderer;
// Start is called before the first frame update
void Start()
{
TextM... |
Powerdropper/Properties/Resources.Designer.cs | pr0fessi0nal/PowerDropper | 85 | 7057848 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities/EntityManagerSerialization.cs | polartron/open-netcode | 7 | 7057849 | using Unity.Assertions;
using Unity.Collections;
namespace Unity.Entities
{
public unsafe partial struct EntityManager
{
// ----------------------------------------------------------------------------------------------------------
// PUBLIC
// -------------------------------------------... |
TimeSeries/PublicApis/SdkExamples/SosExporter/Dtos/GetCapabilitiesRequest.cs | BlakeRaymond-AI/examples | 0 | 7057850 | using System;
using System.Collections.Generic;
using ServiceStack;
namespace SosExporter.Dtos
{
[Route("/service", HttpMethods.Post)]
public class GetCapabilitiesRequest : IReturn<GetCapabilitiesResponse>
{
public List<string> Sections { get; set; }
public string Request { get; set; }
... |
CSharp/Build-Web-APIs-using-ASP.NET_edX-Microsoft/m03/Lab01/Controllers/ProductsController.cs | joao-neves95/Exercises_Challenges_Courses | 0 | 7057851 | using Microsoft.AspNetCore.Mvc;
using System.Linq;
using Lab01.Models;
namespace Lab01.Controllers
{
[Route("api/products")]
public class ProductsController : Controller
{
[HttpGet("all")]
public ActionResult Get()
{
return Json(Data.Products.Values.ToArray());
... |
src/BrewskiiApp - MVC/BrewskiiApp/Views/Home/Privacy.cshtml | HXNGUY01/TwoNodeNull | 2 | 7057852 | <reponame>HXNGUY01/TwoNodeNull
@{
ViewData["Title"] = "Privacy Policy";
}
<!-- This is how we get background images on the page -->
<body style="background-image: url('http://oi68.tinypic.com/21bji40.jpg');">
</body>
<h2>@ViewData["Title"]</h2>
<p>Use this page to detail your site's privacy policy.</p></br>
<p>... |
src/LeanSharp/Extensions/ResultExtensions.cs | ericrey85/LeanSharp | 62 | 7057853 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LeanSharp.Extensions
{
public static class ResultExtensions
{
public static void Handle<TSuccess, TFailure>(this Result<TSuccess, TFailure> result,
Action<TSuccess> onSuccess,
... |
DrHandy.Droid/Custom Views/CardViewBarChart.cs | AlbertoMoreta/Dr.Handy | 0 | 7057854 | <filename>DrHandy.Droid/Custom Views/CardViewBarChart.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.V4.Content;
using Android.Support.V7.Widget;
using Android.U... |
WorldOfTheThreeKingdoms/GameObjects/ArchitectureDetail/EventEffect/EventEffectKindPack/EventEffect250.cs | luyouli/ZHSan | 154 | 7057855 | using GameObjects;
using System;
using GameManager;
using System.Runtime.Serialization;namespace GameObjects.ArchitectureDetail.EventEffect
{
[DataContract]public class EventEffect250 : EventEffectKind
{
private int targetFactionID;
public override void InitializeParameter(string parameter)... |
src/sc9.0/code/Client/Applications/TurboConsole.cs | prajapati-jatin/TurboConsole | 0 | 7057856 | using Sitecore;
using Sitecore.Diagnostics;
using Sitecore.Security;
using Sitecore.Web;
using Sitecore.Web.UI.Sheer;
using Sitecore.Web.UI.WebControls.Ribbons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TurboConsole.Client.Controls;
using TurboConsole.Core.Hosts;
using ... |
GDT/source/Utility/GraphBuilder.cs | game-graphs/game-graph-library | 0 | 7057857 | using System;
using System.Collections.Generic;
using System.Linq;
using GDT.Model;
namespace GDT.Utility
{
public static class GraphBuilder
{
public static Graph BuildCircleGraph(string graphName, int numberOfEntities,
string layerName = "WfcNeighborLayer", string entityNameFormat = "Loca... |
Shared/XamarinSample/Web/RssReader/Pages/Index.cshtml | qmatteoq/XamarinSamples | 2 | 7057858 | <filename>Shared/XamarinSample/Web/RssReader/Pages/Index.cshtml
@page
@model RssReader.Pages.IndexModel
@{
ViewData["Title"] = "News";
}
<h2>News</h2>
@foreach (var item in Model.NewsList)
{
<p>@item.Title</p>
}
@section Scripts {
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
|
Editor/UIXListField.cs | red-owl-games/UIX | 2 | 7057859 | <gh_stars>1-10
using System;
using System.Collections;
using System.Reflection;
using RedOwl.UIX.Engine;
using UnityEngine;
using UnityEngine.UIElements;
namespace RedOwl.UIX.Editor
{
public class ListProxy
{
private readonly object _instance;
private readonly FieldInfo _info;
... |
src/Bot/Handlers/HandlerBase.cs | matteocontrini/expelliarbusbot | 8 | 7057860 | using System.Threading.Tasks;
using Telegram.Bot.Types;
namespace Bot.Handlers
{
public abstract class HandlerBase
{
/// <summary>
/// Telegram <see cref="Chat"/> invoking the handler
/// </summary>
public Chat Chat { get; set; }
/// <summary>
/// <see cref="Ca... |
Cethleann.Structure/BTIFHeader.cs | LordDude/Cethleann | 0 | 7057861 | <gh_stars>0
namespace Cethleann.Structure
{
public struct BTIFHeader
{
public DataType Magic { get; set; }
public int Unknown1 { get; set; }
public int EntryCount { get; set; }
public int Unknown2 { get; set; }
public int Unknown3 { get; set; }
public int Unknown... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.