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 |
|---|---|---|---|---|
Web/OpenKO_WEB/OpenKO_WEB/Views/Home/Index.cshtml | APistole/KnightOnline | 191 | 7034872 | @{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@{Html.RenderPartial("SwfHeader");}
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td width="100%" valign="top" align="left">
<div style="margin-left: 50px;">
<table width="1000... |
Models/EventValueModel.cs | barnstee/UA-MQTT-Publisher | 0 | 7034873 | <gh_stars>0
namespace Opc.Ua.Cloud.Publisher.Models
{
using Opc.Ua;
public class EventValueModel
{
public string Name { get; set; }
public DataValue Value { get; set; }
}
}
|
AcademyDota2Lobby/AcademyDota2Lobby/Util/Extensions.cs | GabrielCSTR/AcademyDota2Lobby | 0 | 7034874 |
using SteamKit2;
using System;
namespace AcademyDota2Lobby.Util
{
public static class Extensions
{
/// <summary>
/// Add a callback
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="manager">callback manager</param>
/// <param name="cb">c... |
Source/EstateSocialSystem/EstateSocialSystem.Web/Areas/Forum/ViewModels/ForumIndex/IndexListBlogPostViewModel.cs | Georgegig/EstateSocialSystem | 0 | 7034875 | <gh_stars>0
namespace EstateSocialSystem.Web.Areas.Forum.ViewModels
{
using System;
using System.Collections.Generic;
public class IndexListBlogPostViewModel
{
public string SortBy { get; set; }
public int CurrentPage { get; set; }
public int TotalPages { get; set; }
... |
src/neoxp/Commands/ShowCommand.Block.cs | neo-project/neo-express | 17 | 7034876 | <gh_stars>10-100
using System;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
namespace NeoExpress.Commands
{
partial class ShowCommand
{
[Command("block", Description = "Show block")]
internal class Block
{
readonly IExpressChainManagerFactory cha... |
FairyGUI/Scripts/UI/UIContentScaler.cs | fairygui/FairyGUI-cryengine | 29 | 7034877 | using CryEngine;
using FairyGUI.Utils;
namespace FairyGUI
{
public class UIContentScaler
{
/// <summary>
///
/// </summary>
public enum ScreenMatchMode
{
MatchWidthOrHeight,
MatchWidth,
MatchHeight
}
/// <summary>
///
/// </summary>
public static float scaleFactor... |
src/Comformation/Generated/Config/DeliveryChannel/DeliveryChannelResource.cs | stanb/Comformation | 17 | 7034878 | using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.Config.DeliveryChannel
{
/// <summary>
/// AWS::Config::DeliveryChannel
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-deliverychannel.html
/// </summary... |
src/MicroOrm.Dapper.Repositories/SqlGenerator/SqlGenerator.GetUpdate.cs | phmzum/MicroOrm.Dapper.Repositories | 0 | 7034879 | <reponame>phmzum/MicroOrm.Dapper.Repositories<filename>src/MicroOrm.Dapper.Repositories/SqlGenerator/SqlGenerator.GetUpdate.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using MicroOrm.Dapper.Repositories.Attributes;
using MicroO... |
editor source/SPNATI Character Editor/DataStructures/Case.cs | laytonc32/spnati | 0 | 7034880 | using Desktop;
using Desktop.CommonControls;
using Desktop.CommonControls.PropertyControls;
using Desktop.DataStructures;
using Desktop.Reporting;
using Newtonsoft.Json;
using SPNATI_Character_Editor.IO;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
... |
src/Emisstar/Testing/TestHandler.cs | Codestellation/Emisstar | 0 | 7034881 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Codestellation.Emisstar.Testing
{
public class TestHandler<TMessage> : IHandler<TMessage>
{
private readonly List<TMessage> _messages;
private readonly ManualResetEventSlim _called;
... |
140_UnitTestingWithIoC/Tests.cs | voloda/IoCTasks | 11 | 7034882 | using NUnit.Framework;
namespace UnitTestingWithIoC
{
[TestFixture]
public class CalculatorTests
{
[Test]
public void Calculate()
{
Assert.Fail("To be implemented");
}
}
}
|
Official/OSS.SnsSdk.Official.Wx/SmallApp/WxOffAppQrApi.cs | cnxy/OSS.SnsSdk | 0 | 7034883 | <reponame>cnxy/OSS.SnsSdk<filename>Official/OSS.SnsSdk.Official.Wx/SmallApp/WxOffAppQrApi.cs
#region Copyright (C) 2017 Kevin (OSS开源作坊) 公众号:osscoder
/***************************************************************************
* 文件功能描述:小程序接口 —— 用户模块接口
*
* 创建人: Kevin
* 创建人Email:<EMAIL>
* 创建日期:2017-2-5
* ... |
Src/NCSocketServer/SocketServer/Command/UnlockCommand.cs | arstorey/NCache | 1 | 7034884 | <gh_stars>1-10
// Copyright (c) 2018 Alachisoft
//
// 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 ... |
Faraboom.Framework/DataAccess/UnitOfWork/UnitOfWorkProvider.cs | faraboom/framework | 0 | 7034885 | <gh_stars>0
namespace Faraboom.Framework.DataAccess.UnitOfWork
{
using System;
using Faraboom.Framework.DataAccess.Context;
using Faraboom.Framework.DataAnnotation;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
[ServiceLifetime(Microsoft.Extensions.DependencyInjectio... |
EdgeDeflector/Program.cs | samarthc/EdgeDeflector | 0 | 7034886 | /*
* Copyright © 2017–2021 <NAME>
* SPDX-License-Identifier: MIT
* License-Filename: LICENSE
*/
using System;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Text.RegularExpressions;
using System.Web;
namespace EdgeDeflector
{
class Program
{
static bool IsUri(string u... |
Assets/AkyuiUnity/Runtime/Interface.cs | aisinker/AkyuiUnity | 0 | 7034887 | using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEngine;
namespace AkyuiUnity
{
public static class Const
{
public const string AkyuiVersion = "1.1.10";
}
public class LayoutInfo
{
[NotNull] public string Name;
public readonly uint Has... |
src/ICalendar/GeneralInterfaces/ICalendarComponent.cs | UHCalendarTeam/ANtICalendar | 7 | 7034888 | using System.Collections.Generic;
namespace ICalendar.GeneralInterfaces
{
/// <summary>
/// Define the behavior of the CalendarComponents objects.
/// ICalendarComponent object represents the iCalendar components:
/// VEVENT, VTODO, VTIMEZONE, VFREEBUSY, VJOURNAL, VALARAM, Standard and Day... |
13.Workshop/Forum.App/Contracts/IForumViewEngine.cs | ShadyObeyd/CSharp-OOP-Advanced-March2018 | 1 | 7034889 | <filename>13.Workshop/Forum.App/Contracts/IForumViewEngine.cs<gh_stars>1-10
public interface IForumViewEngine
{
void RenderMenu(IMenu menu);
void Mark(ILabel label, bool highlighted = true);
void SetBufferHeight(int rows);
void ResetBuffer();
} |
ScorpGunluk.W10/obj/x86/Debug/Layouts/Detail/RelatedContentDetailLayout.g.cs | onurcelikeng/ScorpGunluk | 0 | 7034890 | #pragma checksum "C:\Users\onurcelikeng\Documents\Visual Studio 2015\Projects\ScorpGunluk\ScorpGunluk.W10\Layouts\Detail\RelatedContentDetailLayout.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B519B79958CC600F21A7F973F964E21B"
//------------------------------------------------------------------------------
// <au... |
CryptographyProject/CryptographyProject/View/Main.cs | nemanjapetrovic/cryptography-course-elfak | 1 | 7034891 | <reponame>nemanjapetrovic/cryptography-course-elfak<filename>CryptographyProject/CryptographyProject/View/Main.cs
using System;
using System.Drawing;
using System.Windows.Forms;
using CryptographyProject.Controller;
using CryptographyProject.Model;
using CryptographyProject.EncryptionAlgorithms;
namespace Cryptograph... |
src/AutoMapper/Execution/DelegateFactory.cs | deryaza/AutoMapper | 1 | 7034892 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using AutoMapper.Internal;
namespace AutoMapper.Execution
{
using static Expression;
using static Internal.ExpressionFactory;
using static Ele... |
src/Leftware.Tools.LocalServer/Models/TaskExecutionResult.cs | jhonnycano/leftware-tools | 0 | 7034893 | namespace Leftware.Tools.LocalServer.Models
{
public class TaskExecutionResult
{
public bool Success { get; set; }
public string Console { get; set; }
public string ExceptionMessage { get; internal set; }
}
}
|
xamarin/forms/Sextant242/Splash/MainViewModel.cs | RLittlesII/ReactiveUI.Sandbox | 8 | 7034894 | using ReactiveUI;
using Sextant;
namespace Splash
{
public class MainViewModel : ReactiveObject, IViewModel
{
public string Id { get; }
}
} |
Oqtane.Server/Modules/Itm.DailyWorkRecords/Repository/ShiftRepository.cs | Bitexirtz/oqtane.framework | 0 | 7034895 | <reponame>Bitexirtz/oqtane.framework<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using Itm.DailyWorkRecords.Models;
using Microsoft.EntityFrameworkCore;
namespace Itm.DailyWorkRecords.Repository
{
public class ShiftRepository : IShiftRepository
{
private readonly DailyWorkRecordCon... |
Http/src/ZarDevs.Http.DependencyInjection/HttpConfigure.cs | goofybryan/ZarDevs | 1 | 7034896 | using System;
using ZarDevs.DependencyInjection;
using ZarDevs.Runtime;
namespace ZarDevs.Http.Client
{
/// <summary>
/// Configure the Http bindings.
/// </summary>
public static class HttpConfigure
{
#region Methods
/// <summary>
/// This is used to create HttpRequest ha... |
workers/unity/Assets/Playground/Scripts/OneTimeInitialisation.cs | gdk-for-unity-bot/gdk-for-unity | 0 | 7034898 | <gh_stars>0
using Improbable.Gdk.Core;
using Improbable.Gdk.PlayerLifecycle;
using Unity.Entities;
using UnityEngine;
namespace Playground
{
public static class OneTimeInitialisation
{
private static bool initialized;
[RuntimeInitializeOnLoadMethod]
private static void Init()
{... |
src/Skinet.BusinessLogic/Core/Dtos/IdentityDtos/UserAddressDto.cs | sayan95/skinet-shopper | 0 | 7034899 | namespace Skinet.BusinessLogic.Core.Dtos.IdentityDtos
{
public class UserAddressDto
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Street { get; set; }
public string City { get; set; }
public string State { get; set; }
... |
Identity.Validation/Interfaces/IIdentification.cs | louisevanderlith/Identity.Validation | 0 | 7034900 | <reponame>louisevanderlith/Identity.Validation
using System;
namespace Identity.Validation.Interfaces
{
public interface IIdentification
{
string RawNumber { get; }
DateTime DateOfBirth { get; }
Gender Gender { get; }
Citizenship Citizenship { get; }
bool IsValid { ... |
PackageAnalyzer/MumAssemblyIdentityElement.cs | SpotLabsNET/PackageAdjuster | 0 | 7034901 | // Decompiled with JetBrains decompiler
// Type: PackageInspector.MumAssemblyIdentityElement
// Assembly: PackageAnalyzer, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: 08ED7AEB-6DDC-4214-9AA0-ED5C92BB11BD
// Assembly location: C:\ProgramData\SpotLabs\Utilities\mum\PackageAnalyzer.dll
usi... |
YAPA.WPF.Themes/YAPA/YapaThemeSettingWindow.xaml.cs | arigatory/YAPA-2 | 344 | 7034902 | <reponame>arigatory/YAPA-2<filename>YAPA.WPF.Themes/YAPA/YapaThemeSettingWindow.xaml.cs<gh_stars>100-1000
using System;
using System.Globalization;
using System.Windows.Controls;
using System.Windows.Data;
namespace YAPA.WPF.Themes.YAPA
{
public partial class YapaThemeSettingWindow : UserControl
{
pub... |
src/Extensions.Grasshopper/Discrete/CurveSnap.cs | visose/Extensions | 4 | 7034903 | <gh_stars>1-10
using Grasshopper.Kernel;
using Rhino.Geometry;
using Grasshopper.Kernel.Parameters;
namespace Extensions.Grasshopper;
public class CurveSnap : GH_Component
{
public CurveSnap() : base("Curve Snap", "CrvSnap", "Snaps curves to discrete intervals and directions.", "Extensions", "Discrete") { }
... |
src/linker/Linker.Dataflow/DiagnosticContext.cs | jtschuster/linker | 0 | 7034904 | // 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 Mono.Linker;
namespace ILLink.Shared.TrimAnalysis
{
public readonly partial struct DiagnosticContext
{
public readonly MessageOrigin O... |
iFactr.Wpf/UIBuilder/ImageData.cs | Zebra/iFactr-WPF | 3 | 7034905 | <filename>iFactr.Wpf/UIBuilder/ImageData.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using iFactr.Core;
using MonoCross;
using MonoCros... |
src/Hangfire.Dashboard.Management/Pages/ManagementSidebarMenu.cs | xjoker/Hangfire.Dashboard.Management | 56 | 7034906 | <reponame>xjoker/Hangfire.Dashboard.Management
using System;
using System.Collections.Generic;
namespace Hangfire.Dashboard.Management.Pages
{
public static class ManagementSidebarMenu
{
public static List<Func<RazorPage, MenuItem>> Items = new List<Func<RazorPage, MenuItem>>();
}
} |
template/aspnet-controller/function/Startup.cs | goncalo-oliveira/faas-aspnet-template | 18 | 7034907 | using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace OpenFaaS
{
public class Startup
{
public Startup( IConfiguration configuration )
{
Configuration = ... |
Votiee/VotieeBackend/Controllers/StatisticsOverviewController.cs | Rotvig/Votiee | 0 | 7034908 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Principal;
using System.Web.Http;
using Microsoft.AspNet.Identity;
using VotieeBackend.Models;
namespace VotieeBackend.Controllers
{
[RoutePrefix("api/StatisticsOverview")]
public ... |
JeuVideoJoliette/Assets/City Builder Template/Scripts/ui/windows/scene_entering_window/SceneEnteringWindowScript.cs | MartinDesrosiers/JeuVideoJoliette | 0 | 7034909 | <filename>JeuVideoJoliette/Assets/City Builder Template/Scripts/ui/windows/scene_entering_window/SceneEnteringWindowScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class SceneEnteringWindowScript : WindowScript {
public Action OnInt... |
Src/Nacha.Core/BatchHeaderRecord.cs | mycargus/nacho-nacha | 11 | 7034910 | using System;
namespace Nacha.Core
{
public class BatchHeaderRecord : INachaFileService
{
public enum RequiredFieldLength
{
RecordTypeCode = 1,
ServiceClassCode = 3,
CompanyName = 16,
CompanyDiscretionaryData = 20,
CompanyIdentification = 10,
StandardEntryClass... |
BTCPayServer.Data/Data/APIKeyData.cs | whodafuh/btcpayserver | 1 | 7034911 | using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace BTCPayServer.Data
{
public class APIKeyData
{
[MaxLength(50)]
public string Id
{
get;
set;
}
[MaxLength(50)] public string StoreId { get; set; }
... |
sdk/videoanalyzer/Microsoft.Azure.Management.VideoAnalyzer/src/Generated/Models/RtspSource.cs | gjy5885/azure-sdk-for-net | 3,268 | 7034912 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
lang/cs/Org.Apache.REEF.Examples/Tasks/StreamingTasks/StreamTask2.cs | tmajest/incubator-reef | 0 | 7034913 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
Assets/Scripts/MusicText.cs | tlawork/Unity-MIDI-Piano | 94 | 7034914 | <filename>Assets/Scripts/MusicText.cs
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class MusicText : MonoBehaviour
{
public Text Details;
public CanvasGroup CanvasGroup;
IEnumerator Sequence(string detailText)
{
yield return new WaitForSeconds(5);
... |
osu.Game/Screens/Edit/Setup/RulesetSetupSection.cs | peppy/osu-new | 1 | 7034915 | <reponame>peppy/osu-new
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Localisation;
using osu.Game.Rulesets;
namespace osu.Game.Screens.Edit.Setup
{
public abstract class Ru... |
Ecommerce/Models/Order.cs | ratta2ii/ProjectTesting | 2 | 7034916 | <reponame>ratta2ii/ProjectTesting
using System.Collections.Generic;
using System;
namespace Ecommerce.Models
{
public class Order
{
public int OrderId { get; set; }
public int CustomerId { get; set; }
public int Total { get; set; }
public DateTime Date { get; set; }
pu... |
src/MatatakiBot.Core/Middlewares/PrivateChatMiddleware.cs | Matataki-io/Matataki-Telegram-Bot | 6 | 7034917 | <reponame>Matataki-io/Matataki-Telegram-Bot
using MatatakiBot.Services.Impls;
using System.Collections.Generic;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
namespace MatatakiBot.Middlewares
{
class PrivateChatMiddleware : IMessageMiddleware
{
private readonly PrivateChatService _privateC... |
src/AccountCenterWeb/Pages/ModifyPassword.cshtml.cs | appsonsf/FabricSSO | 15 | 7034918 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AccountCenterWeb.Extension;
using AccountCenterWeb.Model;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using OpenApiClient.Md... |
BrumWithMe/Services/BrumWithMe.Services.Providers/Mapping/Profiles/WebMappingProfile.cs | RuzmanovDev/BrumWithMe | 0 | 7034919 | <reponame>RuzmanovDev/BrumWithMe
using AutoMapper;
using BrumWithMe.Data.Models.CompositeModels;
using BrumWithMe.Data.Models.CompositeModels.Review;
using BrumWithMe.Data.Models.CompositeModels.Trip;
using BrumWithMe.Data.Models.Entities;
using BrumWithMe.Web.Models.Manage;
using BrumWithMe.Web.Models.Review;
using B... |
src/BookCrossingBackEnd/Migrations/20201011142419_AddingColumnRatingPredictionToBook.cs | ita-social-projects/Bookcrossing-Back-End | 6 | 7034920 | using Microsoft.EntityFrameworkCore.Migrations;
namespace BookCrossingBackEnd.Migrations
{
public partial class AddingColumnRatingPredictionToBook : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<float>(
name: ... |
Assets/Scripts/TerrainGenerator.cs | Llarence/Cooked-Game | 1 | 7034921 | <reponame>Llarence/Cooked-Game
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Collections.Concurrent;
using System.Threading;
class meshDataAndPos{
public Vector3[] verts;
public int[] tris;
public Vector3 pos;
}
public class TerrainGenerator : MonoBehaviour
{
publ... |
src/MahApps.Metro.SimpleChildWindow/Properties/AssemblyInfo.cs | sgyalta/MahApps.Metro.SimpleChildWindow | 0 | 7034922 | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("MahApps.Metro.SimpleChildWindow")]
[assembly: AssemblyDescription("A simple child window for MahApps.Metro")]
[assembly: AssemblyCompany("MahApps")]
[assembly: AssemblyCopyright("Copyright © <NAME> 2014-2017... |
src/Test/TestObjects/Activities/ExpressionTransform/TestExpression.cs | aTiKhan/corewf | 443 | 7034923 | // This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
using System;
using System.Activities;
using System.Activities.Expressions;
using System.Activities.Statements;
using System.Linq.Expressions;
namespace Test.Common.TestObject... |
WebJournal2.API/Controllers/EntriesController.cs | BartoszMiz/WebJournal2 | 0 | 7034925 | <reponame>BartoszMiz/WebJournal2<filename>WebJournal2.API/Controllers/EntriesController.cs<gh_stars>0
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using WebJournal2.API.Services;
using WebJournal2.API.Core.Models;
namespace WebJournal2.API.C... |
src/AppStudio.Uwp/Extensions/StringExtensions.cs | alekseyb7880/waslibs | 365 | 7034926 | <reponame>alekseyb7880/waslibs
using Windows.ApplicationModel.Resources;
namespace AppStudio.Uwp
{
public static class StringExtensions
{
public static string StringResource(this string self)
{
return Singleton<ResourceLoader>.Instance.GetString(self);
}
}
}
|
tests/Rhinobyte.Extensions.DependencyInjection.Tests/DependencyInjection/ServiceRegistrationConventionBaseTests.cs | RhinobyteSoftware/DependencyInjectionExtensions | 1 | 7034927 | using ExampleLibrary1;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Rhinobyte.Extensions.Reflection.AssemblyScanning;
using System;
using System.Linq;
using static FluentAssertions.FluentActions;
namespace Rhinobyte.Extensions.Depend... |
unity-client/Assets/Scripts/MainScripts/DCL/Controllers/HUD/BuilderProjectsPanel/Tests/SectionSceneGeneralSettingsViewShould.cs | Marguelgtz/explorer | 1 | 7034928 | <reponame>Marguelgtz/explorer<filename>unity-client/Assets/Scripts/MainScripts/DCL/Controllers/HUD/BuilderProjectsPanel/Tests/SectionSceneGeneralSettingsViewShould.cs
using NUnit.Framework;
using UnityEngine;
namespace Tests
{
public class SectionSceneGeneralSettingsViewShould
{
private SectionSceneGen... |
ErsatzTV.Infrastructure/Migrations/20210226110531_ProgramSchedule_UpdateCollectionAndMediaItem.cs | kegbeach/ErsatzTV | 176 | 7034929 | <reponame>kegbeach/ErsatzTV
using Microsoft.EntityFrameworkCore.Migrations;
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class ProgramSchedule_UpdateCollectionAndMediaItem : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
// update sched... |
ExchangeMAPI/Source/MS-OXORULE/Adapter/Helper/DataTypes/MessageID.cs | v-yahan/Interop-TestSuites | 29 | 7034930 | <reponame>v-yahan/Interop-TestSuites<filename>ExchangeMAPI/Source/MS-OXORULE/Adapter/Helper/DataTypes/MessageID.cs
namespace Microsoft.Protocols.TestSuites.MS_OXORULE
{
using System;
/// <summary>
/// MessageId structure.
/// </summary>
public class MessageID
{
/// <summary>
... |
src/SYN.FrameworkPrototype/SYN.ApiService/Startup.cs | Arvin0/FrameworkPrototype | 0 | 7034931 | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Swashbuckle.AspNetCore.Swagger;
using SYN.ApiCore.Extensions;
using SYN.ApiCore.Ext... |
OnLine/OnLine/Pages/Popups/Sale/AllLead_NDA.aspx.cs | shibathethinker/ChimeraCRM | 19 | 7034932 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BackEndObjects;
using ActionLibrary;
namespace OnLine.Pages.Popups.Sale
{
public partial class AllLead_NDA : System.Web.UI.Page
{
protected void Page_Load(ob... |
Source/GimmeMillions.Domain/Features/Extractors/KeltnerChannelFeatureExtraction.cs | leblancdavid/GimmeMillions | 3 | 7034933 | <reponame>leblancdavid/GimmeMillions
using CSharpFunctionalExtensions;
using GimmeMillions.Domain.Stocks;
using System;
using System.Collections.Generic;
using System.Linq;
namespace GimmeMillions.Domain.Features
{
public class KeltnerChannelFeatureExtraction : IFeatureExtractor<StockData>
{
public st... |
Dummy-Bear-Kingdom/Views/Reviews/Create.cshtml | emilyjimenez/Dummy-Bear-Kingdom-Wk-2 | 0 | 7034934 | <gh_stars>0
@model DummyBearKingdom.ViewModels.ReviewOnProduct
@{
ViewData["Title"] = "Dummy Bear Kingdom - Add Review";
Layout = "_Layout";
}
<h2>Add a new product</h2>
@{ Model.ProductId = Model.CurrentProductId;}
@using (Html.BeginForm())
{
@Html.HiddenFor(model => model.ProductId)
@Html.LabelFo... |
test/FormFlow.Tests/Infrastructure/MvcTestBase.cs | gunndabad/formflow | 0 | 7034935 | <filename>test/FormFlow.Tests/Infrastructure/MvcTestBase.cs
using System.Collections.Generic;
using System.Net.Http;
using FormFlow.State;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Primitives;
using Xunit;
namespace FormFlow.Tests.Infrastructure
{
... |
Assets/Examples/Editor/E02_Layout.cs | suweitao1998/Editor_Example | 0 | 7034936 | <filename>Assets/Examples/Editor/E02_Layout.cs
using UnityEditor;
using UnityEngine;
using UnityEngine.UIElements;
namespace UIElementsExamples
{
public class E02_Layout : EditorWindow
{
[MenuItem("UIElementsExamples/02_Layout")]
public static void ShowExample()
{
E02_Layout... |
RoadFlowDotPeek2.7.6/RoadFlow.Utility/Encryption.cs | dropsun/RoadFlowMvc | 8 | 7034937 | // Decompiled with JetBrains decompiler
// Type: RoadFlow.Utility.Encryption
// Assembly: RoadFlow.Utility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E4D91F62-39BF-4125-A013-6EDB7CF1B4EC
// Assembly location: C:\inetpub\wwwroot\RoadFlowMvc\bin\RoadFlow.Utility.dll
using System;
using System.Secur... |
Assets/Scripts/TargetMediator.cs | gellios3/Unity-Home-Work | 0 | 7034938 | using strange.extensions.mediation.impl;
namespace View
{
public class TargetMediator<T> : EventMediator
where T : EventView
{
[Inject]
public T View { get; set; }
}
} |
src/MusicProject.Entities/Content/ContentListFile.cs | Literal92/CrawlRadio | 0 | 7034939 | using MusicProject.Entities.AuditableEntity;
namespace MusicProject.Entities.Content
{
public class ContentListFile : IAuditableEntity
{
public int Id { get; set; }
public int ContentListId { get; set; }
public string Mp364 { get; set; }
public string Mp3128 { get; set; }
... |
tests/Umbraco.Tests.UnitTests/Umbraco.Core/Scoping/ScopedNotificationPublisherTests.cs | nul800sebastiaan/Umbraco-CMS | 3,375 | 7034941 | using System;
using System.Linq;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using Moq;
using NUnit.Framework;
using Umbraco.Cms.Core.Cache;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Hos... |
src/KcpNatProxy/Client/KnpVirtualBusControlChannelConnectPeerRequest.cs | ShiftyTR/KcpNatProxy | 5 | 7034942 | <filename>src/KcpNatProxy/Client/KnpVirtualBusControlChannelConnectPeerRequest.cs
using System;
using System.Buffers.Binary;
namespace KcpNatProxy.Client
{
internal readonly struct KnpVirtualBusControlChannelConnectPeerParameter : IKnpVirtualBusControlChannelRequestParameter<KnpVirtualBusPeerConnectionInfo>
{... |
BrightWire/Helper/RandomProjection.cs | maalik0786/brightwire | 0 | 7034943 | using System;
using MathNet.Numerics.Distributions;
namespace BrightWire.Helper
{
/// <summary>
/// Implements random projection
/// </summary>
class RandomProjection : IRandomProjection
{
readonly int _fixedSize;
public RandomProjection(ILinearAlgebraProvider lap, int fixedSize, int reducedSize, int s = 3)... |
WebAlbum/WebAlbum.Web/Global.asax.cs | demchuknick6/WebAlbum | 0 | 7034944 | <filename>WebAlbum/WebAlbum.Web/Global.asax.cs
using System;
using System.Web;
using System.Web.Management;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace WebAlbum.Web
{
public class MvcApplication : HttpApplication
{
protected void Application_Start()
... |
cs-queuing-models/ExtendedErlangB.cs | cschen1205/cs-queuing-model | 1 | 7034945 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QueuingModels
{
//If a significant portion of dropped calls retry, then erlang B should
//be replace with extended erlang B, which also considers the rate of
//retry
public class ExtendedErl... |
src/Elastic.Clients.Elasticsearch/_Generated/Api/Ml/MlPutCalendarJobRequest.g.cs | SimonCropp/elasticsearch-net | 0 | 7034946 | <filename>src/Elastic.Clients.Elasticsearch/_Generated/Api/Ml/MlPutCalendarJobRequest.g.cs
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████... |
DrawObjFreePen.cs | manoreken2/PenTabletNotebook | 0 | 7034947 | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
namespace PenTabletNotebook {
class DrawObjFreePen : DrawObj {
Brush mBrush;
System.Windows.Shapes.Path mPath = new System.Windows.Shapes.Path();
... |
ClinicManagement/src/ClinicManagement.Api/Endpoints/Patient/Create.cs | emir01/pluralsight-ddd-fundamentals | 374 | 7034948 | <reponame>emir01/pluralsight-ddd-fundamentals
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using AutoMapper;
using BlazorShared.Models.Patient;
using ClinicManagement.Core.Aggregates;
using ClinicManagement.Core.Specifications;
using ClinicManagement.Core.ValueObjects;
using Micros... |
src/Core.Abstractions/Pipeline/IAsyncPipelineAggregator.cs | MaiReo/MicroServiceInfrastructure | 1 | 7034951 | <filename>src/Core.Abstractions/Pipeline/IAsyncPipelineAggregator.cs
using System;
using System.Threading.Tasks;
namespace Core.Pipeline
{
public interface IAsyncPipelineAggregator<T> : IAsyncPipelineAggregator
{
Task AggregateAsync(T context, Func<Task> next);
}
public interface IAsyncPipelin... |
Snippets/mongodb/MongoDB_2/Usage.cs | Jmaharman/docs.particular.net | 0 | 7034952 | namespace MongoDB_2
{
using System;
using MongoDB.Driver;
using NServiceBus;
public class Usage
{
Usage(EndpointConfiguration endpointConfiguration)
{
#region MongoDBUsage
endpointConfiguration.UsePersistence<MongoPersistence>();
... |
Impworks.Utils.Wpf/Converters/BoolToVisibilityConverter.cs | impworks/utils.wpf | 0 | 7034953 | <reponame>impworks/utils.wpf
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
// ReSharper disable UnusedType.Global
namespace Impworks.Utils.Wpf.Converters
{
/// <summary>
/// UI converter for showing or hiding an object depending on a flag.
/// </summary>
pu... |
windows/CsForFinancialMarkets/CsForFinancialMarkets/BookExamples/Ch4/ShapeVisitor.cs | jdm7dv/financial | 1 | 7034954 | // ShapeVisitor.cs
//
// Abstract base class for shape visitors.
// The visitor can be used to extend the functionality of
// the shape hierarchy such as output drivers, transformation drivers, etc.
// Can be used in combination with Composites.
//
// (C) Datasim Education BV 2001-2013
public abstract class ... |
WebView2.DOM/Input/UIEvent/MouseEvent/MouseEvent.cs | aslyr/WebView2.DOM | 32 | 7034955 | using Microsoft.Web.WebView2.Core;
using System;
namespace WebView2.DOM
{
// https://github.com/chromium/chromium/blob/master/third_party/blink/renderer/core/events/mouse_event.idl
public enum Button : short
{
PRIMARY/* */= 0, //: Main button pressed, usually the left button or the un-initialized state
AUXILI... |
BusinessPlex/BusinessPlex.BLL/BLL/StockManager.cs | raihanM95/Business-Plex | 3 | 7034956 | <reponame>raihanM95/Business-Plex
using BusinessPlex.Models;
using BusinessPlex.Models.Models;
using BusinessPlex.Repository.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessPlex.BLL.BLL
{
public class StockManager
... |
CrossUI/CrossUI.Droid/Dialog/LinearDialogStyleableResource.cs | guillaume-fr/MvvmCross | 0 | 7034957 | // MvxAndroidBindingResource.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
using System;
using System.Linq;
using System.... |
test/Qowaiv.Validation.Fluent.UnitTests/Models/DateTimeModels.cs | Qowaiv/qowaiv-validation | 0 | 7034958 | using System;
namespace Qowaiv.Validation.Fluent.UnitTests.Models
{
public class DateTimeModel
{
public DateTime Prop { get; set; }
}
public class DateModel
{
public Date Prop { get; set; }
}
public class NullableDateModel
{
public Date? Prop { get; set; }
}... |
PerspectiveCamera/CameraHandler.cs | JasonGagner/Parkitect_PerspectiveCamera | 4 | 7034960 | <filename>PerspectiveCamera/CameraHandler.cs
using System.Reflection;
using Moona;
using Parkitect.UI;
using UnityEngine;
namespace PerspectiveCamera
{
internal class CameraHandler : MonoBehaviour
{
public GameObject OrigCamera;
public GameObject PerspectiveCamera;
public void SetCam... |
Wabbajack.DTOs/ModList/Directives/PatchedFromArchive.cs | wabbajack-tools/wabbajack | 389 | 7034961 | <gh_stars>100-1000
using Wabbajack.DTOs.JsonConverters;
using Wabbajack.Hashing.xxHash64;
using Wabbajack.Paths;
namespace Wabbajack.DTOs.Directives
{
[JsonName("PatchedFromArchive")]
[JsonAlias("PatchedFromArchive, Wabbajack.Lib")]
public class PatchedFromArchive : FromArchive
{
public Hash Fr... |
GraphQL/Partition/PartitionType.cs | wmalarski/CosmoResearch | 0 | 7034962 | using System;
using System.Threading;
using System.Threading.Tasks;
using CosmoResearch.GraphQL.Data;
using CosmoResearch.Models;
using HotChocolate;
using HotChocolate.Types;
namespace CosmoResearch.GraphQL.Partition
{
public class PartitionType : ObjectType<PartitionEntity>
{
protected override void ... |
OvercookedControlsPatcher/PatchTools.cs | Wouterdek/OvercookedControlsPatch | 5 | 7034963 | using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace OvercookedControlsPatcher
{
class PatchTools
{
/// Modified from https://groups.google.com/forum/#!msg/mono-cecil/uoMLJEZrQ1Q/ewthqjEk-jEJ
/// <summary>
/// Copy a method from one module to another. If the same metho... |
src/Either/Either{TLeft,TRight}.cs | Cimpress-MCP/Tiger-Types | 4 | 7034964 | <reponame>Cimpress-MCP/Tiger-Types
// <copyright file="Either{TLeft,TRight}.cs" company="Cimpress, Inc.">
// Copyright 2017 Cimpress, Inc.
//
// 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 Li... |
imageOperations/Form1.Designer.cs | BatuhanGunes/BorderDetectionImageProcessing | 0 | 7034965 | namespace imageOperations
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... |
UltraLiteDB.Tests/Database/Query_Min_Max_Tests.cs | rejemy/LiteDB | 112 | 7034966 | <filename>UltraLiteDB.Tests/Database/Query_Min_Max_Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
namespace UltraLiteDB.Tests.Database
{
#region Model
public class EntityMinMax
{
public int Id { get; set; }
public byte ByteVa... |
Gear.Net/MessageContainer.cs | cathode/gear | 1 | 7034967 | <reponame>cathode/gear
/******************************************************************************
* Gear: An open-world sandbox game for creative people. *
* http://github.com/cathode/gear/ *
* Copyright © 2009-2017 William 'cathode' Shelley. All ... |
Synchroniser/Libraries/MusicBee/MusicBeePlaylist.cs | Soinou/Synchroniser | 1 | 7034968 | using Synchroniser.Libraries.Base;
using Synchroniser.Utils;
using MusicBeePlugin;
using System;
using System.Collections.Generic;
namespace Synchroniser.Libraries.MusicBee
{
/// <summary>
/// MusicBee implementation of a playlist
/// </summary>
internal class MusicBeePlaylist : PlaylistBas... |
UI/UserSpecifications.cs | davidikin45/AspNetCore.Specification | 1 | 7034969 | using Microsoft.Extensions.Primitives;
using System;
using System.Collections.Generic;
namespace AspNetCore.Specification.UI
{
public static class UserSpecifications
{
public static (IncludeSpecification<T> Includes, FilterSpecification<T> Filter, OrderBySpecification<T> OrderBy, UserFieldsSpecificati... |
test/tools/WebListener/Constants.cs | gabrielsroka/PowerShell | 2 | 7034970 | <reponame>gabrielsroka/PowerShell<filename>test/tools/WebListener/Constants.cs<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace mvc.Controllers
{
internal static class Constants
{
public const string HeaderSeparator = ... |
current/ReactWindows/ReactNative.Shared/Bridge/Queue/LimitedConcurrencyActionQueue.cs | tom-un/react-native-windows | 5 | 7034971 | <filename>current/ReactWindows/ReactNative.Shared/Bridge/Queue/LimitedConcurrencyActionQueue.cs<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Reactive.Disposables;
using System.Threading.Tasks;
namespace ReactNative.Bridge.Queu... |
IMS/Views/Category/Create.cshtml | atharalichauhan/IMS | 0 | 7034972 | <reponame>atharalichauhan/IMS
@model IMS.ViewModels.CategoryViewModel
@{
ViewBag.Title = "Create";
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="container-fluid">
<div id="ui-view">
<div class="card">
<div class="card-header">
<strong>Category</strong>
... |
Pokemon/Assets/Scripts/PC/BoxSpot.cs | Mfknudsen/Pokemon-Clone | 0 | 7034973 | #region SDK
using Mfknudsen.Pokémon;
using UnityEngine;
using UnityEngine.UI; //Custom
#endregion
namespace Mfknudsen.PC
{
public class BoxSpot : MonoBehaviour
{
private Pokemon onSpot = null;
private Image visual = null;
public void SetPokemon(Pokemon set)
{
onS... |
src/GraphQL/Types/IdGraphType.cs | Sage/graphql-dotnet | 1 | 7034974 | using GraphQL.Language.AST;
namespace GraphQL.Types
{
public class IdGraphType : ScalarGraphType
{
public IdGraphType()
{
Name = "ID";
//Description =
// "The `ID` scalar type represents a unique identifier, often used to re-fetch an object or " +
... |
CommunityToolkit.Mvvm/Messaging/Messages/AsyncRequestMessage{T}.cs | Nirmal4G/appkit-dotnet | 612 | 7034975 | <reponame>Nirmal4G/appkit-dotnet
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
u... |
src/MVCContrib.UnitTests/UI/Html/GridColumnBuilderTester.cs | ignatandrei/MvcContrib | 0 | 7034976 | using System;
using MvcContrib.UI.LegacyGrid;
using NUnit.Framework;
namespace MvcContrib.UnitTests.UI.Html
{
#pragma warning disable 618,612
[TestFixture]
public class GridColumnBuilderTester
{
private GridColumnBuilder<Person> _builder;
[SetUp]
public void Setup()
{
_builder = new GridColumnBuilder<... |
Assets/_Root/Runtime/Math/FloatRange.cs | Gamee-Studio/common | 0 | 7034977 | using System;
using UnityEngine;
namespace Pancake.Common
{
/// <summary>A value range between two values a and b</summary>
public readonly struct FloatRange
{
/// <summary>The unit interval of 0 to 1</summary>
public static readonly FloatRange unit = new FloatRange(0, 1);
/// <su... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.