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 |
|---|---|---|---|---|
OAuth2.Client/For/Yandex.cs | ETCDema/OAuth2.Client | 0 | 7051295 | using OAuth2.Client.Models;
using RestSharp;
namespace OAuth2.Client.For
{
public class Yandex : Yandex<UserInfo>
{
public Yandex(Options opt)
: base(opt)
{
}
}
public class Yandex<TUserInfo> : OAuth2Based<TUserInfo>
where TUserInfo : UserInfo, new()
{
private static readonly string _AVATARBASEURI... |
test/CSharpOddOrEvent.Tests/OddOrEvenQueueTest.cs | StefH/UnitTestingAzureFunctions | 0 | 7051296 | <filename>test/CSharpOddOrEvent.Tests/OddOrEvenQueueTest.cs<gh_stars>0
using Moq;
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Numerics;
using System.Threading.Tasks;
using CSharpOddOrEvenHttpTrigger;
using Xunit;
using Xunit.Abstractions;
namespace CSharpOddOrEven.Tests
{
... |
src/Sample/Glimpse.StructureMap.Sample.Core/Domain/Comment.cs | skalinets/Glimpse.StructureMap | 0 | 7051297 | <filename>src/Sample/Glimpse.StructureMap.Sample.Core/Domain/Comment.cs
//
using System;
namespace Glimpse.StructureMap.Sample.Core.Domain
{
public class Comment
{
public string Content { get; set; }
public DateTime CreatedOn { get; set; } // This should always be Utc.
public string... |
Zelig/Zelig/RunTime/Zelig/Kernel/SystemServices/SerialPortsManager.cs | NETMF/llilum | 188 | 7051298 | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig.Runtime
{
using System;
using System.Runtime.CompilerServices;
[ImplicitInstance]
[ForceDevirtualization]
public abstract class SerialPortsManager
{
class EmptyManager : SerialPortsManager
... |
src/TypeCache.GraphQL/SQL/Parameter.cs | sam987883/TypeCache | 9 | 7051299 | <filename>src/TypeCache.GraphQL/SQL/Parameter.cs
// Copyright (c) 2021 <NAME>
using TypeCache.GraphQL.Attributes;
namespace TypeCache.GraphQL.SQL
{
public class Parameter
{
[GraphType(ScalarType.NonNullableString)]
public string Name { get; set; } = string.Empty;
public object? Value { get; set; }
}
}
|
FruitShop/Filters/PaginationFilter.cs | MarcoRabelo/AngularFruitShopExample | 0 | 7051300 | <reponame>MarcoRabelo/AngularFruitShopExample
namespace FruitShop.WebAPI.Filters
{
public class PaginationFilter
{
public int PageNumber { get; set; }
public int PageSize { get; set; }
public PaginationFilter()
{
PageNumber = 1;
PageSize = 20;
}... |
core/tests/Test.Microsoft.Identity.SideBySide/UnifiedCacheTests.cs | vboctor/azure-activedirectory-library-for-dotnet | 0 | 7051301 | <gh_stars>0
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and as... |
ABSoftware.Core/Registry/Items/RegBooleanGroup.cs | ABSoftwareOfficial/ABSoftware.Core | 1 | 7051303 | <filename>ABSoftware.Core/Registry/Items/RegBooleanGroup.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace ABSoftware.Core.Registry.Items
{
public delegate void BooleanItemChangedEventHandler(object sender, BooleanItemChangedEventArgs args);
public class BooleanIte... |
Advent.2020.Tests/Properties/AssemblyInfo.cs | gclodge/Advent.2020 | 0 | 7051304 | <reponame>gclodge/Advent.2020
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Advent.2020.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Advent... |
src/Core/Application/Catalog/ProductImages/GetProductImageRequest.cs | 1dveeran/dotnet-webapi-boilerplate | 0 | 7051305 | <filename>src/Core/Application/Catalog/ProductImages/GetProductImageRequest.cs
namespace FSH.WebApi.Application.Catalog.ProductImages;
public class GetProductImageRequest : IRequest<ProductImageDto>
{
public Guid Id { get; set; }
public GetProductImageRequest(Guid id) => Id = id;
}
public class ProductImage... |
OpenCVVision/Client.View/Operation/Op06TargetDetection/BlobDetectView.xaml.cs | dogvane/OpenCVVision | 30 | 7051306 | namespace Client.View.Operation
{
/// <summary>
/// BlobDetectView.xaml 的交互逻辑
/// </summary>
public partial class BlobDetectView : ReactiveUserControl<BlobDetectViewModel>
{
public BlobDetectView()
{
InitializeComponent();
this.WhenActivated(d =>
... |
Source/JoyGiver_Date.cs | divineDerivative/WayBetterRomance | 0 | 7051307 | using RimWorld;
using System;
using System.Collections.Generic;
using System.Reflection;
using Verse;
using Verse.AI;
using HarmonyLib;
namespace BetterRomance
{
public class JoyGiver_Date : JoyGiver
{
public static float percentRate = BetterRomanceMod.settings.dateRate / 2;
public override Jo... |
Build.Test/Resources/CS0270.cs | Kittyfisto/.NETBuild | 0 | 7051308 | // CS0270.cs
// compile with: /t:module
public class Test
{
int[10] a; // CS0270
// To resolve, use the following line instead:
// int[] a = new int[10];
} |
src/ApiPort/ApiPort.VisualStudio.Common/Models/TargetPlatform.cs | G-Research/dotnet-apiport | 0 | 7051309 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability.ObjectModel;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ApiPortVS
{
public class TargetPlatform :... |
src/Viewer/Controls/SplitButton/ValueConverters.cs | amarsa-msft/svcperf | 2 | 7051310 | namespace EtlViewer.Viewer.Controls
{
using System;
using System.Windows;
using System.Windows.Data;
internal class ThicknessToWidthConverter : IValueConverter
{
#region IValueConverter Members
public Object Convert(Object value, Type targetType, Object parameter, System.... |
VRSpeechCorpusBooth-Unity/Assets/Experiment_Tools/Scripts/ReceiveProperties.cs | maddoxlab/VRSpeechCorpusBooth | 0 | 7051311 | <filename>VRSpeechCorpusBooth-Unity/Assets/Experiment_Tools/Scripts/ReceiveProperties.cs
using UnityEngine;
using System.Collections;
public class ReceiveProperties : MonoBehaviour {
public OSC osc;
// Use this for initialization
void Start () {
MakeLabel label = GetComponent<MakeLabel>();
o... |
Assets/Scripts/UI/Menu/StageSelect.cs | addictedcode/Mathelandia | 0 | 7051312 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using TMPro;
public class StageSelect : MonoBehaviour
{
[SerializeField] private GameObject prefab_button;
[SerializeField] private Transform stageselect_panel;
[Scene] [S... |
ECCE/ECCE/Controllers/TamanhoController.cs | raphacatalano/Projeto-E-commerce-Em-Casa-Com-Estilo | 0 | 7051313 | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ECCE.Data;
using ECCE.Models;
namespace ECCE.Controllers
{
public class TamanhoController : Controller
{
public IActionResult Index()
{
TamanhoDB C... |
SocialCareCaseViewerApi.Tests/V1/Helpers/HistoricalTestHelper.cs | JohnFarrellDev/social-care-case-viewer-api-fork | 1 | 7051314 | using AutoFixture;
using Bogus;
using SocialCareCaseViewerApi.V1.Infrastructure;
#nullable enable
namespace SocialCareCaseViewerApi.Tests.V1.Helpers
{
public static class HistoricalTestHelper
{
public static HistoricalCaseNote CreateDatabaseCaseNote(long id = 123, long personId = 123, HistoricalWorker?... |
Tests/PlayMode/SavingSystemTestsBase.cs | g0dzZz-coder/SavingSystem | 0 | 7051315 | using System.Collections;
using System.Linq;
using Depra.Saving.Runtime.Interfaces.Systems;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using Assert = UnityEngine.Assertions.Assert;
namespace Depra.Saving.Tests.PlayMode
{
public abstract class SavingSystemTestsBase<TSystem> where TSyste... |
TheWebShop.Common/Models/Commands/BrandCommand.cs | sofusskovgaard/TheWebShop | 1 | 7051316 | <gh_stars>1-10
namespace TheWebShop.Common.Models.Commands
{
public class BrandCommand
{
public string Name { get; set; }
public string Website { get; set; }
public string Email { get; set; }
public string PhoneNumber { get; set; }
}
} |
src/Package/MapObjDecorations.cs | moto2002/tianqi_src | 5 | 7051317 | using ProtoBuf;
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Package
{
[ProtoContract(Name = "MapObjDecorations")]
[Serializable]
public class MapObjDecorations : IExtensible
{
private readonly List<int> _equipIds = new List<int>();
private long _petUUId;
private i... |
03.Inheritance2/Animals/Program.cs | mayapeneva/C-Sharp-OOP-Basic | 0 | 7051318 | using System;
public class Program
{
public static void Main()
{
var animalFactory = new AnimalFactory();
string animalType;
while ((animalType = Console.ReadLine()) != "Beast!")
{
try
{
var animalDetails = Console.ReadLine().Split(new[]... |
Shya/Form1.Designer.cs | greenSyntax/HomeAutomation-Arduino | 0 | 7051320 | namespace Shya
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="d... |
Source/Tests/Trakt.NET.Core.Tests/Enums/TraktCommentType_Tests.cs | henrikfroehling/Trakt.NET | 39 | 7051321 | namespace TraktNet.Core.Tests.Enums
{
using FluentAssertions;
using System.Collections.Generic;
using Trakt.NET.Tests.Utility.Traits;
using TraktNet.Enums;
using Xunit;
[Category("Enums")]
public class TraktCommentType_Tests
{
[Fact]
public void Test_TraktCommentType_Ge... |
Trading/FxData/Feeds/MetaTicks/MetaTick.cs | squideyes/Trading | 1 | 7051322 | // ********************************************************
// Copyright (C) 2021 <NAME> (<EMAIL>)
//
// This file is part of SquidEyes.Trading
//
// The use of this source code is licensed under the terms
// of the MIT License (https://opensource.org/licenses/MIT)
// ***************************************************... |
source/Htc.Vita.Core/Interop/Windows.Wtsapi32.cs | ViveportSoftware/vita_core_csharp | 0 | 7051323 | <gh_stars>0
using System;
using System.Runtime.InteropServices;
using Htc.Vita.Core.Util;
namespace Htc.Vita.Core.Interop
{
internal static partial class Windows
{
[ExternalReference("https://docs.microsoft.com/en-us/windows/desktop/api/wtsapi32/nf-wtsapi32-wtscloseserver")]
[DllImport(Librarie... |
Views/Tokens/Index.cshtml | namikitakeo/oauth | 0 | 7051324 | <gh_stars>0
@model IEnumerable<myop.Models.Token>
@{
ViewData["Title"] = "Index";
}
<h1>Index</h1>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.UserId)
</th>
... |
source/Multi Hop Delegation (ActAsCustomGrant)/WebApi2/Startup.cs | NurhakKaya/IdentityServer3.Samples | 679 | 7051325 | <reponame>NurhakKaya/IdentityServer3.Samples
using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
using IdentityServer3.AccessTokenValidation;
using System.Web.Http;
[assembly: OwinStartup(typeof(WebApi2.Startup))]
namespace WebApi2
{
public class Startup
{
public void Config... |
src/MimeDetective/Storage/Created.cs | MediatedCommunications/Mime-Detective | 16 | 7051326 | <reponame>MediatedCommunications/Mime-Detective
using MimeDetective.Diagnostics;
using System;
namespace MimeDetective.Storage
{
/// <summary>
/// Contains metadata regarding the creation of the <see cref="Definition"/>.
/// </summary>
public record Created : DisplayRecord
{
/// <summary>
... |
PlexCleaner/MediaToolInfo.cs | ptr727/PlexCleaner | 51 | 7051327 | using Serilog;
using System;
namespace PlexCleaner
{
public class MediaToolInfo : IComparable
{
public MediaToolInfo()
{
}
public MediaToolInfo(MediaTool mediaTool)
{
ToolType = mediaTool.GetToolType();
ToolFamily = mediaTool.GetToolFamily();
... |
src/workIT.Factories/Entity_CredentialManager.cs | CredentialEngine/Import_From_Registry | 5 | 7051329 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using workIT.Models;
using workIT.Models.Common;
using ThisEntity = workIT.Models.ProfileModels.Entity_Credential;
using DBEntity = workIT.Data.Tables.Entity_Credential;
using EntityContext = workIT.Dat... |
Intersect.Server/Database/GameData/Migrations/Beta6Migration.cs | TalikanPDMO/Intersect-Engine | 146 | 7051330 | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using Intersect.Enums;
using Intersect.GameObjects.Events;
using Intersect.GameObjects.Events.Commands;
using Intersect.GameObjects.Maps;
using Intersect.Network;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFramework... |
MetaData/DateTimeHelper.cs | ThE-TiGeR/TCSystemCS | 0 | 7051331 | <reponame>ThE-TiGeR/TCSystemCS
// *******************************************************************************
//
// ******* *** *** *
// * * * *
// * * * *****
// * * *** * * ** * ** ***
// * * * ... |
Example.API/DataAccess/Configuration/ProductConfiguration.cs | vmutlu/NetCore_UnitTestExample | 0 | 7051332 | <reponame>vmutlu/NetCore_UnitTestExample<gh_stars>0
using Example.API.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Example.API.DataAccess.Configuration
{
public class ProductConfiguration : IEntityTypeConfiguration<Product>
{
public vo... |
ModernAppDemo/ViewModels/DashboardViewModel.cs | marcusts/Com.MarcusTS.ModernAppDemo | 1 | 7051334 | // *********************************************************************************
// Copyright @2021 Marcus Technical Services, Inc.
// <copyright
// file=DashboardViewModel.cs
// company="Marcus Technical Services, Inc.">
// </copyright>
//
// MIT License
//
// Permission is hereby granted, free of charge, to an... |
Assets/Scripts/GameManager.cs | BigWan/JumpJump | 2 | 7051335 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.SceneManagement;
public class GameManager : UnitySingleton<GameManager> {
public enum GameStat {
Loaded,
Playing,
GameOver,
}
public GameStat ... |
sources/Imaging/TransparencyCorrection.cs | UMapx/UMapx | 6 | 7051336 | using System;
using System.Drawing;
using System.Drawing.Imaging;
using UMapx.Core;
namespace UMapx.Imaging
{
/// <summary>
/// Defines the transparency correction filter.
/// </summary>
[Serializable]
public class TransparencyCorrection : Rebuilder, IBitmapFilter
{
#region Private dat... |
test/integration/Models/TestRuntimeStartup.cs | kenswan/AutomationIoC | 0 | 7051337 | <filename>test/integration/Models/TestRuntimeStartup.cs
using AutomationIoC.Integration.Services;
using AutomationIoC.Runtime;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace AutomationIoC.Integration.Models;
public class TestRuntimeStartup : IIoCStartup
{
publ... |
src/Splitio/Util/Helper.cs | splitio/dotnet-client | 4 | 7051338 | using System.Collections.Generic;
namespace Splitio.Util
{
public class Helper
{
public static List<T> TakeFromList<T>(List<T> items, int size)
{
if (items == null) return new List<T>();
var count = size;
if (items.Count < size)
{
... |
OvercrowdinTests/CommandUtilitiesTests.cs | sillsdev/overcrowdin | 2 | 7051339 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;
using System.Text;
using Crowdin.Api;
using Crowdin.Api.Typed;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json.Linq;
using Overcrowdin;
using Xunit;
namespace ... |
Pluton/Events/DoorUseEvent.cs | Notulp/Pluton | 16 | 7051340 | <gh_stars>10-100
namespace Pluton.Events
{
public class DoorUseEvent : CountedInstance
{
public bool Allow = true; // allow the player to open ( or try to open with a lock ) the door ?
public bool Open; // is the player opening or closing the door ?
public bool IgnoreLock = false;
... |
Library.Api/Startup.cs | dotnetnicaragua/UniversityLibrary | 0 | 7051341 | <gh_stars>0
using GraphQL.Server.Ui.Voyager;
using Library.Api.Data;
using Library.Api.GraphQL;
using Library.Api.GraphQL.Books;
using Library.Api.GraphQL.Inventories;
using Library.Api.GraphQL.InventoryMovements;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCor... |
IdefavAuthorizationServer/Code/Common.cs | idefav/IdefavOAuth2Demo | 13 | 7051342 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace IdefavAuthorizationServer.Code
{
public class Common
{
public static AuthorizationServerConfiguration Configuration=new AuthorizationServerConfiguration();
}
} |
Vereinsverwaltung/UI/UI.Desktop/Vereinsmeisterschaft/VereinsmeisterschaftNeuerSchuetzeView.xaml.cs | Maersmann/Vereinsverwaltung | 0 | 7051343 | <reponame>Maersmann/Vereinsverwaltung<filename>Vereinsverwaltung/UI/UI.Desktop/Vereinsmeisterschaft/VereinsmeisterschaftNeuerSchuetzeView.xaml.cs<gh_stars>0
using GalaSoft.MvvmLight.Messaging;
using Logic.Messages.AuswahlMessages;
using Logic.Messages.VereinsmeisterschaftMessages;
using Logic.UI.AuswahlViewModels;
usi... |
SerialCommandCentre/Home.cs | PanicAtTheKernal/SerialCommandCentre | 0 | 7051344 | <reponame>PanicAtTheKernal/SerialCommandCentre<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.IO.Ports;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.... |
src/Controls/src/Core/ColorExtensions.cs | mandel-macaque/maui-linux | 345 | 7051345 | using Microsoft.Maui.Graphics;
namespace Microsoft.Maui.Controls
{
public static class ColorExtensions
{
public static bool IsDefault(this Graphics.Color color)
{
return color == KnownColor.Default;
}
public static bool IsNotDefault(this Graphics.Color color)
{
return !IsDefault(color);
}
}
pu... |
Horizon.Payment.Alipay/Response/AlipaySecurityProdIrisCreateResponse.cs | bluexray/Horizon.Sample | 1 | 7051346 | using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// AlipaySecurityProdIrisCreateResponse.
/// </summary>
public class AlipaySecurityProdIrisCreateResponse : AlipayResponse
{
/// <summary>
/// 虹膜注册的关联token,用于关联跨设备分次注册
/// </sum... |
配套代码/WPFQ26/WPFQ26NetFramework/Program.cs | zmrbak/WPFqa1 | 3 | 7051347 | <gh_stars>1-10
global using System;
global using System.Diagnostics;
global using System.Threading;
namespace WPFQ26NetFramework
{
internal class Program
{
static void Main(string[] args)
{
Class1 class1 = new Class1();
class1.Test();
}
}
}
|
FrontSharp/FrontSharp/Models/Links.cs | cfdelaune/frontsharp | 3 | 7051348 | namespace FrontSharp.Models
{
public class Links
{
public string self { get; set; }
public Related related { get; set; }
}
} |
KatanaContrib.Security.LinkedIn/Provider/LinkedInAuthenticationProvider.cs | danielkillyevo/KatanaContrib.Security.Pack | 15 | 7051349 | <gh_stars>10-100
using System;
using System.Threading.Tasks;
namespace KatanaContrib.Security.LinkedIn.Provider
{
public class LinkedInAuthenticationProvider : ILinkedInAuthenticationProvider
{
public LinkedInAuthenticationProvider()
{
OnAuthenticated = context => Task.FromResult<ob... |
src/SqlDsl/Postgres/InsertConflict/PgIndexColumnsConflictTarget.cs | oakio/SqlDsl | 2 | 7051350 | using SqlDsl.Core;
using SqlDsl.Core.Expressions;
namespace SqlDsl.Postgres.InsertConflict
{
public sealed class PgIndexColumnsConflictTarget : IPgConflictTarget
{
private readonly Expression[] _columns;
public PgIndexColumnsConflictTarget(Expression[] columns)
{
_columns =... |
FTAnalyzer.Shared/Core/Fact.cs | watkinda/FTAnalyzer.Shared | 1 | 7051351 | <reponame>watkinda/FTAnalyzer.Shared
using FTAnalyzer.Properties;
using FTAnalyzer.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
namespace FTAnalyzer
{
public class Fact
{
public const string ADO... |
LinqRewrite/Extensions/SyntaxFactoryHelper.cs | Dzerillious/LinqRewrite | 3 | 7051352 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using LinqRewrite.DataStructures;
using LinqRewrite.Services;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static Microsoft.Cod... |
Sources/TimeTable/MyStik.TimeTable.Web/Views/Room/Index.cshtml | AccelerateX-org/NINE | 4 | 7051353 | @model MyStik.TimeTable.Data.ActivityOrganiser
@{
ViewBag.Title = Resources.RoomsHeading;
}
<div class="panel panel-default">
<div class="panel-body bg-fillter-rooms">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h1>@Resour... |
MotCua.Web/Areas/Admin/Views/Users/Details.cshtml | f7deat/MotCua | 0 | 7051354 | @model MotCua.Model.User
@{
ViewBag.Title = "Hồ sơ thành viên";
Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<div class="row">
<div class="col-md-8">
<div class=" tiles white col-md-12 no-padding">
<div class="tiles green cover-pic-wrapper">
<div class="over... |
ServerLibrary/src/Networking/Data/HttpStatus.cs | dbidwell94/CSharpSimpleServer | 0 | 7051355 | namespace SimpleServer.Networking.Data
{
public enum HttpStatus
{
CONTINUE = 100,
SWITCH_PROTOCOL = 101,
OK = 200,
CREATED = 201,
ACCEPTED = 202,
NO_CONTENT = 204,
PARTIAL_CONTENT = 206,
MOVED_PERMANENTLY = 301,
FOUND = 302,
TEMPORA... |
Source/Players/ILookatTrigger.cs | stefnotch/FlaxTimeNexus | 1 | 7051356 | <gh_stars>1-10
using FlaxEngine;
namespace FlaxTimeNexus
{
public interface ILookatTrigger
{
void OnLookatEnter(RayCastHit hitResult);
void OnLookatStay(RayCastHit hitResult);
void OnLookatExit(RayCastHit hitResult);
}
} |
Assets/Moe Baker/Moe Tools/Standalone/Utility/Data/Numerical/SmoothValues.cs | EZKATKAGAMES/OnePunchMang | 38 | 7051357 | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Object = UnityEngine.Object;
using Random = UnityEngine.Random;
namespace Moe.Tools
{
[Serializable]
public class SmoothValue
{
[SerializeField]
prot... |
dacs7/src/Dacs7/Domain/Internal/UserDataFunctionGroup.cs | insite-gmbh/InacS7Core | 24 | 7051358 | <reponame>insite-gmbh/InacS7Core
// Copyright (c) <NAME>. All rights reserved.
// See License in the project root for license information.
namespace Dacs7.Domain
{
internal enum UserDataFunctionGroup : byte
{
Prog = 0x1,
Cyclic = 0x2,
Block = 0x3,
Cpu = 0x4,
Sec = 0x5,... |
Engine/Source/Programs/IncludeTool/IncludeTool/Support/ThreadPoolWorkQueue.cs | windystrife/UnrealEngine_NVIDIAGameWork | 1 | 7051359 | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace IncludeTool.Support
{
/// <summary>
/// Interface for a work item that can be scheduled on a ThreadPoolW... |
AdamRest/AdamRestCmdllets.cs | skrivopishin/AdamRest | 0 | 7051360 | using AdamRest.Helpers;
using AdamRest.Interfaces;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Net;
using System.Text;
using System.Web;
... |
LazyAngus/Assets/Extensions/GooglePlayCommon/Core/APIBridge/AN_GoogleAnalyticsProxy.cs | DougLazyAngus/lazyAngus | 0 | 7051361 | <reponame>DougLazyAngus/lazyAngus
using UnityEngine;
using System.Collections;
public class AN_GoogleAnalyticsProxy : MonoBehaviour {
private const string CLASS_NAME = "com.androidnative.gms.analytics.AN_AnalyticsProxy";
private static void CallActivityFunction(string methodName, params object[] args) {
... |
src/Disqord/Extensions/Interactivity/Extensions/InteractivityClientExtensions.cs | moriyahiroaki/Disqord | 1 | 7051362 | using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Disqord.Gateway;
namespace Disqord.Extensions.Interactivity
{
[EditorBrowsable(EditorBrowsableState.Never)]
public static class InteractivityClientExtensions
{
public static Interactiv... |
Erlin.Lib.Database.DevConsole/Program.cs | ErlinEmrys/Lib.Database | 0 | 7051363 | <reponame>ErlinEmrys/Lib.Database
using System;
using System.Diagnostics;
using System.IO;
using Erlin.Lib.Common;
using Erlin.Lib.Common.FileSystem;
using Erlin.Lib.Common.Logging;
using Erlin.Lib.Database.PgSql;
using Microsoft.Extensions.Configuration;
namespace Erlin.Lib.Database.DevConsole
{
//... |
Assets/Scripts/Items/CoffeeMaker/Coffee.cs | M4R774/haka49 | 1 | 7051364 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Coffee : Item
{
void UseObject()
{
messageManager.DisplayPickUpMessage(itemDescription);
GameEvents.current.CoffeePackPickedUp();
Destroy(this.gameObject);
}
}
|
TowerDefence/Managers/TowerManager.cs | Abooow/TowerDefence | 0 | 7051365 | <gh_stars>0
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using TowerDefence.Controllers;
using TowerDefence.Factories;
using TowerDefence.Helpers;
using TowerDefence.Moldels;
using TowerDefence.Towers;
using TowerDefence.Views;
namespace TowerD... |
Common/Narik.Common.Web.Infrastructure/Authorization/RoleBased/NarikRoleAuthorizationHandler.cs | NarikMe/Narik-AspNetCore | 0 | 7051366 | <filename>Common/Narik.Common.Web.Infrastructure/Authorization/RoleBased/NarikRoleAuthorizationHandler.cs
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Narik.Common.Web.Infrastruc... |
Afonsoft.Petz/DataBase/petz_Companies.cs | afonsoft/PetSystem | 0 | 7051367 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
Core.Shared/AABB.cs | Nominom/.NET-Core-game-engine | 8 | 7051368 | using System;
using System.Collections.Generic;
using System.Numerics;
using System.Runtime.InteropServices.ComTypes;
using System.Text;
using GlmSharp;
namespace Core.Shared
{
public struct AabbBounds {
public readonly vec3 min;
public readonly vec3 max;
public AabbBounds(vec3 point) {
min = point;
max... |
Code/Components/DanpheEMR.ServerModel/ClinicalModels/ClinicalEye/AblationProfileModel.cs | MenkaChaugule/hospital-management-emr | 1 | 7051369 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DanpheEMR.ServerModel
{
public class AblationProfileModel
{
[Key]
public int Id { get; set; }
public... |
SignalGo.Shared/Models/ServiceDetailsMethod.cs | JTOne123/SignalGo-full-net | 3 | 7051370 | <filename>SignalGo.Shared/Models/ServiceDetailsMethod.cs
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace SignalGo.Shared.Models
{
/// <summary>
/// method of service
/// </summary>
public class ServiceDetailsMethod
{
/// <summa... |
cards/ULDUM/ULDA/Sim_ULDA_BOSS_54h.cs | chi-rei-den/Silverfish | 1 | 7051371 | <reponame>chi-rei-den/Silverfish
/* _BEGIN_TEMPLATE_
{
"id": "ULDA_BOSS_54h",
"name": [
"贾内克",
"Janak"
],
"text": [
"<i>这只满腹阴谋的猢狲是怪盗沙漠骑兵团的一员。</i>",
"<i>This scheming hozen heads up E.V.I.L.'s desert cavalry.</i>"
],
"cardClass": "WARRIOR",
"type": "HERO",
"cost": null,
"rarity": null,
... |
modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Web/Pages/EShop/Products/ProductTypes/ProductType/CreateModal.cshtml.cs | p041911070/EShop | 0 | 7051372 | <reponame>p041911070/EShop<gh_stars>0
using System.Threading.Tasks;
using EasyAbp.EShop.Products.ProductTypes;
using EasyAbp.EShop.Products.ProductTypes.Dtos;
using Microsoft.AspNetCore.Mvc;
namespace EasyAbp.EShop.Products.Web.Pages.EShop.Products.ProductTypes.ProductType
{
public class CreateModalModel : Product... |
src/www/Views/Reference/DotnetGuidelinesTypeDesign.cshtml | AerisG222/mikeandwan.us | 0 | 7051373 | @{
Layout = "_LayoutSidebar";
ViewBag.Title = "reference | .net guidelines | type design";
}
@section header {
<h1>.Net Framework Design Guidelines</h1>
}
@section sidebar {
@{
var sidebarModel = new SidebarModel() { Group = "dotnet", Item = "dotnet-guidelines-type-design" };
}
<partia... |
src/YoutubeCenter/YoutubeCenter/MainWindow.xaml.cs | TheBlubb14/YoutubeCenter | 0 | 7051374 | <filename>src/YoutubeCenter/YoutubeCenter/MainWindow.xaml.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Window... |
Xamalist/ViewModels/DetailPageViewModel.cs | AzureAdvocateBit/Xamalist-1 | 53 | 7051375 | <gh_stars>10-100
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xamalist.Services;
namespace Xamalist.ViewModels
{
public class DetailPageViewModel : BindableBase, INavigationAware
{
... |
EverythingNBA.Web/Views/Series/SeriesOverview.cshtml | antoni047/EverythingNBA | 0 | 7051376 | <reponame>antoni047/EverythingNBA
@using EverythingNBA.Services.Models.Series
@model GetSeriesDetailsServiceModel
@{
var team1 = Model.Team1Name.Split(" ").Last();
var team2 = Model.Team2Name.Split(" ").Last();
ViewData["Title"] = $"{team1} - {team2} Series";
var message = TempData["Message"] as strin... |
samples/W3SchoolsWebTests/Tests/FileInputTests.cs | MADE-Apps/legerity | 25 | 7051377 | <reponame>MADE-Apps/legerity<filename>samples/W3SchoolsWebTests/Tests/FileInputTests.cs<gh_stars>10-100
namespace W3SchoolsWebTests.Tests
{
using System;
using System.IO;
using Legerity;
using Legerity.Web.Elements.Core;
using NUnit.Framework;
using OpenQA.Selenium.Remote;
using Shouldly;
... |
Samples/WebApp/WebApp/App.cs | ZeroInfinite/Yams | 203 | 7051378 | #region
using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
using Etg.Yams.Client;
#endregion
namespace WebApp
{
public class App
{
public static string Id;
public static string Version;
public static string ClusterId;
pu... |
tests/Fabricdot.Infrastructure.EntityFrameworkCore.Tests/SoftDelete_Cascading_Tests.cs | Winches/Fabricdot.Core | 8 | 7051379 | <filename>tests/Fabricdot.Infrastructure.EntityFrameworkCore.Tests/SoftDelete_Cascading_Tests.cs
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using Fabricdot.Infrastructure.EntityFrameworkCore.Tests.Entities;
using Fabricdot.Infrastructure.EntityFrameworkCore.Tes... |
src/app/DataAccessLayer/dalMovies.cs | sapinderpalsingh/helium-csharp | 0 | 7051380 | <gh_stars>0
using CSE.Helium.Model;
using Microsoft.Azure.Cosmos;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
namespace CSE.Helium.DataAccessLayer
{
/// <summary>
/// Data Access Layer for CosmosDB
/// </summary>
public partial class DAL
{
// ... |
TMDb.Client/API/V3/ClientProxies/NetworkProxy.cs | joshuajones02/TMDb | 1 | 7051381 | <gh_stars>1-10
using System.Threading.Tasks;
using TMDb.Client.Api.V3.Models.Networks;
namespace TMDb.Client.Api.V3.ClientProxies
{
public class NetworkProxy : ApiProxy
{
public NetworkProxy(TMDbClient client) : base(client)
{
}
public virtual Task<NetworkDetailsResponse> GetA... |
src/NServiceBus.Core/Installation/INeedToInstallSomething.cs | abombss/NServiceBus | 0 | 7051382 | namespace NServiceBus.Installation
{
/// <summary>
/// Interface invoked by the infrastructure when going to install an endpoint.
/// Implementors are invoked after <see cref="INeedToInstallInfrastructure"/>.
/// Implementors should not implement this type directly but rather the generic version of... |
COD2Paster/Models/Damage.cs | EggieCode/COD2Paster | 1 | 7051383 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace COD2Paster.Models
{
public class Damage
{
public double Dam { get; set; }
public string Weapon { get; set; }
public string Bullet { get; set; }
public bool Kill { get; se... |
Msi/Devices/MLDevice.cs | deankevorkian/chroma-yeelight-music | 59 | 7051384 | <reponame>deankevorkian/chroma-yeelight-music
using Common;
using Msi.Devices.Leds;
using Msi.Provider;
using Msi.SDKs;
using Provider;
using System.Drawing;
using System.Threading.Tasks;
namespace Msi.Devices
{
public class MLDevice : Device
{
public MLLed[] Leds { get; set; }
public MLDevice(int ledsCount... |
NUnit.GenericPageTests/AtataSamples.NUnit.GenericPageTests/Components/SignInPage.cs | atata-framework/atata-samples | 41 | 7051385 | using Atata;
namespace AtataSamples.NUnit.GenericPageTests
{
using _ = SignInPage;
public class SignInPage : AppPage<_>, IPageWithHeader<_>
{
public H1<_> Header { get; private set; }
}
}
|
source/Landorphan.TestUtilities.Common/TestFilters/TestFilterAttribute.cs | JTOne123/service-location | 0 | 7051387 | namespace Landorphan.TestUtilities.TestFilters
{
using System;
/// <summary>
/// Allows a developer to suppress a test based on runtime evaluated criteria.
/// A test will be suppressed if any TestFilterAttribute is applied to the class that evaluates to true when the <see cref="ReturnInconclusiv... |
Assets/Game/Scripts/Item/ItemState.cs | hsandt/LD44 | 2 | 7051388 | using System;
[Serializable]
public struct ItemState
{
// True iff the item has been obtained at least once
// It allows us to show it in gray even when quantity is reduced to 0
// Currently unused, as we move item views around completely
// public bool unlocked;
public int quantity;
public boo... |
BitflyerApi/Board.cs | takeratta/BitflyerApi | 13 | 7051389 | using BitflyerApi.ApiBridge;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitflyerApi
{
public enum BoardOrderSide
{
ASK, // 売り
BID // 買い
}
public ... |
projects/Epicycle.Math_cs/Combinatorics.cs | open-epicycle/Epicycle.Math-cs | 12 | 7051390 | // [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// 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... |
Microsoft.Research/VSAdornments/VSTextPropertiesProvider.cs | jeroen-mostert/CodeContracts | 778 | 7051391 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
Src/WorkoutWotch.Services/Logger/LoggerService.cs | reactiveui-forks/WorkoutWotch | 0 | 7051392 | namespace WorkoutWotch.Services.Logger
{
using System;
using System.Diagnostics;
using System.Globalization;
using System.Reactive.Disposables;
using System.Reactive.Subjects;
using Kent.Boogaart.HelperTrinity.Extensions;
using WorkoutWotch.Services.Contracts.Logger;
using WorkoutWotch.... |
Jlw.Utilities.Data.Tests.IntegrationTests/IntegrationTests/ModularDbClient/GetConnection.cs | JasonLWalker/Jlw.Utilities.Data | 0 | 7051393 | using System;
using System.Data;
using System.Data.Common;
using System.Data.SQLite;
using Jlw.Utilities.Data.DbUtility;
using Jlw.Utilities.Testing;
using Microsoft.Data.SqlClient;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MySql.Data.MySqlClient;
namespace Jlw.Utilities.Data.Tests.IntegrationTests.Mo... |
Tauron.Application.Workshop/StateManagement/DataFactorys/MapSourceFactory.cs | augustoproiete-bot/Project-Manager-Akka | 0 | 7051395 | using System;
using System.Collections.Concurrent;
using JetBrains.Annotations;
using Tauron.Application.Workshop.Mutation;
namespace Tauron.Application.Workshop.StateManagement.DataFactorys
{
[PublicAPI]
public class MapSourceFactory : AdvancedDataSourceFactory
{
public ConcurrentDictionary<Type,... |
FairMark/OmsApi/DataContracts/4_5_9_2_ProductInfo.cs | Nikolay200/FairMarkClient | 8 | 7051396 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace FairMark.OmsApi.DataContracts
{
/// <summary>
/// 4.5.9. Метод «Получить информацию об агрегации»
/// 4.5.9.2. Ответ на запрос, Таблица 64.
... |
ProjectileCore/ProjectileCore.cs | Allison-E/ProjectileCore | 0 | 7051397 | <reponame>Allison-E/ProjectileCore
using System;
namespace Projectile.Core
{
public static partial class ProjectileCore
{
private const double G = 9.8;
/// <summary>
/// Calculates the vertical distance travelled by the projectile from the origin at a specified time.
... |
Singleton/ThereCanBeOnlyOne.cs | fscopel/c-sharp-design-patterns | 0 | 7051398 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Singleton
{
internal sealed class ThereCanBeOnlyOne
{
private static volatile ThereCanBeOnlyOne? _instance;
private static readonly object _lock = new object();
... |
Web/NurserySchoolWebPortal.Web/Views/Children/ById.cshtml | DiyanaMancheva/NurserySchoolWebPortal | 0 | 7051399 | <reponame>DiyanaMancheva/NurserySchoolWebPortal
@model NurserySchoolWebPortal.Web.ViewModels.Children.ChildViewModel
<link href="~/css/child.css" rel="stylesheet">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.m... |
ApiService.Models/Api/UsersApi/Request/UserUpdateRequest.cs | Diaver/super_todo | 1 | 7051400 | using System;
namespace ApiService.Models.Api.UsersApi.Request
{
public class UserUpdateRequest
{
public Guid UserId { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string DateOfBirth { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.