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 |
|---|---|---|---|---|
Dto/LegalityDto.cs | vinirossado/MyCards | 0 | 7033414 | <reponame>vinirossado/MyCards<filename>Dto/LegalityDto.cs
using System.Text.Json.Serialization;
namespace MagicAPI.Dto
{
public class LegalityDto
{
public string Format { get; set; }
public string LegalityName { get; set; }
}
} |
mbackup/Setting.cs | tacores/music-backup | 0 | 7033415 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace mbackup
{
/// <summary>
/// This interface represents application settings such as source folders.
/// </summary>
public interface Setting
{
/// <summary>
/// Get a list of source folder... |
src/Extensions/Senparc.Xscf.DatabaseToolkit/Senparc.Xscf.DatabaseToolkit/Register.cs | bluewatercg/ScfPackageSources | 16 | 7033416 | using Senparc.Scf.Core.Enums;
using Senparc.Scf.Core.Models;
using Senparc.Scf.XscfBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace Senparc.Xscf.DatabaseToolkit
{
[XscfRegister]
public partial class... |
content/Areas/Portal/Controllers/API/ProjectsController.cs | tmoodley/crispans | 0 | 7033417 | <reponame>tmoodley/crispans
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Vue2Spa.Areas.Portal.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using HelpingHands.Data;
using Microsoft.AspNetCore.Authorization;
namespace Vue2Spa.Areas... |
DotNet/CesiumLanguageWriterTests/TestJulianDateConversions.cs | NextechGS/czml-writer | 266 | 7033418 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using CesiumLanguageWriter;
using NUnit.Framework;
namespace CesiumLanguageWriterTests
{
/// <summary>
/// A series of tests to exercise the various date and time types.
/// </summary>
[TestFixture]
public class TestJulianDateConve... |
src/core/Elsa.Abstractions/Services/Bookmarks/BookmarkFinderResult.cs | Nongzhsh/elsa-core | 1 | 7033419 | namespace Elsa.Services.Bookmarks
{
public class BookmarkFinderResult
{
public BookmarkFinderResult(string workflowInstanceId, string activityId, IBookmark bookmark, string? correlationId)
{
WorkflowInstanceId = workflowInstanceId;
ActivityId = activityId;
Bo... |
FlightJournal.Web/Models/Club.cs | VladimirVLF/startlist.club | 12 | 7033420 | using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;
using FlightJournal.Web.Controllers;
using FlightJournal.Web.Translations;
namespace FlightJournal.Web.Models
{
public class Club
{
[Key]
public int ClubI... |
REWBlog/MyClasses/MyClasses.cs | REW-Z/REWBlog | 0 | 7033421 | using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using REWBlogBLL;
using REWBlogModel;
namespace REWBlog.MyClasses
{
public class ClassCheckIn
{
private static BLL_checkin bll_checkin = new BLL_checkin();
... |
HOL/dotnet/03-azuread-office365/start/DevCamp.WebApp/Utils/Settings.cs | warriorone/DevCamp | 110 | 7033422 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
namespace DevCamp.WebApp.Utils
{
public class Settings
{
//#### HOL 2 ######
public static string INCIDENT_API_URL = ConfigurationManager.AppSettings["INCIDENT_API_URL"];
public static ... |
App/Controllers/FeedDataController.cs | alisonjonck/reactnetcore | 1 | 7033423 | using App.Domain.Interfaces.Services;
using App.ViewModels;
using Microsoft.AspNetCore.Mvc;
namespace App.Controllers
{
[Route("api/[controller]")]
public class FeedDataController : Controller
{
private readonly IFeedServices _feedServices;
public FeedDataController(IFeedServices feedServ... |
Source/DotSpatial.Plugins.ShapeEditor/SnappableMapFunction.cs | sdrmaps/dotspatial | 0 | 7033424 | <reponame>sdrmaps/dotspatial<gh_stars>0
using System.Collections.Generic;
using System.Drawing;
using DotSpatial.Controls;
using DotSpatial.Data;
using DotSpatial.Symbology;
using GeoAPI.Geometries;
using Point = System.Drawing.Point;
namespace DotSpatial.Plugins.ShapeEditor
{
/// <summary>
/// This... |
Source/CDR.DataRecipient.Web/Controllers/DataHoldersController.cs | CDR-AndrewG/mock-data-recipient | 3 | 7033425 | using CDR.DataRecipient.Repository;
using CDR.DataRecipient.SDK.Models;
using CDR.DataRecipient.SDK.Services.Register;
using CDR.DataRecipient.Web.Configuration;
using CDR.DataRecipient.Web.Extensions;
using CDR.DataRecipient.Web.Features;
using CDR.DataRecipient.Web.Filters;
using CDR.DataRecipient.Web.Models;
using ... |
src/CycleBell.Engine/CycleBellManager.cs | p1eXu5/CycleBell | 0 | 7033426 | /*
* Copyright © 2018 <NAME>. 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 app... |
src/Altinn.Common/Altinn.EFormidlingClient/Altinn.EFormidlingClient/Extensions/HttpClientExtension.cs | DanRJ/altinn-studio | 0 | 7033427 | <filename>src/Altinn.Common/Altinn.EFormidlingClient/Altinn.EFormidlingClient/Extensions/HttpClientExtension.cs
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Altinn.EFormidlingClient.Extensions
{
/// <... |
EliteDangerous/EDDB/SystemClassEDDB.cs | Zafford/EDDiscovery | 0 | 7033428 | <reponame>Zafford/EDDiscovery<gh_stars>0
using EliteDangerousCore.DB;
using Newtonsoft.Json.Linq;
using SQLLiteExtensions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
names... |
src/MonitorPlatform.Wpf/View/ServerManager.xaml.cs | easteng/MonitorPlatform | 0 | 7033429 | using ESTCore.Message.Client;
using HandyControl.Controls;
using MonitorPlatform.Share;
using MonitorPlatform.Wpf.ViewModel;
using Silky.Lms.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
... |
Assets/Scripts/Loli/Behaviors/Passive.Lewd.cs | Foxify52/OpenViva | 0 | 7033430 | <gh_stars>0
using UnityEngine;
namespace viva
{
public class LewdBehavior : PassiveBehaviors.PassiveTask
{
private float pervTimer = 0.0f;
public LewdBehavior(Loli _self) : base(_self, 0.0f)
{
}
public override void OnUpdate()
{
if (pervTimer ... |
LobbySlot.cs | framf0rt/Get_Soaked_Excerpts | 0 | 7033431 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LobbySlot : MonoBehaviour {
public GameObject ReadyButton;
public GameObject UnreadyButton;
public GameObject TakeSlotButton;
public Text PlayerNameText;
public Tex... |
Source/Applications/openMIC/openMIC/wwwroot/IGridConfig.cshtml | GridProtectionAlliance/MIDAS | 18 | 7033432 | <gh_stars>10-100
@*******************************************************************************************************
// IGridConfig.cshtml - Gbtc
//
// Copyright © 2017, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license ag... |
Chapter13/Code/web-shop-csharp/web-shop/Database/Product.cs | PacktPublishing/Continuous-Integration-Delivery-and-Deployment | 12 | 7033433 | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace web_shop.Database
{
[Table("product")]
public class Product
{
[Column("id")]
public int Id { get; set; }
[Column("name")]
public string Name { get; set; }
[Column("price")... |
Uol.PagSeguro/TransactionSearchService.cs | CesarRabelo/Nop.Plugin.Payments.PagSeguro | 3 | 7033434 | // Copyright [2011] [PagSeguro Internet Ltda.]
//
// 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 app... |
examples/SimpleDemo/MainForm.cs | gteijeiro/mikrotik4net | 0 | 7033435 | <reponame>gteijeiro/mikrotik4net
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Simple
{
public partial class MainForm : Form
{
public MainFor... |
UltimaOnline.Data/Mobiles/Vendors/SBInfo/SBScribe.cs | netcode-gamer/game.ultimaonline.io | 0 | 7033436 | using System;
using System.Collections.Generic;
using UltimaOnline.Items;
namespace UltimaOnline.Mobiles
{
public class SBScribe : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBScr... |
src/Legerity/AppiumManagerOptions.cs | Quest-360/legerity | 25 | 7033437 | namespace Legerity
{
using OpenQA.Selenium.Appium;
/// <summary>
/// Defines a base model that represents Appium specific configuration options for the <see cref="AppManager"/>.
/// </summary>
public abstract class AppiumManagerOptions : AppManagerOptions
{
/// <summary>
/// Get... |
Allowed.Telegram.Bot.EntityFrameworkCore/Middlewares/MessageDbMiddleware.cs | VodemSharp/Allowed.Telegram.Bot | 1 | 7033438 | using System;
using System.Threading.Tasks;
namespace Allowed.Telegram.Bot.EntityFrameworkCore.Middlewares
{
public abstract class MessageDbMiddleware<TKey>
where TKey : IEquatable<TKey>
{
public virtual Task AfterMessageProcessedAsync(TKey botId, long telegramId) { return Task.CompletedTask; ... |
src/TnTSoftware.Cqrs/IPipelineStep.cs | t11omas/TnTSoftware.CQRS | 0 | 7033439 | <filename>src/TnTSoftware.Cqrs/IPipelineStep.cs
namespace TnTSoftware.Cqrs
{
using System.Threading;
using System.Threading.Tasks;
using TnT.Cqrs.Core;
public interface IPipelineStep<in TRequest, in TUser>
where TRequest : IMessage
{
Task<ExecutionResult> Execute(TRequest request,... |
Hinode.Izumi.Commands/UserCommands/MakingCommands/CraftingCommands/CraftingItemCommand/CraftingItemCommand.cs | envyvox/Hinode.Izumi | 1 | 7033440 | using System;
using System.Globalization;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Hangfire;
using Hinode.Izumi.Data.Enums;
using Hinode.Izumi.Data.Enums.MessageEnums;
using Hinode.Izumi.Data.Enums.PropertyEnums;
using Hinode.Izumi.Framework.Autofac;
using Hinode.Izumi.Services.Backgr... |
Persona5Mvc/Views/Confidants/Details.cshtml | cdkenn/Persona5Mvc | 0 | 7033441 | <reponame>cdkenn/Persona5Mvc
@model Persona5Mvc.Models.Confidant
@{
ViewBag.Title = @Html.DisplayFor(model => model.Arcana);
}
<div>
<h2>@Html.DisplayFor(model => model.Arcana)</h2>
<p>
@Html.ActionLink("All Confidants", "Index")
</p>
<hr />
<dl class="dl-horizontal">
<dt>
... |
SolidDna/AngelSix.SolidDna/Errors/SolidDnaErrors.cs | Yobeekster/SolidWorksC | 1 | 7033442 | <reponame>Yobeekster/SolidWorksC
using System;
using System.Threading.Tasks;
namespace AngelSix.SolidDna
{
/// <summary>
/// Provides details and lookups for SolidDNA errors and codes
/// </summary>
public static class SolidDnaErrors
{
#region Public Methods
/// <summary>
... |
src/Middleware/Rewrite/src/UrlMatches/ExactMatch.cs | tomaswesterlund/aspnetcore | 13,846 | 7033443 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.AspNetCore.Rewrite.UrlMatches
{
internal class ExactMatch : UrlMatch
{
private readonly bool _ignoreCase;
private readonly ... |
src/blocks/Glazer.Storage.Integration.AspNetCore/StorageExtensions.cs | neurnn/glazer | 0 | 7033444 | using Glazer.Storage.Abstraction;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Glazer.Storage.Integration.AspNetCore
{
public static class StorageExtensions
{
/// <summary>
/// Set the block storage to service collection.
/... |
UI.Desktop/Forms/Inscripciones/Inscripciones.Designer.cs | germantano8/TP2-Academia | 2 | 7033445 | <gh_stars>1-10
namespace UI.Desktop
{
partial class Inscripciones
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... |
src/Horth.Shared.Message.Queue/Model/MessageQueueDbContext.cs | dhorth/HorthEmailService | 0 | 7033446 | <reponame>dhorth/HorthEmailService<gh_stars>0
using Horth.Service.Email.Shared.Model;
using Irc.Infrastructure.Services.Queue;
using Microsoft.EntityFrameworkCore;
namespace Horth.Service.Email.Queue.Model
{
public partial class MessageQueueDbContext : OneOfficeDbContext
{
public MessageQueueDbContext... |
Importir Expo/Assets/Scripts/PauseMenu.cs | Damagree/importir-expo | 0 | 7033447 | <reponame>Damagree/importir-expo<gh_stars>0
using UnityEngine;
using UnityEngine.Events;
public class PauseMenu : MonoBehaviour
{
public static bool GameIsPaused = false;
[SerializeField] bool pauseFromStart = false;
[SerializeField] GameObject pauseMenuUi;
[SerializeField] GameObject mousecontroller... |
Microsoft.Dx.WopiServerDocumentDb/Utils/SettingsHelper.cs | apulliam/WopiFramework | 10 | 7033448 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
namespace Microsoft.Dx.WopiServerDocumentDb.Utils
{
public class SettingsHelper
{
public static string ClientId {
get { return ConfigurationManager.AppSettings["ida:ClientId"]; ... |
Ciphers/Cifrario di Cesare/Cifrario di Cesare/Form1.cs | HarlockOfficial/awesome-hacktoberfest | 10 | 7033449 | 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 Esercizio_RadioButton
{
public partial class Form1 : Form
{
string testo;
... |
HousingSearchListener.Tests/V1/E2ETests/Steps/UpdateAccountDetailsSteps.cs | LBHackney-IT/search-listener | 0 | 7033450 | <gh_stars>0
using FluentAssertions;
using Hackney.Shared.HousingSearch.Gateways.Models.Assets;
using Hackney.Shared.HousingSearch.Gateways.Models.Persons;
using Hackney.Shared.HousingSearch.Gateways.Models.Tenures;
using HousingSearchListener.V1.Domain.Account;
using HousingSearchListener.V1.Domain.Tenure;
using Housi... |
Configuration.Encryption.Utility/CertificateInfo.cs | poke/Westerhoff.Configuration.Encryption | 0 | 7033451 | <filename>Configuration.Encryption.Utility/CertificateInfo.cs<gh_stars>0
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
namespace Westerhoff.Configuration.Encryption.Utility
{
/// <summary>
/// Certificate information.
/// </summary>
publ... |
src/TestStack.White/ScreenCapture.cs | JakeGinnivan/White | 1 | 7033452 | using System;
using System.Drawing;
using System.Runtime.InteropServices;
namespace TestStack.White
{
/// <summary>
/// Provides functions to capture the entire screen, or a particular window, and save it to a file.
/// </summary>
public class ScreenCapture
{
// This code is a mo... |
Program.cs | AndrewstheBuilder/blazor-loginpage | 48 | 7033453 | <reponame>AndrewstheBuilder/blazor-loginpage
using BlazorApp.Helpers;
using BlazorApp.Services;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace BlazorApp
{
public class Program
... |
sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/Models/AnomalyValue.cs | gjy5885/azure-sdk-for-net | 1 | 7033454 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.AI.AnomalyDetector.Models
{
/// <summary> The AnomalyValue. </summary>
public partial class AnomalyValue
... |
DigitalMenu.Api/Core/Helpers/TypeHelper.cs | FelipeAlmeid4/DigitalMenu | 0 | 7033455 | using System.Reflection;
namespace DigitalMenu.Api.Core.Helpers
{
public static class TypeHelper
{
public static bool IsPrimitiveExtendedIncludingNullable(Type type, bool includeEnums = false)
{
if (IsPrimitiveExtended(type, includeEnums))
{
return true;... |
osu.Framework/Graphics/Visualisation/Audio/AudioChannelDisplay.cs | Azyyyyyy/osu-framework | 0 | 7033456 | // Copyright (c) <NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Numerics;
using ManagedBass;
using ManagedBass.Mix;
using osu.Framework.Audio;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphi... |
Lib/ServiceModelEx/ServiceBus/Discovery/ServiceBusGraph.cs | ahoefling/ServiceModelEx.Examples | 3 | 7033457 | <filename>Lib/ServiceModelEx/ServiceBus/Discovery/ServiceBusGraph.cs
// © 2016 IDesign Inc. All rights reserved
//Questions? Comments? go to
//http://www.idesign.net
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.ServiceModel;
using System.... |
JSONDotNetSample/Program.cs | wbwiltshire/JsonDotNetSample | 0 | 7033458 | <reponame>wbwiltshire/JsonDotNetSample<filename>JSONDotNetSample/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using Newtonsoft.Json;
using EFDatabaseFirst.Data.Model;
using EFDatabaseFirst.Data.Model.Interfaces;
using EFDatabaseF... |
src/F1Manager.Leagues/DomainModels/LeagueMember.cs | nikneem/f1manager-api | 2 | 7033459 | using System;
using F1Manager.Shared.Base;
using F1Manager.Shared.Enums;
namespace F1Manager.Leagues.DomainModels
{
public class LeagueMember : DomainModel<Guid>
{
public Guid TeamId { get; set; }
public string TeamName { get; set; }
public int TeamPoints { get; set; }
... |
src/InstaSharp/Models/Responses/CommentsResponse.cs | theShiva/InstaSharp | 233 | 7033460 | using System.Collections.Generic;
namespace InstaSharp.Models.Responses
{
/// <summary>
/// Comments Response
/// </summary>
public class CommentsResponse : Response
{
/// <summary>
/// Gets or sets the data.
/// </summary>
/// <value>
/// The data.
... |
UnrealEngine-4.11.2-release/Engine/Plugins/Media/AvfMedia/Source/AvfMedia/AvfMedia.Build.cs | armroyce/Unreal | 1 | 7033461 | <reponame>armroyce/Unreal
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class AvfMedia : ModuleRules
{
public AvfMedia(TargetInfo Target)
{
DynamicallyLoadedModuleNames.AddRange(
new string[] {
"Media",
}
);
PrivateDependencyModuleNam... |
Ifc/IFC2X3/IfcDirection.cs | donghoon/ifctoolkit | 11 | 7033462 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using EbInstanceModel;
using IfcBase;
namespace IFC2X3
{
public partial class IfcDirection
{
public void MakeUnitVector()
{
if (DirectionRatios == null) return;
if (DirectionRati... |
09. Exercise XML Processing/Car Dealer/CarDealer.App/Models/CarPartsModel.cs | thelad43/Databases-Advanced-Entity-Framework-SoftUni | 0 | 7033463 | <gh_stars>0
namespace CarDealer.App.Models
{
using System.Collections.Generic;
public class CarPartsModel
{
public ShortCarModel Car { get; set; }
public List<ShortPartModel> Parts { get; set; }
}
} |
Source/RecruitmentManagementSystem.Data/Interfaces/IQuizPagesRepository.cs | BrainStation-23/recruitment-manager | 1 | 7033464 | <filename>Source/RecruitmentManagementSystem.Data/Interfaces/IQuizPagesRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RecruitmentManagementSystem.Model;
namespace RecruitmentManagementSystem.Data.Interfaces
{
public interface... |
Source/Praetorium/Services/ServiceFactoryBehavior.cs | jasonreimer/Praetorium | 0 | 7033465 | using System;
using System.Collections.ObjectModel;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;
namespace Praetorium.Services
{
public class ServiceFactoryBehavior : IServiceBehavior
{
private re... |
RediSearchCore/Controllers/FastFoodsController.cs | caiomarruda/AirportsRediSearchCore | 25 | 7033466 | using RediSearchCore.Core.Entities;
using RediSearchCore.Core.Interfaces;
using RediSearchCore.Core.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace RediSearchCore.Controllers
{
[Route("api/[controller]")]
[ApiController]
publi... |
bxl.Test/Construct.cs | DNCarroll/bxl | 0 | 7033467 | <reponame>DNCarroll/bxl
using NUnit.Framework;
using System.IO;
namespace bxl.ConstructorTesting {
[TestFixture]
public class Construct {
[Test]
public void Xlsx() => Assert(GetValidation("TestXLSXFile.xlsx"));
[Test]
public void Xls() => Assert(GetValidation("TestXLSXFile.x... |
Assets/Scripts/Core/AssetCache.cs | wxq127/gamebuilder | 242 | 7033468 | <gh_stars>100-1000
/*
* Copyright 2019 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
CarRentalSystem/Application/Features/Identity/Commands/CreateUser/CreateUserCommandValidator.cs | Valentin9003/Car-Rental-Dealers | 1 | 7033469 | <filename>CarRentalSystem/Application/Features/Identity/Commands/CreateUser/CreateUserCommandValidator.cs
using FluentValidation;
using static Domain.Models.ModelConstants.Common;
using static Domain.Models.ModelConstants.PhoneNumber;
namespace Application.Features.Identity.Commands.CreateUser
{
public class Cre... |
TcpServ/GameClient/Assets/Scripts/UIPanel/RegisterPanel.cs | zhengjinwei123/u3dStudy | 0 | 7033470 | <reponame>zhengjinwei123/u3dStudy
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using Common;
using System;
public class RegisterPanel : BasePanel {
private InputField usernameIF;
private InputField passwordIF;
private InputField repassword... |
Zookeeper.Mysql/Zookeeper.Mysql/ZooKeeper/ConnectionWatcher.cs | ErikXu/zookeeper-connection-management | 1 | 7033471 | using System.Threading.Tasks;
using org.apache.zookeeper;
namespace Zookeeper.Mysql.ZooKeeper
{
public class ConnectionWatcher : Watcher
{
private readonly IZookeeperHandler _zookeeperService;
public ConnectionWatcher(IZookeeperHandler zookeeperService)
{
_zookeeperService... |
Track.cs | reeve/SlimCliLib | 1 | 7033472 | /*
* Copyright 2016 <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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
src/Altinn.Apps/AppTemplates/AspNet/App.IntegrationTests/Data/apps/nsm/klareringsportalen/models/epob.cs | altinnadmin/altinn-studio | 85 | 7033473 | <reponame>altinnadmin/altinn-studio
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using System.Xml.Serialization;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Newtonsoft.Json;
#pr... |
ConsoleToolkit/CommandLineInterpretation/CommandOption.cs | jamie-davis/ConsoleTools | 7 | 7033474 | using System;
using System.Collections.Generic;
using System.Linq;
using ConsoleToolkit.Exceptions;
using ConsoleToolkit.Utilities;
namespace ConsoleToolkit.CommandLineInterpretation
{
/// <summary>
/// A command option. The framework must be able to convert the user's input strings from the command
... |
src/JCSoft.WX.Framework/Models/Requests/RequestVoiceMessage.cs | TaoGame/JCWXCore | 54 | 7033475 | <reponame>TaoGame/JCWXCore<gh_stars>10-100
using System.Xml.Linq;
namespace JCSoft.WX.Framework.Models.Requests
{
public class RequestVoiceMessage : RequestMessage
{
public RequestVoiceMessage(XElement xml):base(xml)
{
this.MediaId = xml.Element("MediaId").GetValue();
t... |
C#/Advanced Features/Progress Reporting And Cancellation/ProgressReportingInConsole/Program.cs | cnxy/GemBox.Spreadsheet.Examples | 20 | 7033476 | using System;
using GemBox.Spreadsheet;
class Program
{
static void Main()
{
// If using Professional version, put your serial key below.
SpreadsheetInfo.SetLicense("FREE-LIMITED-KEY");
// Use Trial Mode
SpreadsheetInfo.FreeLimitReached += (eventSender, args) => args.FreeLimitR... |
src/Generation/GirLoader/Input/Signal.cs | GirCore/gir.core | 2 | 7033477 | <filename>src/Generation/GirLoader/Input/Signal.cs
using System.Xml.Serialization;
namespace GirLoader.Input
{
public class Signal
{
[XmlAttribute("name")]
public string? Name { get; set; }
[XmlElement("return-value", Namespace = "http://www.gtk.org/introspection/core/1.0")]
p... |
src/DotNetRevolution.Logging.Serilog/LoggerFactory.cs | DotNetRevolution/DotNetRevolution-Framework | 1 | 7033478 | using System;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Threading.Tasks;
using DotNetRevolution.Core.Logging;
using DotNetRevolution.Logging.Serilog.Sink;
using Serilog;
using Serilog.Core;
using ILogger = DotNetRevolution.Core.Logging.ILogger;
namespace DotNetRevolution.Logging.Serilog
{
... |
src/Symbol.Data.MySql/MySqlDialect.cs | symbolspace/Symbol.Data | 8 | 7033480 | /*
* author:symbolspace
* e-mail:<EMAIL>
*/
using System.Data;
using System.Reflection;
namespace Symbol.Data {
/// <summary>
/// MySql 方言
/// </summary>
public class MySqlDialect : Dialect {
#region methods
#region PreName
/// <summary>
/// 对字段、通用名称进行预处理(语法... |
compiled/csharp/EnumIntRangeS.cs | smarek/ci_targets | 4 | 7033481 | // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
namespace Kaitai
{
public partial class EnumIntRangeS : KaitaiStruct
{
public static EnumIntRangeS FromFile(string fileName)
{
return new EnumIntRangeS(new KaitaiStream(fileName));
... |
WDE.DatabaseEditors/Services/QueryParserService.cs | T1ti/WoWDatabaseEditor | 0 | 7033482 | <filename>WDE.DatabaseEditors/Services/QueryParserService.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Prism.Ioc;
using WDE.Common;
using WDE.Common.Services;
using WDE.Common.Services.QueryParser;
using WDE.Common.Services.QueryPars... |
WindowsMonitor.Standard/Hardware/Storage/HBA/HbaScsiId.cs | Biztactix/WindowsMonitor | 16 | 7033483 | <filename>WindowsMonitor.Standard/Hardware/Storage/HBA/HbaScsiId.cs<gh_stars>10-100
using System.Collections.Generic;
using System.Management;
namespace WindowsMonitor.Hardware.Storage.HBA
{
/// <summary>
/// </summary>
public sealed class HbaScsiId
{
public ushort[] OsDeviceName { get; private set; ... |
Monster.System/Services/System/Sys_MenuService.cs | guipie/Api | 3 | 7033484 | <reponame>guipie/Api<filename>Monster.System/Services/System/Sys_MenuService.cs
using Monster.Sys.IRepositories;
using Monster.Sys.IServices;
using Monster.Core.BaseProvider;
using Monster.Core.Extensions.AutofacManager;
using Monster.Entity.DomainModels;
namespace Monster.Sys.Services
{
public partial class Sys_... |
Assets/IntrestPointSpawner.cs | dudemandando/PartnerHack | 0 | 7033485 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IntrestPointSpawner : MonoBehaviour
{
public POIManager poiManager;
public GameObject intrestPointPrefab;
public Type disasterType;
public GameObject pointOfIntrestPrefab;
void Start()
{
... |
Pacman/Foods/LittleGoal.cs | pipe111/Pacman | 0 | 7033486 | using PacMan.Abstracts;
namespace PacMan.Foods
{
class LittleGoal: Food
{
public LittleGoal(Position position) : base(position)
{
id = "littlegoal";
idchar = (char)183;
Score = 10;
}
}
}
|
Client/FormClient.cs | lt8300877/RemoteMonitor | 6 | 7033487 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HslCommunication.Enthernet;
using HslCommunication.Core.Net;
using Newtonsoft.Json.Linq;
namespace Client
{
public partial c... |
src/Zhibiao.FastDFS.Client/DownloadStream.cs | huang-zhibiao/Zhibiao | 0 | 7033489 | <reponame>huang-zhibiao/Zhibiao
using System.IO;
namespace Zhibiao.FastDFS.Client
{
/// <summary>
/// author zhouyh
/// version 1.0
/// </summary>
public class DownloadStream : DownloadCallback
{
private Stream output;
private long currentBytes = 0;
public DownloadStre... |
Server/Game/Communication/Messages/Incoming/WinHatIncomingMessage.cs | RMXdotEXE/Platform-Racing-3-Backend | 0 | 7033490 | using Platform_Racing_3_Server.Game.Client;
using Platform_Racing_3_Server.Game.Communication.Messages.Incoming.Json;
using System;
using System.Collections.Generic;
using System.Text;
using Platform_Racing_3_Common.User;
namespace Platform_Racing_3_Server.Game.Communication.Messages.Incoming
{
internal class Win... |
Source/Tools/SharpGen/Doc/DocProviderMsdn.cs | shoelzer/SharpDX | 0 | 7033491 | using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using HtmlAgilityPack;
using ICSharpCode.SharpZipLib.Zip;
using Microsoft.JScript;
using SharpCore;
using... |
src/ExtendedXmlSerializer/ContentModel/Reflection/VariableTypeSpecification.cs | Synnotech-AG/VweXmlSetCollectionsError | 146 | 7033492 | using System;
using System.Reflection;
using ExtendedXmlSerializer.Core.Sources;
using ExtendedXmlSerializer.Core.Specifications;
using ExtendedXmlSerializer.ReflectionModel;
namespace ExtendedXmlSerializer.ContentModel.Reflection
{
sealed class VariableTypeSpecification : DecoratedSpecification<Type>, IVariableTypeS... |
src/SFA.DAS.ProviderCommitments/SFA.DAS.ProviderCommitments.Web.UnitTests/Controllers/DraftApprenticeshipControllerTests/DraftApprenticeshipControllerTestFixture.cs | SkillsFundingAgency/das-providercommitments | 3 | 7033493 | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture;
using AutoFixture.Dsl;
using FluentAssertions;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Shared.Interface... |
ex05/ex05.cs | fabiodias97/Exercicio-CSharp | 0 | 7033494 | using System;
namespace ex05
{
class Exercicio05
{
static void Main(string[] args)
{
float media, nota1, nota2, nota3, nota4;
media=nota1=nota2=nota3=nota4=0;
string nome;
Console.Write("Qual é o seu nome? ");
nome = Console... |
src/Tests/Microsoft.DotNet.TemplateLocator.Tests/GivenAnTemplateLocator.cs | Esgariot/sdk | 2 | 7033495 | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using FluentAssertions;
using System.IO;
using Xunit;
using Xunit.Abstractions;
using Microsoft.NET.TestFramework;
using System.Lin... |
VkNet/Abstractions/Category/IAudioCategory.cs | SugarPike/vk | 0 | 7033496 | using System;
using System.Collections.Generic;
using VkNet.Enums;
using VkNet.Enums.Filters;
using VkNet.Model;
using VkNet.Model.Attachments;
using VkNet.Model.RequestParams;
using VkNet.Utils;
namespace VkNet.Abstractions
{
/// <inheritdoc />
/// <summary>
/// Методы для работы с аудиозаписями.
/// </summary>
... |
src/Serilog.Sinks.Telegram/LoggerConfigurationTelegramExtensions.cs | zoinkydoink/Serilog.Sinks.Telegram | 0 | 7033497 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="LoggerConfigurationTelegramExtensions.cs" company="Häm<EMAIL>">
// The project is licensed under the MIT license.
// </copyright>
// <summary>
// Provides extension methods on <... |
oxide/plugins/rust/HitIcon.cs | john-clark/rust-oxide-umod | 13 | 7033498 | using UnityEngine;
using System;
using Oxide.Game.Rust.Cui;
using System.Collections;
using System.Collections.Generic;
using Oxide.Core;
using Oxide.Core.Plugins;
using System.IO;
namespace Oxide.Plugins {
[Info("HitIcon", "serezhadelaet", "1.5.9", ResourceId = 1917)]
[Description("Configurable precached icon ... |
src/Html2OpenXml/Primitives/HighlightColor.cs | microting/html2openxml | 0 | 7033499 | <filename>src/Html2OpenXml/Primitives/HighlightColor.cs
/* Copyright (C) <NAME> https://github.com/onizet/html2openxml - All Rights Reserved
*
* This source is subject to the Microsoft Permissive License.
* Please see the License.txt file for more information.
* All other rights reserved.
*
* THIS CODE AND INFO... |
Fido2Net/API/FidoAuthFlags.cs | borrrden/Fido2Net | 9 | 7033500 | using System;
namespace Fido2Net
{
/// <summary>
/// Flags set on either a <see cref="FidoCredential"/> or a <see cref="FidoAssertionStatement"/>
/// </summary>
[Flags]
public enum FidoAuthFlags : byte
{
/// <summary>
/// The user was present for the credential/assertion genera... |
SharpMedia/Logging/Local/LocalLoggerManager.cs | zigaosolin/SharpMedia | 0 | 7033501 | // This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team
// and is licensed for your use under the conditions of the NDA or other legally binding contract
// that you or a legal entity you represent has signed with the SharpMedia team.
// In an event that you have received or obtained ... |
Script/UI/UITestProcedure.cs | SaiTingHu/HTFrameworkDemo | 7 | 7033502 | <gh_stars>1-10
namespace HT.Framework.Demo
{
/// <summary>
/// 新建流程
/// </summary>
public class UITestProcedure : ProcedureBase
{
/// <summary>
/// 进入流程
/// </summary>
/// <param name="lastProcedure">上一个离开的流程</param>
public override void OnEnter(ProcedureBase ... |
source/TetraPak.XP.Identity/UserInformationServiceHelper.cs | Tetra-Pak-APIs/TetraPak.XP | 0 | 7033503 | using Microsoft.Extensions.DependencyInjection;
using TetraPak.XP.Auth;
using TetraPak.XP.Auth.Abstractions;
using TetraPak.XP.Web.Http;
namespace TetraPak.XP.Identity
{
public static class UserInformationServiceHelper
{
static readonly object s_syncRoot = new();
static bool s_isUserInformatio... |
src/Symbol.Data.SQLite/SQLite/Functions/newId.cs | symbolspace/Symbol.Data | 8 | 7033504 | /*
* author:symbolspace
* e-mail:<EMAIL>
*/
using System;
namespace Symbol.Data.SQLite.Functions {
#pragma warning disable CS1591
/// <summary>
/// 获取一个Guid(与Sql Server的完全相同)。
/// </summary>
[SQLiteFunction(Name = "newId", Arguments = 0, Type = FunctionTypes.Scalar)]
public class newId : ... |
Utility.UnitTests/Network/Tracker/ClientSetupTests.cs | MalauD/Musics-Free-musics-player | 6 | 7033505 | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Utility.Network.Tracker;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Sockets;
using System.Net;
using System.Threading;
namespace Utility.Network.Tracker.Te... |
SWP391/Utility/Filter.cs | dtd91/online_learning_SWP391 | 0 | 7033506 | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Routing;
namespace SWP391.Utility
{
public class Filter : IActionFilter
{
public void OnActionExecuted(ActionExecutedContext context)
{
}
public void OnActionExecuti... |
SectionDesign/ListOfLikeBars.cs | mikara89/EuroCodeCalculator | 0 | 7033507 | using System.Collections.ObjectModel;
namespace SectionDesign
{
public class ListOfLikeBars : ObservableCollection<LinkBar>
{
public double GetSumVh()
{
double result=0;
foreach (var item in this)
{
result =+ item.Vh;
}
... |
ScadaWeb/ScadaWeb/ScadaWebCommon/WebPath.cs | chencai01/scada-v6 | 1 | 7033508 | /*
* Copyright 2022 Rapid Software LLC
*
* 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 or... |
src/CachingFramework.Redis/Contracts/BitfieldType.cs | ali-joghataei/CachingFramework.Redis | 262 | 7033509 | <gh_stars>100-1000
using System;
namespace CachingFramework.Redis.Contracts
{
/// <summary>
/// Enum BitfieldType
/// </summary>
public enum BitfieldType
{
/// <summary>Unsigned integer of 1 bit. (0 to 1).</summary>
u1,
/// <summary>Unsigned integer of 2 bits. (0 to 3).</sum... |
source/BinaryAssetBuilder.XmlCompiler/Marshaler.FXList.cs | Qibbi/BinaryAssetBuilder | 7 | 7033510 | <reponame>Qibbi/BinaryAssetBuilder<filename>source/BinaryAssetBuilder.XmlCompiler/Marshaler.FXList.cs
using Relo;
using SageBinaryData;
public static partial class Marshaler
{
public static unsafe void Marshal(Node node, FXNugget* objT, Tracker state)
{
if (node is null)
{
return;
... |
Models/SlickSettingsPartRecord.cs | grapto/js.Slick | 1 | 7033511 | using Orchard.ContentManagement.Records;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace js.Slick.Models
{
public class SlickSettingsPartRecord: ContentPartRecord
{
public virtual bool AutoEnable { get; set; }
public virtual bool AutoEnableAdmin {... |
osu.Framework.Font.Tests/Graphics/TextIndexTest.cs | andy840119/osu-framework-font | 1 | 7033512 | // Copyright (c) karaoke.dev <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using NUnit.Framework;
using osu.Framework.Graphics.Sprites;
namespace osu.Framework.Font.Tests.Graphics
{
[TestFixture]
public class TextIndex... |
src/Chromely/Native/LinuxGtk3/LinuxNativeMethods.cs | 8/Chromely | 0 | 7033513 | using System;
using System.Runtime.InteropServices;
namespace Chromely.Native
{
internal class LinuxNativeMethods
{
internal const string GtkLib = "libgtk-3.so.0";
internal const string GObjLib = "libgobject-2.0.so.0";
internal const string GdkLib = "libgdk-3.so.0";
internal co... |
src/SFA.DAS.AssessorService.ExternalApi.Client/Controls/Certificates/CreateWindow.xaml.cs | FISSS-Apprentice/das-assessor-service-external-apiclient | 5 | 7033514 | namespace SFA.DAS.AssessorService.ExternalApi.Client.Controls.Certificates
{
using Microsoft.Win32;
using SFA.DAS.AssessorService.ExternalApi.Client.Helpers;
using SFA.DAS.AssessorService.ExternalApi.Client.Properties;
using SFA.DAS.AssessorService.ExternalApi.Core.Infrastructure;
using SFA.DAS.Ass... |
Server2020/02.WebServer-AsynchronousProcessing/ProcesClientAsync/Program.cs | dinikolaeva/WebBasics-CSharp | 0 | 7033515 | <gh_stars>0
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace ProcesClientAsync
{
class Program
{
//const for new line in HTTP, only!!!
const string NewLine = "\r\n";
static async Task Main(string[] args)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.