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 |
|---|---|---|---|---|
idea_site/idea_BLL/Model/User/Store.cs | pkhode21/myStore | 0 | 7065901 | using idea_BLL.Model.Master;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace idea_BLL.Model.User
{
[Table("tblStore")]
public class Store
{
[Key,ForeignKey("User")]
[Required]
[DatabaseGenerated(DatabaseGeneratedOption.Iden... |
src/Shaiya.Origin.Game/World/Pulse/Task/Impl/CheckAvailableNameTask.cs | 7Power/Origin | 1 | 7065902 | <gh_stars>1-10
using Shaiya.Origin.Common.Networking.Client;
using Shaiya.Origin.Common.Networking.Packets;
using Shaiya.Origin.Game.Model.Entity.Player;
using System;
using System.Net;
using System.Text;
namespace Shaiya.Origin.Game.World.Pulse.Task.Impl
{
/// <summary>
/// Represents a task used to check an... |
src/DeviceProvisioningServices/DeviceProvisioningServices/Common/IotDpsBaseCmdlet.cs | mbentancour/azure-powershell | 3,336 | 7065903 | <reponame>mbentancour/azure-powershell
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtai... |
srcs/KBot.Game/Extension/CharacterExtensions.cs | Roxeez/KBot | 2 | 7065904 | <reponame>Roxeez/KBot<filename>srcs/KBot.Game/Extension/CharacterExtensions.cs
using System;
using System.Linq;
using System.Threading;
using KBot.Common.Extension;
using KBot.Common.Logging;
using KBot.Game.Entities;
using KBot.Game.Enum;
using KBot.Game.Inventories;
using KBot.Game.Battle;
using KBot.Game.Pets;
name... |
content/src/ServiceBroker/Broker/ServiceInstanceEntity.cs | AXOOM/Templates.ServiceBroker | 0 | 7065905 | using System.ComponentModel.DataAnnotations;
namespace MyVendor.ServiceBroker.Broker
{
public class ServiceInstanceEntity
{
[Key]
public string Id { get; set; }
[Required]
public string ServiceId { get; set; }
[Required]
public string PlanId { get;... |
FitLife.Infrastructure/Validators/Meals/AddMealCommandValidator.cs | bigMackD/FitLife | 2 | 7065906 | <filename>FitLife.Infrastructure/Validators/Meals/AddMealCommandValidator.cs
using FitLife.Contracts.Request.Command.Meals;
using FluentValidation;
namespace FitLife.Infrastructure.Validators.Meals
{
public class AddMealCommandValidator : AbstractValidator<AddMealCommand>
{
public AddMealCommandValida... |
Satellite/Satellite/Htt/Response/HttResFileImage.cs | stackprobe/Satellite | 0 | 7065907 | <filename>Satellite/Satellite/Htt/Response/HttResFileImage.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Satellite.Tools;
using System.IO;
namespace Charlotte.Htt.Response
{
public class HttResFileImage : HttResponse
{
private byte[] _fileData;... |
VBoxLaunch/App.xaml.cs | mfconners/VBoxLaunch | 1 | 7065908 | <filename>VBoxLaunch/App.xaml.cs<gh_stars>1-10
using System.Windows;
using System.Windows.Shell;
using VirtualBox;
namespace VBoxLaunch
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.On... |
Assets/Editor/MazeGeneratorTool.visuals.cs | philipe-go/unity-maze.generator.tool | 0 | 7065909 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
/*
#############################
TITLE: MazeGeneratorTool.visuals.cs
AUTHOR: <NAME>.
DATE: 2021-Jan
#############################
*/
public partial class MazeGeneratorTool : EditorWindow
{
bool wallGroup = fal... |
MaterialCMS/Website/Filters/HoneypotFilterAttribute.cs | DucThanhNguyen/MaterialCMS | 12 | 7065910 | <filename>MaterialCMS/Website/Filters/HoneypotFilterAttribute.cs
using System.Web.Mvc;
using MaterialCMS.Settings;
namespace MaterialCMS.Website.Filters
{
public class HoneypotFilterAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext filterContext)
... |
fabian/lab04/lab03/CBindableBase.cs | CNinnovation/powercampwindows10 | 0 | 7065911 | <reponame>CNinnovation/powercampwindows10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace lab03
{
public abstract class CBindableBase : INotifyPropertyChanged
{
... |
high-performance-dotnet-by-example/code/AhoCorasickTree/Adform.AdServing.AhoCorasickTree.Benchmarks/Utils/ResourcesUtils.cs | alexandrnikitin/workshops | 0 | 7065912 | <filename>high-performance-dotnet-by-example/code/AhoCorasickTree/Adform.AdServing.AhoCorasickTree.Benchmarks/Utils/ResourcesUtils.cs
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace Adform.AdServing.AhoCorasickTree.Benchmarks.Utils
{
public static class ResourcesUtils
{
... |
Assets/Scripts/Core/Game/BoardMoveResult.cs | nicloay/tvsm | 0 | 7065913 | using UnityEngine;
namespace TheseusAndMinotaur.Data.Game
{
public class BoardMoveResult
{
/// <summary>
/// True - if board changed after user action
/// False - if Theseus and Minotaur stayed on the same positions
/// </summary>
public readonly bool BoardChange... |
KNet/KNet.Web/Data/UserModel.cs | PGBSNH19/project-g2 | 0 | 7065914 | using System.ComponentModel.DataAnnotations;
namespace KNet.Web.Data
{
public class UserModel
{
public bool IsAuthenticated { get; set; } = false;
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public long Ph... |
Models/Season.cs | schubertr/TagProLeague | 0 | 7065915 | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
namespace TagProLeague.Models
{
public class Season
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
public string Name { get; set; ... |
Reinforced.Tecture/Commands/CommandsDispatcher.cs | fjod/Reinforced.Tecture | 125 | 7065916 | <reponame>fjod/Reinforced.Tecture
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Reinforced.Tecture.Channels.Multiplexer;
using Reinforced.Tecture.Tracing;
using Reinforced.Tecture.Tracing.Commands;
using Reinforced.Tecture.Transactions;
namespace Reinforced.Tecture.Commands
{
... |
CSparse.Interop/Interop/SuiteSparse/Cholmod/CholmodTriplet.cs | wo80/csparse-interop | 5 | 7065918 | namespace CSparse.Interop.SuiteSparse.Cholmod
{
using System;
#if X64
using size_t = System.UInt64;
#else
using size_t = System.UInt32;
#endif
/// <summary>
/// A sparse matrix stored in triplet form.
/// </summary>
/// <remarks>
/// stype: Describes what parts of the matrix are cons... |
TripPlanet/obj/Release/netcoreapp1.1/PubTmp/Out/Views/Activities/Create.cshtml | moodyan/NET-trip-planet | 0 | 7065919 | <reponame>moodyan/NET-trip-planet
@{
ViewData["Title"] = "Add An Activity";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@model TripPlanet.Models.Activity
@*NOTE: Add Radio Button Options To Show Form...based on type of Activity (autofill establishment vs address)*@
@using (Html.BeginForm())
{
@Html.LabelFo... |
Source/Libs/ManagedIrbis5/Source/Connectivity/ConnectionUtility.cs | amironov73/ManagedIrbis5 | 0 | 7065920 | <reponame>amironov73/ManagedIrbis5<filename>Source/Libs/ManagedIrbis5/Source/Connectivity/ConnectionUtility.cs
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharpe... |
src/ServiceRegistryModules.Core/Internal/RegistryConfigLoader.cs | starx207/ServiceModules | 0 | 7065921 | <reponame>starx207/ServiceModules<gh_stars>0
using System;
namespace ServiceRegistryModules.Internal;
internal class RegistryConfigLoader : IRegistryConfigLoader {
public RegistryConfiguration? LoadFrom(RegistryOptions options) {
if (options.Configuration is null) {
return null;
}
... |
src/UnitTests/Internal/PrimitiveExtensionsTester.cs | mick-wilson/AutoMapper | 1 | 7065922 | <filename>src/UnitTests/Internal/PrimitiveExtensionsTester.cs
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using Should;
namespace AutoMapper.UnitTests
{
[TestFixture]
public class PrimitiveExtensionsTester
{
[Test]
public void Should_not_flag_only_enumerable_typ... |
src/Patterns/18. ChainOfResponsibility/DesignPattern.ChainOfResponsibility5/ManagerServiceCollectionExtensions.cs | ZShijun/DesignPattern | 17 | 7065923 | <filename>src/Patterns/18. ChainOfResponsibility/DesignPattern.ChainOfResponsibility5/ManagerServiceCollectionExtensions.cs
using Microsoft.Extensions.DependencyInjection;
namespace DesignPattern.ChainOfResponsibility5
{
public static class ManagerServiceCollectionExtensions
{
public static IManagerBu... |
Plugin/Field/FieldTypeExtensions.cs | taylorbrooks/Avalanche | 18 | 7065924 | <gh_stars>10-100
// <copyright>
// Copyright Southeast Christian Church
//
// Licensed under the Southeast Christian Church License (the "License");
// you may not use this file except in compliance with the License.
// A copy of the License shoud be included with this file.
//
// Unless required by applicable law o... |
Assets/AnadoluHayatEmeklilik/Scripts/AccountWindow.cs | tahaerel/Gamification-App | 0 | 7065925 | using DatabaseAPI.Account;
using UnityEngine;
using UnityEditor;
using PlayFab;
namespace DatabaseAPI
{
#if UNITY_EDITOR
[InitializeOnLoad]
public static class LatestScenes
{
private static string currentScene;
[System.Obsolete]
static LatestScenes()
{
currentS... |
Ichnaea.Demo/Accounts/BalanceDebitRejected.cs | pete-restall/Ichnaea | 1 | 7065926 | using System.Diagnostics.CodeAnalysis;
namespace Restall.Ichnaea.Demo.Accounts
{
[SuppressMessage("ReSharper", "MemberCanBePrivate.Global", Justification = CodeAnalysisJustification.JsonSerialisation)]
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global", Justification = CodeAnalysisJustification.JsonSe... |
Nalarium/Activation/BasicTypeObjectFactory.cs | davidbetz/nalarium | 0 | 7065927 | <filename>Nalarium/Activation/BasicTypeObjectFactory.cs<gh_stars>0
#region Copyright
//+ Copyright © <NAME> 2007-2017
#endregion
using System;
namespace Nalarium.Activation
{
public class BasicTypeObjectFactory : TypeFactory
{
//- @CreateObject -//
public override Type CreateType(string tex... |
LocationSuggestion/Models/Location.cs | geoffrey-liu/city-suggestions | 0 | 7065928 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LocationSuggestion.Models
{
public abstract class Location
{
public string Name { get; }
public float Latitude { get; }
public float Longitude { get; }
public Location(st... |
GAMMA/Windows/QAPrompt.xaml.cs | samsmithnz/GAMMA | 17 | 7065929 | using GAMMA.CustomControls;
using GAMMA.Toolbox;
using System.Collections.Generic;
using System.Windows;
namespace GAMMA.Windows
{
public partial class QAPrompt : Window
{
public QAPrompt(string question, List<ConvertibleValue> answers)
{
InitializeComponent();
Question... |
SRC/JerryPlat.Models/Dto/PayModelDto.cs | JerryPCN/Jerry-Project-Template | 1 | 7065930 | namespace JerryPlat.Models.Dto
{
public class PayModelDto
{
public string OrderNo { get; set; }
public string PayType { get; set; }
}
} |
Services/FightService/IFightService.cs | rahiyansafz/Role-Playing-Game-WebAPI | 0 | 7065931 | <gh_stars>0
using RPGWebAPI.Dtos.Fight;
using RPGWebAPI.Models;
namespace RPGWebAPI.Services.FightService;
public interface IFightService
{
Task<ServiceResponse<AttackResultDto>> WeaponAttack(WeaponAttackDto request);
Task<ServiceResponse<AttackResultDto>> SkillAttack(SkillAttackDto request);
Task<Servic... |
src/BuyEngine/Checkout/Cart.cs | wamplerj/BuyEngine | 0 | 7065932 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace BuyEngine.Checkout
{
public class Cart
{
public Guid Id { get; set; }
public DateTime Created { get; set; }
public DateTime Expires { get; set; }
public List<CartItem> Items { get; set; } ... |
HtmlRapier.TagHelpers/Bundles/BundlerMinifierCoreBundle.cs | threax/HtmlRapier.TagHelpers | 1 | 7065933 | <filename>HtmlRapier.TagHelpers/Bundles/BundlerMinifierCoreBundle.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace HtmlRapier.TagHelpers
{
class BundlerMinifierCoreBundle
{
[JsonProperty("outputFileName")]
public string OutputFileName { get... |
AbraFlexiAspNetCore/Models/PriceItem.cs | sudoman281/AbraFlexiAspNetCore | 0 | 7065934 | <gh_stars>0
using System;
using Newtonsoft.Json;
namespace AbraFlexiAspNetCore.Models
{
/// <summary>
/// Price list item
/// </summary>
public class PriceItem
{
/// <summary>
/// Price list item
/// </summary>
/// <param name="id">Id</param>
/// <param name=... |
Framework/Screen/Elements/Button.cs | Enaium-StardewValleyMods/EnaiumToolKit | 1 | 7065935 | <filename>Framework/Screen/Elements/Button.cs
using EnaiumToolKit.Framework.Utils;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
using StardewValley.Menus;
namespace EnaiumToolKit.Framework.Screen.Elements
{
public class Button : Element
{
public Button(st... |
EdNetApi/Journal/JournalEntries/DiedJournalEntry.cs | ambedatpro/ednetapi | 0 | 7065936 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DiedJournalEntry.cs" company="<NAME>">
// Copyright(c) 2017 <NAME>. All rights reserved.
// </copyright>
// -----------------------------------------------------------------... |
EditParameter.ascx.designer.cs | hismightiness/dnnstuff.sqlviewpro | 13 | 7065937 |
using DotNetNuke.Services.Localization;
using System;
using System.Web;
using System.ComponentModel;
using Microsoft.VisualBasic;
using System.Web.UI.WebControls;
using System.Collections;
using System.Web.UI.HtmlControls;
using System.Web.UI;
using System.Data.SqlClient;
using System.Data;
using DotNetNuke.UI.UserCo... |
Example/Program.cs | mikeday37/TaskTool | 1 | 7065938 | using TaskTool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Threading;
namespace Example
{
class Program
{
[STAThread] // use STAThread so open/close file dialogs will work
static void Main(string[... |
Components/Entities/ProcessArray.cs | ItaruOtaku/AdminCon-LTS | 1 | 7065939 | <reponame>ItaruOtaku/AdminCon-LTS<filename>Components/Entities/ProcessArray.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
/* AdminCon 7.0 Command Line Interface Edition - Source Code - SortedProcessArray.cs
* Intro: Customized data structure: Sorted proc... |
Pixicity.Data/Models/Web/Denuncia.cs | NESTicle/pixicity-backend | 0 | 7065940 | using Pixicity.Data.Models.Base;
using Pixicity.Data.Models.Posts;
using Pixicity.Data.Models.Seguridad;
namespace Pixicity.Data.Models.Web
{
public class Denuncia : PixicityBase
{
public long PostId { get; set; }
public long UsuarioDenunciaId { get; set; }
public long RazonDenunciaId ... |
Truckpro/Truckpro/Form2.cs | MichaelD94/Poo-Files | 0 | 7065941 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Truckpro
{
public partial class Form2 : Form
{
LoginInfo novoLogin = new Login... |
Source/starshipxac.Shell/Interop/Library/ShellLibraryNativeMethods.cs | rasmus-z/starshipxac.ShellLibrary | 1 | 7065942 | using System;
using System.Runtime.InteropServices;
namespace starshipxac.Shell.Interop.Library
{
/// <summary>
/// ShellLibrary functions.
/// </summary>
/// <remarks>
/// https://msdn.microsoft.com/en-us/library/windows/desktop/ff521699(v=vs.85).aspx
/// </remarks>
int... |
AOC202011/AOC2020Day11/Program.cs | Kemyke/AOC2020 | 0 | 7065943 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace AOC2020Day11
{
class Program
{
static int OccupiedSeatsAround((int x, int y) point, List<string> map)
{
int ret = 0;
List<(int x, int y)> ns = new List<(int x, ... |
Obsolete.PowerUpUtils/PowerUpConvertUtils/ConvertUtils.ByteArray.cs | responsive-kaysta/InMemoryLoaderCommon | 4 | 7065944 | //
// ConvertUtils.cs
//
// Author: <NAME> <<EMAIL>>
//
// Copyright (c) 2017 responsive kaysta
//
// 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 l... |
src/Paket.VisualStudio/Restore/PackageRestorer.cs | MrLuje/Paket.VisualStudio | 136 | 7065945 | using System.IO;
using System.Linq;
using EnvDTE;
using Microsoft.FSharp.Core;
using Microsoft.VisualStudio.Shell;
using Paket.VisualStudio.SolutionExplorer;
namespace Paket.VisualStudio.Restore
{
public class PackageRestorer
{
private readonly IPackageRestorer restorer;
private readonly DTE d... |
src/Sudoku.Solving.Old/Solving/Manual/Singles/FullHouseStepInfo.cs | XiaoXin1900/Sudoku | 12 | 7065946 | namespace Sudoku.Solving.Manual.Singles;
/// <summary>
/// Indicates a usage of <b>full house</b> technique.
/// </summary>
/// <param name="Conclusions">All conclusions.</param>
/// <param name="Views">All views.</param>
/// <param name="Cell">The cell.</param>
/// <param name="Digit">The digit.</param>
public seale... |
src/WeText.Messaging.RabbitMq/RabbitMqMessagePublisher.cs | kaobeixingfu/we-text | 288 | 7065947 | using Newtonsoft.Json;
using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeText.Common;
using WeText.Common.Messaging;
namespace WeText.Messaging.RabbitMq
{
public abstract class RabbitMqMessagePublisher : D... |
src/Samples/Features/FilterInjection/SampleMvcApplication/Filters/GlobalFilter.cs | bmabdi/mvcturbine | 6 | 7065948 | namespace MvcTurbine.Samples.FilterInjection.Filters {
using System.Web.Mvc;
using Services;
public class GlobalFilter : IActionFilter {
public IMessageService MessageService { get; private set; }
public GlobalFilter(IMessageService messageService) {
MessageService = messageSe... |
EFCoreBlogDemo/Blog.Data.EF/Entities/Comment.cs | manoj-choudhari-git/net-samples | 16 | 7065949 | <reponame>manoj-choudhari-git/net-samples<gh_stars>10-100
namespace Blog.Data.EF.Entities
{
public class Comment : BaseEntity
{
public string CommentContents { get; set; }
public string PostedBy { get; set; }
public Comment Parent { get; set; }
public Post ParentPost ... |
SBPatients/Views/SBDispensingUnit/Details.cshtml | SaivarunBandari/SBPatientInfoSystem | 0 | 7065950 | @model SBPatients.Models.DispensingUnit
@{
ViewData["Title"] = "Dispensing Unit Details";
}
<h2>Details</h2>
<div>
<h4>DispensingUnit</h4>
<hr />
<dl>
<dt>
Dispensing Code
</dt>
<dd>
@Html.DisplayFor(model => model.DispensingCode)
... |
src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Types/BoundLambdaType.cs | ivandrofly/corefx | 3 | 7065951 | <filename>src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Types/BoundLambdaType.cs<gh_stars>1-10
// 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.
n... |
Assets/LocationTracker.cs | rwf170030/HealViewUnity | 3 | 7065952 | <reponame>rwf170030/HealViewUnity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LocationTracker : MonoBehaviour
{
private Vector3 objPosition;
private Quaternion objRotation;
private Vector3 objScale;
// Start is called before the first frame update
pr... |
src/Cohesity.Powershell/Common/CohesityLog.cs | DavidSeaton/cohesity-powershell-module | 0 | 7065953 | using NLog;
using NLog.Layouts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Cohesity.Powershell.Common
{
internal class CohesityLog
{
private CmdletConfiguration __cmdletConfig = null;
pri... |
WLib.WinCtrls/PluginCtrl/PluginInfoCtrl.Designer.cs | Windr07/WLib | 21 | 7065954 | namespace WLib.WinCtrls.PluginCtrl
{
partial class PluginInfoCtrl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... |
TaskSet.cs | KiadsCode/AmogusScipts | 0 | 7065955 | <reponame>KiadsCode/AmogusScipts
using System;
using Il2CppDummyDll;
// Token: <KEY> RID: 1269
[Token(Token = "<KEY>")]
[Serializable]
public class TaskSet
{
// Token: <KEY> RID: 6964 RVA: 0x000089E8 File Offset: 0x00006BE8
[Token(Token = "<KEY>")]
[Address(RVA = "0x769CA0", Offset = "0x7690A0", VA = "0x... |
MyHealth/MyHealth.Helpers/ServiceBusClientHelper.cs | willvelida/MyHealth | 3 | 7065956 | using Azure.Messaging.ServiceBus;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace MyHealth.Helpers
{
public class ServiceBusClientHelper
{
private readonly ServiceBusClient _serviceBusClient;
public ServiceBusClientHelper(string conne... |
UltraStar Play/Assets/Common/R/RUxmlNames.cs | achimmihca/Play | 1 | 7065957 | // GENERATED CODE. To update this file use the corresponding menu item in the Unity Editor.
public static partial class R
{
public static class UxmlNames
{
public const string a = "a";
public const string aboutButton = "aboutButton";
public const string aboutText = "aboutText";
... |
Assets/Tests/EditMode/Scripts/IDictionaryExtensionTest.cs | umm/extra_collection | 1 | 7065958 | using System.Collections.Generic;
using NUnit.Framework;
namespace ExtraCollection
{
public class IDictionaryExtensionTest
{
[Test]
public void GetOrDefaultTest()
{
var dictionary = new Dictionary<int, string>();
Assert.IsNull(dictionary.GetOrDefault(0));
... |
Mmosoft.Facebook.Sdk/User/Model/FacebookInfo.cs | ThinhVu/facebookApi | 22 | 7065959 | using System.Collections.Generic;
namespace Mmosoft.Facebook.Sdk.Models.User
{
/// <summary>
/// Contain facebook info like Url, AvatarUrl, Id, AliasName, Display name, ...
/// </summary>
public class FacebookInfo
{
// [at least id or alias]
private string _id;
public strin... |
work-in-progress-web-api-main/MeuApp/Models/Filme.cs | crisslemoss/curso_csharp | 1 | 7065960 | public class Filme {
public long Id { get; set; }
public string Titulo { get; set; }
public long DiretorId { get; set; }
public Diretor Diretor { get; set; }
public Filme(string titulo, long diretorId) {
Titulo = titulo;
DiretorId = diretorId;
}
} |
aspnet-core/src/HC.WeChat.Core/Shops/Authorization/ShopAppAuthorizationProvider.cs | DonaldTdz/GAWeChat | 10 | 7065961 | using System.Linq;
using Abp.Authorization;
using Abp.Localization;
using HC.WeChat.Authorization;
using HC.WeChat.Shops;
namespace HC.WeChat.Shops.Authorization
{
/// <summary>
/// 权限配置都在这里。
/// 给权限默认设置服务
/// See <see cref="ShopAppPermissions"/> for all permission names.
/// </summary>
public... |
Site/Pages/v5/Ledgers/Json-ResyncPreview.aspx.cs | Swarmops/Swarmops | 72 | 7065962 | <filename>Site/Pages/v5/Ledgers/Json-ResyncPreview.aspx.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Resources;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
using Swarmops.Logic.Financial;
using Swarmops.Logic.Security;
namespace Swarmops.Fr... |
src/Huten/Huten.App/Examples/Example_04.cs | do-loop/huten | 2 | 7065963 | namespace Huten.App.Examples
{
using System;
using System.Collections.Generic;
public sealed class Example_04 : Example
{
public override void Execute()
{
var a = QueryStringBuilder.Create()
.AppendSection("books")
.AppendParameters(new Dicti... |
source/XCrypt/blowfish/BlowfishCBC.cs | lavanyadeepak/xcrypt | 0 | 7065964 |
/*
Copright 2001-2003 by <NAME> <<EMAIL>>
All rights reserved.
See Documentation for license details.
*/
using System;
namespace Blowfish_NET
{
/// <summary>
/// helper class to enable CBCB for Blowfish
/// </summary>
/// <remarks>
/// Use this class to encrypt or decrypt byte arrays or a single... |
Files and Exceptions - Exercises/02. HTML Contents/02. HTML Contents.cs | vankatalp360/Programming-Fundamentals-2017 | 1 | 7065965 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
namespace _02.HTML_Contents
{
public class Program
{
public static void Main()
{
var line = Console.ReadLine();
var head = string.Empty;
var... |
DirectN/DirectN/Generated/KSDS3D_HRTF_INIT_MSG.cs | riQQ/DirectN | 1 | 7065966 | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ksmedia.h(1244,9)
using System;
using System.Runtime.InteropServices;
using KSDS3D_HRTF_FILTER_QUALITY = DirectN.__enum_43102;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct KSDS3D_HRTF_INIT_MSG
{
... |
Presentation/FiveOursInterface/FiveOursInterface/Logger/LogHelper.cs | PE-Pmi-31-2020/oops-team-pyatnashki | 0 | 7065967 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace FiveOursInterface.Logger
{
public static class LogHelper
{
private static LogBase _logger = null;
public static void Log(LogTarget target, LogType logType, string message)
{
switch (ta... |
PetsGame/Windows/WindowMenu.xaml.cs | BlueButterflies/PetsGame | 1 | 7065969 | using System;
using System.Collections.Generic;
using System.IO;
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.Windows.Input;
using System.Windows.Media;
using System.Windo... |
Assets/Scripts/ScriptableObjects/PlayerInventory.cs | dgboy/G08-LH | 0 | 7065970 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
[CreateAssetMenu(fileName = "Inventory", menuName = "Scriptable Objects/Inventory/Inventory")]
public class PlayerInventory : ScriptableObject {
public List<InventoryItem> myInventory = new List<InventoryItem>();
... |
src/Cosmos.Business.Extensions.SMS.JdCloud/JdCloudSmsClient.cs | alexinea/Cosmos-Open.SMS | 13 | 7065971 | <reponame>alexinea/Cosmos-Open.SMS
using System;
using System.Threading.Tasks;
using Cosmos.Business.Extensions.SMS.Client;
using Cosmos.Business.Extensions.SMS.Exceptions;
using Cosmos.Business.Extensions.SMS.JdCloud.Configuration;
using Cosmos.Business.Extensions.SMS.JdCloud.Core;
using Cosmos.Business.Extensions.SMS... |
codegen/XsdCodegen/xsd.cs | Michael-F-Bryan/xsd-rs | 1 | 7065972 | using System.Xml.Serialization;
using System.Collections.Generic;
// bindings created using https://xmltocsharp.azurewebsites.net/
namespace XsdCodegen
{
[XmlRoot(ElementName = "annotation", Namespace = "http://www.w3.org/2001/XMLSchema")]
public class Annotation
{
[XmlElement(ElementName = "docum... |
BestRestaurants/Controllers/CuisinesController.cs | atrotter0/best-restaurants | 0 | 7065973 | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using BestRestaurants.Models;
namespace BestRestaurants.Controllers
{
public class CuisinesController : Controller
{
[HttpGet("/cuisines")]
public ActionResult Index()
{
List<Cuisine> allCuisines... |
src/SubTreeMerge/SubTreeMerge.cs | lefevre-fraser/openmeta-mms | 0 | 7065974 | <reponame>lefevre-fraser/openmeta-mms
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using GME.MGA.Core;
using GME.CSharp;
using GME;
using GME.MGA;
using System.Linq;
namespace SubTreeMerge
{
/// <... |
Assets/Imported Assets/SteamAudio/ProbeManager.cs | KevinNentwig/Udacity-VRHighImmersionDev-Capstone-AIShip | 7 | 7065975 | //
// Copyright 2017 Valve Corporation. All rights reserved. Subject to the following license:
// https://valvesoftware.github.io/steam-audio/license.html
//
using UnityEngine;
using System;
namespace SteamAudio
{
public class ProbeManager
{
public IntPtr GetProbeManager()
{
retur... |
Web/CarWorld.Web.ViewModels/Users/EditUserInputModel.cs | BorislavDimitrov/Car-World | 0 | 7065976 | namespace CarWorld.Web.ViewModels.Users
{
using System.ComponentModel.DataAnnotations;
using CarWorld.Data.Models;
using CarWorld.Services.Mapping;
using CarWorld.Web.Infrastructure.ValidationAttributes;
using Microsoft.AspNetCore.Http;
public class EditUserInputModel : IMapFrom<ApplicationUse... |
Index.aspx.cs | WaleedShafei/samyinsurance | 0 | 7065977 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SamyWeb
{
public partial class Index : System.Web.UI.Page
{
public Decimal tk1 = 0;
public Double tk2 = 0;
SamyDBDataContext... |
IcgSoftware.Threema.CoreMsgApi/Exceptions/MessageParseException.cs | pt-icg/Threema-MsgApi-Net-Core | 0 | 7065978 | <reponame>pt-icg/Threema-MsgApi-Net-Core<filename>IcgSoftware.Threema.CoreMsgApi/Exceptions/MessageParseException.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IcgSoftware.Threema.CoreMsgApi.Exceptions
{
public class MessageParseExcep... |
Elicon.Domain/GateLevel/Manipulations/UpperCaseLibraryGatesPorts/LibraryGatesPortsReplacer.cs | Elicon-IL/EDA-Tools | 5 | 7065979 | <filename>Elicon.Domain/GateLevel/Manipulations/UpperCaseLibraryGatesPorts/LibraryGatesPortsReplacer.cs<gh_stars>1-10
using Elicon.Domain.GateLevel.Contracts.DataAccess;
namespace Elicon.Domain.GateLevel.Manipulations.UpperCaseLibraryGatesPorts
{
public interface ILibraryGatesPortsReplacer
{
void Ports... |
RI.Test.Framework.Unity/TestRunner.cs | gosystemsgmbh/RI_Framework | 1 | 7065980 | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using RI.Framework.Bootstrapping;
using RI.Framework.Collections;
using RI.Framework.Collections.DirectLinq;
using RI.Framework.ComponentModel;
using RI.Framework.Composition;
using RI.Framework.Composition.... |
demo/BeeHive.Demo.PrismoEcommerce/Entities/Customer.cs | aliostad/BeeHive | 80 | 7065982 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BeeHive.DataStructures;
namespace BeeHive.Demo.PrismoEcommerce.Entities
{
public class Customer : IHaveIdentity
{
public Customer()
{
Id = Guid.N... |
src/FubuMVC.RavenDb.Tests/RavenDb/RavenPersistorTester.cs | RyanHauert/fubumvc | 1 | 7065983 | <reponame>RyanHauert/fubumvc<gh_stars>1-10
using System;
using System.Linq;
using FubuMVC.RavenDb.RavenDb;
using NUnit.Framework;
using Raven.Client;
using Raven.Client.Document;
using Shouldly;
using StructureMap;
namespace FubuMVC.RavenDb.Tests.RavenDb
{
[TestFixture]
public class RavenPersistorTester
{... |
Unity/Assets/ANovel/Core/Resource/CacheEntry.cs | yazawa-ichio/ANovel | 0 | 7065984 |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ANovel.Core
{
public abstract class CacheEntry : IDisposable
{
public int RefCount { get; private set; }
public abstract bool IsLoaded { get; }
public abstract Type CacheType { get; }
public void RemoveRef()
{
RefCount--;
... |
src/System.CommandLine.Tests/Builder/CommandLineBuilderExtensionsTests.cs | powercode/command-line-api | 2 | 7065985 | <reponame>powercode/command-line-api<filename>src/System.CommandLine.Tests/Builder/CommandLineBuilderExtensionsTests.cs
using System.CommandLine.Builder;
using System.CommandLine.Parsing;
using FluentAssertions;
using Xunit;
namespace System.CommandLine.Tests.Builder
{
public class CommandLineBuilderExtensionsTes... |
TheSaga/TheSaga/Registrator/Interfaces/ISagaRegistrator.cs | b-y-t-e/TheSaga | 2 | 7065986 | <reponame>b-y-t-e/TheSaga
using System;
using TheSaga.ModelsSaga.Interfaces;
namespace TheSaga.Registrator.Interfaces
{
public interface ISagaRegistrator
{
internal ISagaModel FindModelByName(string name);
internal ISagaModel FindModelForEventType(Type eventType);
void Register(ISagaMo... |
ApplicationLauncher/Controls/FolderItem.cs | OIL1I/ApplicationLauncher | 1 | 7065987 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ApplicationLauncher.Controls
{
public partial class FolderItem : UserControl, Logic.IItem
... |
ApeVolo.Api/Extensions/AutoMapperSetup.cs | xianhc/apevolo-api | 188 | 7065988 | <filename>ApeVolo.Api/Extensions/AutoMapperSetup.cs
using System;
using ApeVolo.Api.AutoMapper;
using ApeVolo.Common.Extention;
using AutoMapper;
using Microsoft.Extensions.DependencyInjection;
namespace ApeVolo.Api.Extensions;
/// <summary>
/// 实体映射启动器
/// </summary>
public static class AutoMapperSetup
{
public... |
Product/Zentity.Services/Zentity.Platform/AtomPub/AtomPubService.cs | jdm7dv/Zenity | 1 | 7065989 | <filename>Product/Zentity.Services/Zentity.Platform/AtomPub/AtomPubService.cs
// *******************************************************
//
// Copyright (C) Microsoft. All rights reserved.
//
// **... |
Source/CoreLib/Device.cs | stackpond/smart-attendance | 0 | 7065990 | using System;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Collections.Generic;
using Utilities;
using DataAccess;
using DataAccess.DataSetTableAdapters;
namespace CoreLib
{
/// <summary>
/// Device type
/// </summary>
public enum DeviceType
{
Entry, Exit, ... |
02. Programming Fundamentals/05.02. Lists - Exercise/03. House Party/Program.cs | GeorgiGradev/SoftwareUniversity | 7 | 7065991 | <filename>02. Programming Fundamentals/05.02. Lists - Exercise/03. House Party/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace _03._House_Party
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine()... |
Web/Wilson.Web/Seed/CompaniesDbSeeder.cs | AsimKhan2019/ERP-Construction | 84 | 7065992 | <reponame>AsimKhan2019/ERP-Construction
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Wilson.Accounting.Data;
using Wilson.Companies.Core.Entities;
using Wilson.Companies.Core.Enumerations;
using Wilson.Companies.Data;
using Wilson.Web.Events;
... |
src/qrAPI.App/Services/Implementations/QrService.cs | facundo91/QrApi | 0 | 7065993 | using AutoMapper;
using Microsoft.Extensions.Logging;
using qrAPI.App.Domain;
using qrAPI.App.Domain.Validators;
using qrAPI.App.Services.Interfaces;
using qrAPI.DAL.Daos.Interfaces;
using qrAPI.DAL.Dtos;
using qrAPI.Infra.Mail;
using qrAPI.Infra.Mail.Models;
using System;
using System.Threading.Tasks;
namespace qrAP... |
LineageServer/DataBase/DataSources/LogChat.cs | TaiwanSpring/L1CSharpTW | 0 | 7065994 | <gh_stars>0
using System.Data;
using LineageServer.Enum;
using MySql.Data.MySqlClient;
namespace LineageServer.DataBase.DataSources
{
class LogChat : DataSource
{
public const string TableName = "log_chat";
public const string Column_account_name = "account_name";
public const string Co... |
t4/AppC_T4E10.cs | Beelzenef/GestionMenu | 1 | 7065995 | /*
PROGRAMA: ValorAbsoluto
AUTOR: <NAME>
FECHA: 27/Oct/2016
DESCRIPCION: Este programa muestra el valor absoluto de un numero entre -1000 y 1000
*/
using System;
namespace ValorAbsoluto
{
class ValorAbsoluto
{
public static void Main (string[] args)
{
/// Variables
int num = 0;
int num... |
OpenRiaServices.DomainServices.Server/Test/MetadataTypeAttributeTest.cs | icnocop/OpenRiaServices | 0 | 7065996 | using System.ComponentModel.DataAnnotations;
using System.Windows.Data.Test.Utilities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace System.Web.DomainObjects.Test
{
[TestClass]
public class MetadataTypeAttributeTest {
[TestMethod]
public void Constructor_NullValue() {
... |
XPF/RedBadger.Xpf.Specs/Controls/GridSpecs/ArrangeSpecs.cs | Halofreak1990/XPF | 0 | 7065997 | <filename>XPF/RedBadger.Xpf.Specs/Controls/GridSpecs/ArrangeSpecs.cs
#region License
/* The MIT License
*
* Copyright (c) 2011 Red Badger Consulting
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal... |
NOD32-Runner/ServiceModel.cs | Aldaviva/NOD32-Runner | 0 | 7065998 | <filename>NOD32-Runner/ServiceModel.cs<gh_stars>0
using System.Diagnostics;
using KoKo.Property;
namespace NOD32_Runner
{
public class ServiceModel
{
public readonly StoredProperty<ServiceStatus> Status = new StoredProperty<ServiceStatus>(ServiceStatus.Stopped);
public string Name { get; }
... |
test/ApplicationPipeline.Tests/Helpers/SampleApplicationPipelineStep.cs | ali-tayebi/http-pipeline | 2 | 7065999 | <reponame>ali-tayebi/http-pipeline
using System;
using Microsoft.AspNetCore.Builder;
namespace ApplicationPipeline.Tests
{
public class SampleApplicationPipelineStep : ApplicationPipelineStepBase<SampleApplicationPipelineStep>
{
public override IApplicationBuilder Invoke(IApplicationBuilder input)
... |
Spesometro/FattureRicevute/FattureRicevute.cs | FatturaElettronica/ComunicazioneFattureEmesseRicevute | 8 | 7066000 | <filename>Spesometro/FattureRicevute/FattureRicevute.cs
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
using Spesometro.Common;
using FatturaElettronica.Core;
namespace Spesometro.FattureRicevute
{
public class FattureRicevute : BaseClassSerializable
{
private read... |
Libraria.Native/NativeUtils.cs | sbarisic/Libraria | 7 | 7066001 | using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Runtime.InteropServices;
namespace Libraria.Native {
public class NativeUtils {
static Dictionary<string, IntPtr> LibCache = new Dictionary<string, IntPtr>();
public static IntPtr LoadLibrary(string Pth) {
... |
Blog.Data/Abstract/IEntityBaseRepository.cs | RodionChachura/simple-blog-back | 41 | 7066002 | <reponame>RodionChachura/simple-blog-back
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Blog.Model;
namespace Blog.Data.Abstract
{
public interface IEntityBaseRepository<T> where T : class
{
void Add(T entity);
void Delete(T entity);
void DeleteWh... |
src/Neptuo.AspNet.Navigation/Extensions/UrlExtensions.cs | neptuo/AspNet.Navigation | 0 | 7066003 | <filename>src/Neptuo.AspNet.Navigation/Extensions/UrlExtensions.cs
using Neptuo.AspNet.Navigation.Metadata;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Web.Mvc
{
/// <summary>
/// The extensions for generating U... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.