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 |
|---|---|---|---|---|
OMDUC_EMU/NetworkProtocols/eUnlockType.cs | PermaNulled/OMDUC_EMU_CSharp | 2 | 7049811 | using System;
namespace NetworkProtocols
{
// Token: <KEY> RID: 1204
public enum eUnlockType
{
// Token: <KEY> RID: 6075
None,
// Token: <KEY> RID: 6076
VIPCardSlot
}
}
|
FoodOnHook/Models/Restaurant/RestaurantOwnerFormModel.cs | Wolfscot/FoodOnHook | 0 | 7049812 | <filename>FoodOnHook/Models/Restaurant/RestaurantOwnerFormModel.cs
using FoodOnHook.Models.Cousine;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using static FoodOnHook.Data.ModelConstants.Restaurant;
namespace FoodOnHook... |
sdk/PowerBI.Api/Source/Models/EmbedToken.cs | Magic73/PowerBI-CSharp | 1 | 7049814 | // <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 Microsoft.PowerBI.Api.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
/// <sum... |
src/Microsoft.Atlas.CommandLine/Blueprints/BlueprintManager.cs | maheshreddy005/atlas | 0 | 7049815 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Markdig.Syntax;
using Microsoft.Atlas.CommandLine.Blueprints.Models;
using Microsoft.Atlas.CommandLine.Seria... |
S4M/S4M.Core/StateMachine.cs | philiplaureano/S4M | 18 | 7049816 | <reponame>philiplaureano/S4M
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Optional;
namespace S4M.Core
{
public abstract class StateMachine : IStateMachine
{
private ConcurrentDictionary<Func<object, bool>, Action<object>> _currentState... |
MailTrack/ot.ashx.cs | carrask85/MailerDaemon | 0 | 7049818 | <gh_stars>0
using System;
using System.Data;
using System.Data.SqlClient;
using System.Web;
namespace MailTrack
{
public class ot : IHttpAsyncHandler
{
private ConfigManager ConfigItems = ConfigManager.Instance;
protected byte[] m_imgbytes = Convert.FromBase64String("R0lGODlhAQABAIAAANvf7wAAAC... |
src/Modules/EasyOC.OrchardCore.RDBMS/Workflows/Activities/ETLFromRDBMS.cs | giannik/EasyOC | 19 | 7049819 | <gh_stars>10-100
using EasyOC.OrchardCore.RDBMS.Services;
using EasyOC.OrchardCore.RDBMS.Workflows.Models;
using Microsoft.Extensions.Localization;
using OrchardCore.Workflows.Abstractions.Models;
using OrchardCore.Workflows.Activities;
using OrchardCore.Workflows.Models;
using OrchardCore.Workflows.Services;
using Sy... |
source/MikhailKhalizev.Max/source/Program/Auto/z-1009-3e27.cs | mikhail-khalizev/max | 3 | 7049820 | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1009_3e27-9da513db")]
public void Method_1009_3e27()
{
ii(0x1009_3e27, 5); push(0x34); ... |
SharePointPnP.ProvisioningApp/SharePointPnP.ProvisioningApp.WebApi/Models/ProvisioningRequest.cs | chuxuantinh/sp-provisioning-service-bachkhoasoft | 0 | 7049823 | //
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
using SharePointPnP.ProvisioningApp.Infrastructure.DomainModel.Provisioning;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SharePointPnP.ProvisioningApp.WebApi.Models
{
/// <summary>
... |
TOS.Model/BookTicketInfoModel.cs | yiyungent/TOS | 0 | 7049824 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TOS.Model
{
public class BookTicketInfoModel
{
private int id;
private string trainNumber;
private string startStation;
private string endStation;
private DateTime bookDate;
... |
src/Dfc.CourseDirectory.Core/DataStore/Sql/Queries/UpdateCourse.cs | SkillsFundingAgency/dfc-coursedirectory | 4 | 7049825 | using System;
using Dfc.CourseDirectory.Core.Models;
using OneOf;
using OneOf.Types;
namespace Dfc.CourseDirectory.Core.DataStore.Sql.Queries
{
public class UpdateCourse : ISqlQuery<OneOf<NotFound, Success>>
{
public Guid CourseId { get; set; }
public string WhoThisCourseIsFor { get; set; }
... |
Injected/Exceptions/NoPublicConstructorsException.cs | MadMathMike/IOC | 0 | 7049826 | using System;
using System.Runtime.Serialization;
namespace Injected
{
[Serializable]
public class NoPublicConstructorsException : Exception
{
public readonly Type Type;
public NoPublicConstructorsException()
{
}
public NoPublicConstructorsException(Type type)
... |
TeslaApi.Contract/Vehicle/Commands/Sharing/SharingResponse.cs | futugyou/TeslaAPI | 0 | 7049827 | <reponame>futugyou/TeslaAPI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TeslaApi.Contract.Vehicle.Commands.Sharing
{
public class SharingResponse : CommandResponse
{
}
}
|
Modules/Relay/RelayType.cs | kyoryo/KNBot | 33 | 7049828 | <filename>Modules/Relay/RelayType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Combot.Modules.Plugins
{
public enum RelayType
{
Message,
Notice,
CTCP,
Join,
Part,
Quit,
K... |
VisualLocalizer/VLUnitTests/VLTests/Commands/CSharpBatchMoveTest.cs | ostumpf/visuallocalizer | 9 | 7049829 | <reponame>ostumpf/visuallocalizer<filename>VisualLocalizer/VLUnitTests/VLTests/Commands/CSharpBatchMoveTest.cs
using VisualLocalizer.Commands;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Microsoft.VisualStudio.Shell;
using VisualLocalizer.Library;
using VisualLocalizer.Components;
usi... |
Dexter/Databases/UserRestrictions/Restriction.cs | EnderDoom77/Dexter | 0 | 7049830 | using System;
namespace Dexter.Databases.UserRestrictions {
/// <summary>
/// Represents a set of restrictions from different server features as a combination of flags.
/// </summary>
[Flags]
public enum Restriction : ulong {
/// <summary>
/// Represents the null restriction (def... |
Mermaid.Loft.AutofacInfrastructure/MermaidEventBus.cs | mengxinjinglong/Mermaid.Loft | 0 | 7049831 |
using System;
using System.Collections.Generic;
using System.Reflection;
using Autofac;
using Mermaid.Loft.Infrastructure.Autofac.EventHandlers;
using Mermaid.Loft.Infrastructure.Autofac.Topics;
namespace Mermaid.Loft.Infrastructure.Autofac
{
public class MermaidEventBus
{
public static MermaidEventB... |
DomRobotShared/Accounting/GetReceipt.cs | DerGuru/INWX_DomRobot | 0 | 7049832 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DomRobot.Accounting
{
public class GetReceipt : DomRobot<GetReceipt, GetReceipt.Result>
{
public class Parameters : BasicParameters
{
... |
Toolbox/Toolbox/ToolboxControls/ProjectWizard/Controls/IWizardControl.cs | igoreksiz/NetOffice | 544 | 7049833 | using System;
using System.Xml;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NetOffice.DeveloperToolbox
{
public delegate void ReadyStateChangedHandler(Control sender);
public enum ImageType
{
Question = 0,
Finish = 1
}... |
Lib_Contact_Book/Contact_Book/HttpServices/HttpContactEntityService.cs | pragmatic-applications/Contact_Book | 0 | 7049834 | <filename>Lib_Contact_Book/Contact_Book/HttpServices/HttpContactEntityService.cs
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Constants;
using Domain;
using DTOs;
using PageFeatures;
namespace HttpServices
{
public class HttpContactE... |
LNF.Scripting/Entities/Scheduler/Resource.cs | lurienanofab/lnf | 1 | 7049835 | <reponame>lurienanofab/lnf<filename>LNF.Scripting/Entities/Scheduler/Resource.cs
using LNF.Scheduler;
using System;
using System.Threading.Tasks;
namespace LNF.Scripting.Entities.Scheduler
{
public class Resource
{
private IResource item;
internal Resource(IResource i)
{
i... |
YiSha.Entity/YiSha.Model/Param/OrganizationManage/UserParam.cs | lizhaoiot/pomsbs | 2 | 7049836 | using System;
using System.Collections.Generic;
using YiSha.Entity.OrganizationManage;
namespace YiSha.Model.Param.OrganizationManage
{
public class UserListParam : DateTimeParam
{
public string UserName { get; set; }
public string Mobile { get; set; }
public int? UserSta... |
ErsatzTV.Application/MediaCards/ActorCardViewModel.cs | Long-Man/ErsatzTV | 176 | 7049837 | <filename>ErsatzTV.Application/MediaCards/ActorCardViewModel.cs<gh_stars>100-1000
namespace ErsatzTV.Application.MediaCards
{
public record ActorCardViewModel(int Id, string Name, string Role, string Thumb) :
MediaCardViewModel(Id, Name, Role, Name, Thumb);
}
|
src/TaskBase.Data/Storage/ImageStorage.cs | t-rolfin/TaskBase | 0 | 7049838 | <reponame>t-rolfin/TaskBase
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TaskBase.Data.Identity;
namespace Ta... |
server/NannyApi/Controllers/SessionsController.cs | bt93/nanny_app | 0 | 7049839 | <filename>server/NannyApi/Controllers/SessionsController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NannyApi.DAL;
using... |
CodeCakeBuilder/Abstractions/ICIWorkflow.cs | Invenietis/CK.MicroBenchmark | 2 | 7049840 | namespace CodeCake.Abstractions
{
public interface ICIWorkflow
{
/// <summary>
/// Try to clean the folder, for example by deleting bin & obj.
/// </summary>
void Clean();
/// <summary>
/// Build the solution.
/// </summary>
void Build();
... |
src/BookStore.ApiGateway/Remote/IAuthorService.cs | javiermarsan/book-store-microservices | 0 | 7049841 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BookStore.ApiGateway.Remote
{
public interface IAuthorService
{
Task<(bool result, AuthorRemote author, string errorMessage)> GetAuthor(Guid AuthorId);
}
}
|
AlipaySDKNet/Response/AlipayDataDataserviceConsumRatioQueryResponse.cs | Varorbc/alipay-sdk-net-all | 0 | 7049842 | using System;
using System.Xml.Serialization;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayDataDataserviceConsumRatioQueryResponse.
/// </summary>
public class AlipayDataDataserviceConsumRatioQueryResponse : AopResponse
{
/// <summary>
/// 占比数据接口返回数据结构
... |
FluentData/sourceCode/sourceCode/Source/Main/FluentData.IntegrationTests/Features/Builders/Select/GeneralTests.cs | shuaiagain/orm-fluentdata | 6 | 7049843 | using IntegrationTests._Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IntegrationTests.Features.Builders.Select
{
[TestClass]
public class GeneralTests : BaseSqlServerIntegrationTest
{
[TestMethod]
public void Test1()
{
var products = Context.Select<Product>("p.ProductId, p.Name, ... |
src/Tests/WindowTests.cs | epicwebgame/screen | 7,400 | 7049844 | using System;
using Xunit;
namespace Captura.Tests
{
[Collection(nameof(Tests))]
public class WindowTests
{
[Fact]
public void ZeroPointerWindow()
{
var platformServices = ServiceProvider.Get<IPlatformServices>();
Assert.Throws<ArgumentException>(() => plat... |
Allfiles/20487C/Mod11/LabFiles/end/BlueYonder.Companion.Client/BlueYonder.Companion.Client/Common/Converters/CanCheckInFlightConverter.cs | paulomau/20487C | 51 | 7049846 | using BlueYonder.Companion.Client.DataModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace BlueYonder.Companion.Client.Common
{
/// <summary>
/// Value converter that returns Visible for current trips a... |
Sidekick.Business.Tests/ItemParserTests/ParseMaps.cs | Amp0/Sidekick | 0 | 7049847 | <gh_stars>0
using Sidekick.Business.Apis.Poe.Parser;
namespace Sidekick.Business.Tests.ItemParserTests
{
public class ParseMaps : TestContext<ParserService>
{
//[OneTimeSetUp]
//public void Setup()
//{
// GetMockFor<IMapService>()
// .Setup(o => o.MapNames)
... |
CilView/MainWindow.xaml.cs | MSDN-WhiteKnight/CilTools | 6 | 7049848 | <reponame>MSDN-WhiteKnight/CilTools
/* CIL Tools
* Copyright (c) 2021, MSDN.WhiteKnight (https://github.com/MSDN-WhiteKnight)
* License: BSD 2.0 */
using System;
using System.IO;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using ... |
OneCodeTeam/Create a scheduled task in .NET (CSTaskScheduler)/[C#]-Create a scheduled task in .NET (CSTaskScheduler)/C#/CSTaskScheduler/Views/ScheduledTasksView.Designer.cs | zzgchina888/msdn-code-gallery-microsoft | 2 | 7049849 | namespace CSTaskScheduler.Views
{
partial class ScheduledTasksView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... |
EateryPOSSystem/Services/Models/ProviderServiceModel.cs | ismailsirakov/ASP.NET-Core-Project-Eatery-POS-System | 0 | 7049850 | namespace EateryPOSSystem.Services.Models
{
public class ProviderServiceModel
{
public int Id { get; init; }
public string Name { get; init; }
public int Number { get; init; }
}
}
|
Assets/Scripts/Weapons/ShotgunReload.cs | SvDvorak/FZ25 | 0 | 7049851 | using UnityEngine;
public class ShotgunReload : Reload
{
public InteractionArrow InteractionArrow;
public AmmoCounter AmmoCounter;
public Animator Animator;
public bool IsShotCocked;
public SoundEffect UncockSound;
public SoundEffect CockSound;
public SoundEffect LoadSound;
public override void UpdateInput(... |
GeometryFigures/RectangularBox.cs | MrStepin/CalculatedOfParametersOf3DFigures | 0 | 7049852 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeometryFigures
{
class RectangularBox : Body3D
{
internal double Width { get; set; }
internal double Heigth { get; set; }
internal double Length { get; set; }
... |
Helper/LangPrintHelper.cs | CheatGear/CG.Language.UnrealCpp | 0 | 7049853 | using System.Collections.Generic;
using System.Linq;
using System.Text;
using CG.Framework.Engines.Models;
using CG.Framework.Helper;
using LangPrint;
using LangPrint.Cpp;
namespace CG.Output.UnrealCpp.Helper;
public static class LangPrintHelper
{
/// <summary>
/// Convert <see cref="EngineDefine"/> to <see ... |
Samples.Specifications.Tests.Acceptance.Steps.Adapters/GivenLoginStepsAdapter.cs | IlyaFinkelshteyn/Samples.Specifications | 0 | 7049854 | using Samples.Specifications.Tests.Steps;
using TechTalk.SpecFlow;
namespace Samples.Specifications.Tests.Acceptance.Steps.Adapters
{
[Binding]
class GivenLoginStepsAdapter
{
public GivenLoginSteps GivenLoginSteps { get; set; }
public GivenLoginStepsAdapter(GivenLoginSteps givenLoginSteps... |
PoEAssetReader/DatFiles/Definitions/ListTypeDefinition.cs | Amongalen/PoE-Asset-Updater | 5 | 7049855 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
namespace PoEAssetReader.DatFiles.Definitions
{
public class ListTypeDefinition : TypeDefinition
{
#region Consts
private const int ListCutOff = 100;
#endregion
public ListTypeDefinition(string name, TypeDefinition ... |
Assets/U3d-package/Editor/NodeEditor/Editor/CustomCanvas/NPBehaveCanvases/NPBehaveCanvas.cs | misazx/NPBehaviour | 0 | 7049856 | //------------------------------------------------------------
// Author: 烟雨迷离半世殇
// Mail: <EMAIL>
// Data: 2019年8月20日 7:55:05
//------------------------------------------------------------
using System.Collections.Generic;
using System.IO;
using ETModel;
using MongoDB.Bson.IO;
using MongoDB.Bson.Serialization;
using ... |
CrossCutterN.Test/ParameterTest/ParameterTestTarget.cs | keeper013/CrossCutterN | 79 | 7049857 | <filename>CrossCutterN.Test/ParameterTest/ParameterTestTarget.cs
// <copyright file="ParameterTestTarget.cs" company="<NAME>">
// Copyright (c) 2017 <NAME>
// </copyright>
namespace CrossCutterN.Test.ParameterTest
{
using System;
using System.Globalization;
using System.Text;
/// <summary>
/// Pa... |
source/R5T.Koping.Base/Code/Services/Definitions/IVisualStudioSolutionFolderProjectTypeGuidProvider.cs | MinexAutomation/R5T.Koping.Base | 0 | 7049858 | using System;using R5T.T0064;
namespace R5T.Koping
{[ServiceDefinitionMarker]
/// <summary>
/// Solution files can group projects in solution folders (for example "_Dependencies").
/// These solution folders are treated as projects by Visual Studio (they have a project reference, just like any othe... |
BurningKnight/entity/creature/npc/OldMan.cs | kwokfu/BurningKnight | 282 | 7049859 | <reponame>kwokfu/BurningKnight
using System.Linq;
using BurningKnight.assets;
using BurningKnight.assets.input;
using BurningKnight.entity.component;
using BurningKnight.entity.creature.player;
using BurningKnight.entity.events;
using BurningKnight.level.biome;
using BurningKnight.save;
using BurningKnight.state;
using... |
Api/Responses/GallerySearchResponse.cs | aikoofujimotoo/asuka | 5 | 7049860 | <filename>Api/Responses/GallerySearchResponse.cs
using Newtonsoft.Json;
namespace asuka.Api.Responses;
public record GallerySearchResponse : GalleryListResponse
{
[JsonProperty("num_pages")]
public int TotalPages { get; init; }
[JsonProperty("per_page")]
public int TotalItemsPerPage { get; ... |
Narcissus/DbModels/UsersInfo.cs | AmemiyaSigure/Narcissus | 0 | 7049861 | using System;
using System.Collections.Generic;
namespace Narcissus.DbModels
{
public partial class UsersInfo
{
public int Id { get; set; }
public string NickName { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Sign... |
src/WorkflowCoordinator.IntegrationTests/StartDbAssessmentSagaTests.cs | UKHO/taskmanager | 9 | 7049863 | <reponame>UKHO/taskmanager
using AutoMapper;
using Common.Helpers;
using FakeItEasy;
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using NServiceBus.Testing;
using NUnit.Framework;
using System;
... |
Backdrops/WallpaperControl.Designer.cs | ApexWeed/backdrops | 1 | 7049864 | <gh_stars>1-10
namespace Backdrops
{
partial class WallpaperControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Component Designer generated code
/// <summary>
/// ... |
src/dotnet/commands/dotnet-restore/RestoreCommandParser.cs | axelheer/dotnet-cli | 1 | 7049865 | <reponame>axelheer/dotnet-cli<filename>src/dotnet/commands/dotnet-restore/RestoreCommandParser.cs
// 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.Linq;
using Microsoft.DotNet.Cli.C... |
samples/msgext-bot-SPUploader/SPUploader/Bots/SharePointBot.cs | VaraPrasad-MSFT/teams-dev-samples | 0 | 7049866 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// Generated with Bot Builder V4 SDK Template for Visual Studio EchoBot v4.11.1
using MeetingExtension_SP.Handlers;
using MeetingExtension_SP.Helpers;
using MeetingExtension_SP.Models;
using MessageExtension_SP.Handlers;... |
public/jqwidgets5.5.0/demos/asp.net-core-mvc-tag-helpers/Views/TagHelpers/Docking/Docking.cshtml | ironmarcel/pipspie | 1 | 7049867 | <reponame>ironmarcel/pipspie<gh_stars>1-10
@{
ViewData["Title"] = "ASP .NET MVC Docking Example";
}
<label>ASP .NET Core MVC Docking Example</label><br/><br/>
<jqx-docking theme="@ViewData["Theme"]">
<jqx-docking-panel>
<jqx-docking-window>
<jqx-docking-window-header>Title 1.1</jqx-docking-... |
src/Hazelcast.Net/Data/UniqueKeyTransformation.cs | BigYellowHammer/hazelcast-csharp-client | 0 | 7049868 | <filename>src/Hazelcast.Net/Data/UniqueKeyTransformation.cs
// Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... |
tests/Armut.Tests.Common/Fixtures/FunctionDeployerFixture.cs | armutcom/dotnet-functional-tests-localstack-testcontainers | 19 | 7049869 | <reponame>armutcom/dotnet-functional-tests-localstack-testcontainers<gh_stars>10-100
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using DotNet.Testcontainers.Containers.Builders;
using DotNet.Testcontainers.Containers.Modules;
using DotNet.Testcontainers.Images.Builders;
using Xunit;
namespace Ar... |
webapi/src/Application/Admin/AdminAccounts/Commands/ChangePasswordAccount/ChangePasswordAccountValidator.cs | snicoper/NetClock | 1 | 7049870 | <filename>webapi/src/Application/Admin/AdminAccounts/Commands/ChangePasswordAccount/ChangePasswordAccountValidator.cs
using FluentValidation;
using Microsoft.Extensions.Localization;
using NetClock.Application.Common.Localizations;
namespace NetClock.Application.Admin.AdminAccounts.Commands.ChangePasswordAccount
{
... |
src/Practice/Simple.Data.Interop/Token.cs | zpublic/cozy | 48 | 7049871 | <filename>src/Practice/Simple.Data.Interop/Token.cs
namespace Simple.Data.Interop
{
public class Token
{
private readonly TokenType _tokenType;
private readonly object _value;
public Token(TokenType tokenType) : this(tokenType, null)
{
}
public Token(TokenType t... |
src/System.Runtime/tests/System/Boolean.cs | n8ohu/corefx | 3 | 7049872 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Xunit;
public static class BooleanTests
{
private static void VerifyBooleanTryParse(string s, bool expectedResult, bool expectedReturn)
{
... |
test/Stormpath.SDK.Tests.Common/TestDataStore.cs | stormpath/stormpath-sdk-dotnet | 54 | 7049873 | using System;
using NSubstitute;
using Stormpath.SDK.Cache;
using Stormpath.SDK.Client;
using Stormpath.SDK.Impl.DataStore;
using Stormpath.SDK.Impl.Http;
using Stormpath.SDK.Impl.Logging;
using Stormpath.SDK.Logging;
using Stormpath.SDK.Serialization;
using Stormpath.SDK.Tests.Common.Fakes;
namespace Stormpath.SDK.T... |
Assets/Scripts/Manger/UI/WND/SummonHeroWnd_h.cs | 741645596/batgame | 0 | 7049874 | <reponame>741645596/batgame
using UnityEngine;
using System.Collections;
/// <summary>
/// 召唤英雄
/// </summary>
/// <author>QFord</author>
public class SummonHeroWnd_h : WndBase_h
{
//public static DialogWnd _instance;
public UILabel LblTitle;
public UIButton BtnNO;
public UIButton BtnYES;
// Use t... |
BikeMates/BikeMates.DataAccess/BikeMatesDbContext.cs | BikeMates/bike-mates | 2 | 7049875 | using System.Data.Entity;
using BikeMates.Domain.Entities;
using Microsoft.AspNet.Identity.EntityFramework;
namespace BikeMates.DataAccess
{
public class BikeMatesDbContext : IdentityDbContext<User>
{
public BikeMatesDbContext()
: base("DefaultConnection", throwIfV1Schema: false)
{... |
Part_01/PluralSightBook.Core/Interfaces/IProfileRepository.cs | VeselinovStf/Creating-N-tier-Application | 0 | 7049876 | <reponame>VeselinovStf/Creating-N-tier-Application<filename>Part_01/PluralSightBook.Core/Interfaces/IProfileRepository.cs
using PluralSightBook.Core.Identity;
using System;
using System.Threading.Tasks;
namespace PluralSightBook.Core.Interfaces
{
public interface IProfileRepository
{
Task<PluralSightB... |
PopForums.BackgroundWorker/WorkerRole.cs | HongJunRen/POPForums | 0 | 7049877 | using System;
using System.Diagnostics;
using System.Net;
using Microsoft.Owin.Hosting;
using Microsoft.WindowsAzure.ServiceRuntime;
using PopForums.Data.Azure;
using PopForums.Web;
namespace PopForums.BackgroundWorker
{
public class WorkerRole : RoleEntryPoint
{
private IDisposable _app = null;
p... |
Unity/Assets/ThirdParty/LoxodonFramework/Bundle/Runtime/Framework/Bundles/Simulation/SimulationSetting.cs | iothua/ExperimentOS | 0 | 7049878 | #if UNITY_EDITOR
using UnityEditor;
namespace Loxodon.Framework.Bundles
{
public class SimulationSetting
{
private const string kSimulateAssetBundleInEditor = "Loxodon::Framework::Bundle::SimulateInEditor";
public static bool IsSimulationMode
{
get { return Edit... |
Views/TreeGrid/TreeGridSelection.cshtml | syncfusion/aspnet-mvc-ej1-demos | 3 | 7049879 | @section MetaTags{
<meta name="description" content="This example illustrates cell and row selection, available in the Syncfusion tree grid control.">
}
@section SampleHeading{<span class="sampleName">TreeGrid-Selection API-ASP.NET MVC-SYNCFUSION</span>}
@section ControlsSection{
@(Html.EJ().TreeGrid("TreeGr... |
server/CasinoReports/Infrastructure/Data/CasinoReports.Infrastructure.Data/Repositories/CustomerVisitsCollectionRepository.cs | pdrosos/CasinoReports | 0 | 7049880 | namespace CasinoReports.Infrastructure.Data.Repositories
{
using CasinoReports.Core.Models.Entities;
using CasinoReports.Infrastructure.Data.Abstractions.Repositories;
public class CustomerVisitsCollectionRepository
: EfDeletableEntityRepository<CustomerVisitsCollection>, ICustomerVisitsCollection... |
BlueSheep/Core/Fight/TacticEnum.cs | Sadikk/BlueSheep | 22 | 7049881 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlueSheep.Core.Fight
{
public enum TacticEnum
{
Barbare,
Fuyard,
Immobile
}
}
|
AntSharesCore/Core/VotingTransaction.cs | SuperHanZi/guichou | 0 | 7049882 | using AntShares.Cryptography.ECC;
using AntShares.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace AntShares.Core
{
public class VotingTransaction : Transaction
{
public UInt256[] Enrollments;
public override Fixed8 SystemFee => Fi... |
ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue2104.cs | Nyerst/ILSpy | 6 | 7049883 | using System.Runtime.CompilerServices;
namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty
{
internal class Issue2104
{
[CompilerGenerated]
private readonly string text;
public string Text {
[CompilerGenerated]
get {
return text;
}
}
public Issue2104(string text)
{
this.text = text... |
src/CoreTest/ReflectTest/TypeReflectorTest.cs | athinboy/Lark | 3 | 7049884 | <reponame>athinboy/Lark
using NUnit.Framework;
using Lark.Core.Reflect;
using static TestInterface.IStudentService;
using System.Collections.Generic;
namespace CoreTest.ReflectTest
{
[TestFixture]
public class TypeReflectorTest
{
[Test]
public void Test()
{
int ia = 12;
... |
src/TTY.GMP.Utility/ConvertHelper.cs | chenjian8541/gmp | 5 | 7049885 | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace TTY.GMP.Utility
{
/// <summary>
/// 类型转换
/// </summary>
public static class ConvertHelper
{
/// <summary>
/// 将string转换成int32
/// </summary>
/// <param name="this"></... |
NetBungieAPI/Models/Destiny/Definitions/Objectives/DestinyObjectiveStatEntryDefinition.cs | Tailtinn/.NetBungieAPI | 0 | 7049886 | <gh_stars>0
using System.Text.Json.Serialization;
namespace NetBungieAPI.Models.Destiny.Definitions.Objectives
{
/// <summary>
/// Defines the conditions under which stat modifications will be applied to a Character while participating in an
/// objective.
/// </summary>
public class Desti... |
src/Orchard.Web/Modules/Orchard.Workflows/Views/Activity-Redirect.cshtml | yangbingqi155/Nagrace | 2,670 | 7049887 | <reponame>yangbingqi155/Nagrace<filename>src/Orchard.Web/Modules/Orchard.Workflows/Views/Activity-Redirect.cshtml<gh_stars>1000+
@{
var name = (string)Model.Name;
var url = (string) Model.State.Url;
var description = String.IsNullOrEmpty(url) ? T("Redirect") : T("Redirect to {0}", url);
}
<div class="activ... |
ironpython2/Src/IronPython/Runtime/Reversed.cs | shuice/IronPython_UWP | 2 | 7049888 | <filename>ironpython2/Src/IronPython/Runtime/Reversed.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
us... |
TeamCity.CSharpInteractive.Tests/CommandLineServiceTests.cs | NikolayPianikov/teamcity-csharp-interactive | 0 | 7049889 | namespace TeamCity.CSharpInteractive.Tests;
using System;
using System.Threading;
using System.Threading.Tasks;
using Cmd;
using Contracts;
using Moq;
using Shouldly;
using Xunit;
public class CommandLineServiceTests
{
private readonly Mock<IHost> _host = new();
private readonly Mock<IProcessRunner> _processR... |
UnitTests/Program.cs | AntonyChurch/lidgren-network-gen3 | 12 | 7049890 | using System;
using System.Reflection;
using Lidgren.Network;
using System.Net;
using System.Runtime.Intrinsics.X86;
using System.Buffers.Binary;
using System.Numerics;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Collections.Generic;
using Syste... |
Nordril.Functional/Category/IMonadZero.cs | nordril/functional | 0 | 7049891 | namespace Nordril.Functional.Category
{
/// <summary>
/// A monad with a zero, which corresponds to the zero of an algebraic ring,
/// being, in essence, a "fail"-element.
/// </summary>
/// <typeparam name="T">The type of value contained in the monad.</typeparam>
public interface IMonadZero<ou... |
src/AspNetCore.IdentityServer4.WebApi/Areas/OpenId/Views/LoginByJs.cshtml | wilson1745/AspNetCore.IdentityServer4.Sample | 29 | 7049892 | <filename>src/AspNetCore.IdentityServer4.WebApi/Areas/OpenId/Views/LoginByJs.cshtml
<h2 id="welcome_msg">
Welcome! <label id="uid"></label>. <button class="btn btn-warning" id="logout">Sign Out</button>
<button class="btn btn-success" id="api">Test secured API</button>
</h2>
<h2 id="signin_msg">
Welcome! ... |
GameSpace.Services/Messages/Modles/TeamInvitationMessageServiceModel.cs | Simeon-Yankov/GameSpace | 1 | 7049893 | <filename>GameSpace.Services/Messages/Modles/TeamInvitationMessageServiceModel.cs<gh_stars>1-10
using System;
namespace GameSpace.Services.Messages.Modles
{
public class TeamInvitationMessageServiceModel
{
public int RequestId { get; init; }
public string SenderId { get; init; }
publ... |
Zen.Base/Module/Data/LINQ/DataContext.cs | bucknellu/zen | 6 | 7049894 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Zen.Base.Module.Data.LINQ
{
public class DataContext<T> : IOrderedQueryable<T> where T : Data<T>
{
public DataContext()
{
//System.Console.WriteLine... |
Assets/DeleteThisConsole.cs | Iceybones/grizzy | 0 | 7049895 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class DeleteThisConsole : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
this.gameObject.GetComponent<TextMeshProUGUI>().text = GameObject.Find("GameManager").GetComp... |
Source/Assets/Plugins/uFrame.ECS/Unity/Dispatchers/EntityService.cs | npruehs/teaching-ecs | 0 | 7049896 | <filename>Source/Assets/Plugins/uFrame.ECS/Unity/Dispatchers/EntityService.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using uFrame.Actions.Attributes;
using uFrame.Kernel;
using UniRx;
using UnityEngine;
namespace uFrame.ECS
{
public class EntityService : EcsSys... |
OpenGL.Net.Objects/Tessellator.cs | fontmaniac/OpenGL.Net | 606 | 7049897 | <reponame>fontmaniac/OpenGL.Net
// Copyright (C) 2017 <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 use, c... |
12 Methods Debugging - Exercises/02.MaxMethod/MaxMethod.cs | TsvetanNikolov123/CSharp---Programming-Fundamentals | 1 | 7049899 | namespace _02.MaxMethod
{
using System;
public class MaxMethod
{
public static void Main()
{
int firstNumber = int.Parse(Console.ReadLine());
int secondNumber = int.Parse(Console.ReadLine());
int thirdNumber = int.Parse(Console.ReadLine());
... |
OxStation/Managers/BaseManager.cs | ccgould/FCStudios_SubnauticaMods | 22 | 7049900 | using MAC.OxStation.Config;
using MAC.OxStation.Mono;
using Oculus.Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using FCSCommon.Utilities;
using UnityEngine;
namespace MAC.OxStation.Managers
{
internal class BaseManager
{
internal static List<BaseManage... |
src/IOTCS.EdgeGateway.Freesql/Extensions/DbContextOptions.cs | IOT-CS/IOTCS | 1 | 7049901 | using Microsoft.Extensions.Options;
namespace IOTCS.EdgeGateway.Freesql.Extensions
{
public class DbContextOptions : IOptions<DbContextOptions>
{
public string DbType { get; set; } = "1";
public string DbIp { get; set; }
public string DbPort { get; set; }
public string Datab... |
TurboYang.Utility.Jwt/Algorithms/Algorithm.cs | turboyang-cn/TurboYang.Utility.Jwt | 4 | 7049902 | <gh_stars>1-10
using System;
namespace TurboYang.Utility.Jwt.Algorithms
{
public abstract class Algorithm : IAlgorithm
{
public abstract String Name { get; }
public abstract Byte[] Sign(Byte[] data);
public abstract Boolean VerifySignature(Byte[] data, Byte[] signature);
}
}
|
ListMaker/LVLIMap.cs | azraerl/listmaker | 0 | 7049903 | using Mutagen.Bethesda;
using Mutagen.Bethesda.Plugins;
using System.Collections.Generic;
namespace ListMaker
{
public static class LVLIMap
{
public static Dictionary<FormKey, FormKey> CreateMap()
{
var lists = new Dictionary<string, FormKey>()
{
... |
ShaderShrinker/Shrinker.Lexer/FloatToken.cs | deanthecoder/GLSLShaderShrinker | 36 | 7049904 | <filename>ShaderShrinker/Shrinker.Lexer/FloatToken.cs
// -----------------------------------------------------------------------
// <copyright file="FloatToken.cs">
// Copyright (c) 2021 <NAME>. All rights reserved.
// </copyright>
// <summary>
// This code is provided on an "as is" basis and without warranty... |
EDO/Core/IO/QuestionnaireWriter.cs | ssjda-ddi/EDO | 0 | 7049906 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EDO.Core.Model;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Wordprocessing;
using System.Windows;
using System.Diagnostics;
using EDO.Main;
using EDO.QuestionC... |
Bitmex.NET/Authorization/SignatureProvider.cs | tuanvo213/Bitmex.Net | 61 | 7049907 | <reponame>tuanvo213/Bitmex.Net
using System.Security.Cryptography;
using System.Text;
namespace Bitmex.NET.Authorization
{
public interface ISignatureProvider
{
string CreateSignature(string secret, string message);
}
public class SignatureProvider : ISignatureProvider
{
public string CreateSignature(string... |
src/rlbot.flat/rlbot/flat/Rotator.cs | Turnerj/RocketBot | 1 | 7049908 | <gh_stars>1-10
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace rlbot.flat
{
using global::System;
using global::FlatBuffers;
/// Expresses the rotation state of an object in Euler angles, with values in radians.
public struct Rotator : IFlatbu... |
SmartShipment/SmartShipment.Network/Export/ShipmentExportExtentions.cs | yamtechnology/pxg-AcumaticaShippingToolIntegration | 1 | 7049909 | using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using SmartShipment.Network.AcumaticaSoapService;
using SmartShipment.Network.Common;
namespace SmartShipment.Network.Export
{
public static class ShipmentExportExtentions
{
private const char SPLIT_SEPARATOR = ','; ... |
XPump/CustomControls/TextEditDisc.cs | wee2tee/XPump | 0 | 7049910 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CC;
using System.Text.RegularExpressions;
namespace XPump.CustomControls
{
public partial class TextEditDisc : XTextEdit
... |
src/ShaderForm/FormMain.Designer.cs | danielscherzer/ShaderForm | 0 | 7049911 | using System;
using System.Windows.Forms;
namespace ShaderForm
{
partial class FormMain
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="... |
Kore.Web/Mvc/EmbeddedResources/EmbeddedStyleVirtualPathProvider.cs | widecommerce/kore-cms | 2 | 7049912 | <filename>Kore.Web/Mvc/EmbeddedResources/EmbeddedStyleVirtualPathProvider.cs
using System;
using System.Collections;
using System.Web;
using System.Web.Caching;
using System.Web.Hosting;
namespace Kore.Web.Mvc.EmbeddedResources
{
public class EmbeddedStyleVirtualPathProvider : VirtualPathProvider
{
... |
SweetC/Module.cs | khkurzeja/SweetC | 0 | 7049913 | <filename>SweetC/Module.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace SweetC
{
class Module
{
public Module parent;
public String name; // The name of the module file without the extension
... |
src/Incoding.UnitTest/MvcContribGroup/Incoding Controls/When_inc_help_block_control.cs | Incoding-Software/Incoding-Framework | 20 | 7049914 | namespace Incoding.UnitTest.MvcContribGroup
{
#region << Using >>
using Incoding.MSpecContrib;
using Incoding.MvcContrib;
using Machine.Specifications;
#endregion
[Subject(typeof(IncHiddenControl<,>))]
public class When_inc_help_block_control : Context_inc_control
{
#region E... |
sources/Interop/Windows/Windows/um/MsHTML/styleFontStretch.cs | reflectronic/terrafx.interop.windows | 0 | 7049915 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;
/// <includ... |
Web/ESchool.Web.ViewModels/Lesson/LessonAtListViewModel.cs | llukanov/eSchool | 0 | 7049916 | <gh_stars>0
namespace ESchool.Web.ViewModels.Lesson
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using ESchool.Data.Models;
using ESchool.Services.Mapping;
public class LessonAtListViewModel : IMapFrom<Lesson>
{
... |
Databases Advanced - Entity Framework/Code - First/2. Sales Database/StartUp.cs | alexandrateneva/DB-Fundamentals-SoftUni | 0 | 7049917 | namespace P03_SalesDatabase
{
using System;
using Microsoft.EntityFrameworkCore;
using P03_SalesDatabase.Data;
using P03_SalesDatabase.Data.Models;
public class StartUp
{
public static void Main()
{
var context = new SalesContext();
ResetDatabase(contex... |
OsmDataKit/Internal/WayObjectConverter.cs | chubrik/OsmDataKit | 6 | 7049918 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace OsmDataKit.Internal
{
internal class WayObjectConverter : GeoObjectConverter<WayObject>
{
private const string _nodeIdsPropName = "n";
public override WayObject ReadJson(JsonReader reader, Type objectType, WayObj... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.