content stringlengths 23 1.05M |
|---|
@using GoNorth.Views.Manage
@using GoNorth.Data.User
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@inject SignInManager<GoNorthUser> SignInManager
@inject GoNorth.Config.IConfigViewAccess AppSettings
<ul class="nav nav-pills nav-stacked">
<li class="@ManageNavPages.IndexNavClass(... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... |
using MockAsynchronousMethods.Repository.Tests.Mock;
using MockAsynchronousMethods.Tests.Mock;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace MockAsynchronousMethods.Repository.Tests
{
public class ArticleRepositoryTests
{
[Fact]
public async Task GivenAMockedDatabase... |
using SnakeGame.Common;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SnakeGame.UI
{
public class UIGameObject : GameObject
{
public UIGameObject(int x, int y, int width, int height, Pen pen)
... |
namespace Xeora.Web.Exceptions
{
public class EmptyBlockException : System.Exception
{
public EmptyBlockException() :
base("Empty Block is not allowed!")
{ }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace InsightDerm.Core.Service.Interfaces
{
public interface IBaseService<TDto, TEntity> where TDto : class
{
IEnumerable<TDto> GetAll(Expression<Func<TEntity, bool>> predicate);
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace sanPetersburgo.Models
{
[Table("tb_salao")]
[Index(nameof(IdMorador), Name = "id_morador_idx")]
... |
/*
Copyright 2016 James Craig
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PassiveSounds : MonoBehaviour {
public SoundController SoundPlayer;
public List<AudioClip> Sounds;
public float MinInterval, MaxInterval;
private DateTime LastPlayed;
private float PlayInter... |
using System;
using System.Collections.Generic;
using System.Text;
namespace KitchenPC.Modeler
{
/// <summary>
/// Represents a query for the modeler, such as a list of ingredients, recipes to avoid, and a number of recipes to return.
/// </summary>
public class ModelerQuery
{
public s... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiciosTecnicosBL
{
public class DatosdeInicio: CreateDatabaseIfNotExists<Contexto>
{
protected override void Seed(Contexto contexto)
... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Datahub.Portal.Data
{
public class DatahubETLStatusContext : DbContext
{
public DatahubETLStatusContext(DbContextOptions<DatahubETLStatusContext> options)
: base(options)
... |
using System;
namespace Searchfight.Services.Exceptions
{
/// <summary>
/// Exception raised from a search service.
/// </summary>
public class SearchServiceException : Exception
{
/// <summary>
/// Engine name where the exception was raised.
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerCustom : MonoBehaviour
{
public GameObject Player;
public void Start()
{
print(PlayerPrefs.GetInt("color"));
if (PlayerPrefs.GetInt("color") == 1)
{
Player.GetComponent<Rend... |
// Copyright (c) 2014 Augie R. Maddox, Guavaman Enterprises. All rights reserved.
#pragma warning disable 0219
#pragma warning disable 0618
#pragma warning disable 0649
namespace Rewired.Editor {
using UnityEngine;
using UnityEditor;
using Rewired;
using Rewired.Data.Mapping;
[System... |
namespace GAPoTNumLib.Text.Literals
{
public static class HtmlLiterals
{
//http://sites.psu.edu/symbolcodes/languages/ancient/greek/greekchart/
#region Upper Greek Letters
public static string UpperAlpha { get; } = "Α";
public static string UpperBeta { get; } = "Β";... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Macad.Core.Geom;
using Macad.Core.Topology;
using Macad.Common;
using Macad.Common.Serialization;
using Macad.Occt;
namespace Macad.Core.Shapes
{
[SerializeType]
public sealed class CircularArray : ModifierBase
{
... |
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
/// <summary>
/// Class used to Represent a cookie the built in .Net Cookie
/// class isn't used a... |
// <copyright file="JobType.cs" company="FT Software">
// Copyright (c) 2016. All rights reserved.
// </copyright>
// <author>Florian Thurnwald</author>
namespace BSA.Core.Models
{
public enum JobType
{
Recovery, // Bergung
Flooding, // Überschwemmung
Hail, // Hagel
Lightni... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.Collections;
using System.ComponentModel.DataAnnotations;
namespace Transcribe.Models
{
public class HomeViewModel
{
public int percentage { get; set; }
public int total... |
using System.Windows;
using System.Windows.Media;
namespace Panuon.UI.Silver
{
public class PasswordBoxHelper
{
#region FocusedBorderBrush
public static Brush GetFocusedBorderBrush(DependencyObject obj)
{
return (Brush)obj.GetValue(FocusedBorderBrushProperty);
}
... |
// 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 Microsoft.Build.Framework;
using Xunit;
namespace Microsoft.Build.UnitTests
{
/// <summary>
/// Verify the functioning of the TargetStart... |
using AutoMapper;
using EmployeeManagement.Application.Contracts.Persistence.Repositories.Employees;
using EmployeeManagement.Application.Models.Employee;
using System;
using System.Threading.Tasks;
namespace EmployeeManagement.Application.Features.EmployeeOperations.Queries.GetEmployeeDetails
{
public class GetE... |
// <copyright file="Order.cs" company="Derek Chasse">
// Copyright (c) Derek Chasse. All rights reserved.
// </copyright>
namespace Flexor
{
/// <summary>
/// Defines the order in which a flex-item is displayed.
/// </summary>
public static class Order
{
/// <summary>
/// The defau... |
using System.Linq;
using System.Threading.Tasks;
using DSharpPlus.Entities;
namespace Nami.Extensions
{
public static class DiscordMessageExtensions
{
public static async Task<int> GetReactionsCountAsync(this DiscordMessage msg, DiscordEmoji emoji)
{
msg = await msg.Channel.GetMess... |
using Platformerengine.res.code.logic;
using Platformerengine.res.code.physics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using static Platformerengin... |
using System.Xml.Serialization;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Tiled.Serialization
{
public class TiledMapImageContent
{
//[XmlIgnore]
//public Texture2DContent Content { get; set; }
//[XmlIgnore]
//public ExternalReference<Texture2DContent> ContentRef { get; set; }
... |
namespace System.ServiceModel.Channels
{
public class WrappedOptions
{
bool wrappedFlag = false;
public bool WrappedFlag { get { return this.wrappedFlag; } set { this.wrappedFlag = value; } }
}
}
|
namespace GhostGen
{
public interface IPostInit
{
void PostInit();
}
}
|
using SportBetApp.Data.Models;
using System.Collections.Generic;
namespace SportBetApp.Repository.Contracts
{
public interface IEventRepository
{
IEnumerable<Event> GetAll();
Event Add(Event modelToAdd);
void Edit(Event modelToEdit);
void Delete(int id);
}
}
|
using System;
namespace EfficientDynamoDb.Operations.DescribeTable.Models
{
public class ArchivalSummary
{
public string ArchivalBackupArn { get; }
public DateTime ArchivalDateTime { get; }
public string ArchivalReason { get; }
public ArchivalSummary(string ar... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Startup : MonoBehaviour
{
public enum Track
{
Main, Game, Victory
}
[SerializeField]
private AudioSource audioPlayer;
[SerializeField]
private AudioClip ... |
using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Hotel_room_type
{
public class ERPHotel_room_type : ERPNextObjectBase
{
public ERPHotel_room_type() : this(new ERPObject(DocType.Hote... |
using Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal;
namespace Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal;
/// <summary>
/// The default factory for Npgsql-specific query SQL generators.
/// </summary>
public class NpgsqlQuerySqlGeneratorFactory : IQuerySqlGeneratorFactory
{
private read... |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... |
using MediatR;
namespace Domain.Abstractions
{
public interface IDomainEventDispatcher
{
void Dispatch(INotification domainEvent);
}
} |
// Copyright (c) Source Tree Solutions, LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Author: Joe Audette
// Created: 2016-08-31
// Last Modified: 2018-10-09
//
using cloudscribe.SimpleContent.Models;
using cloud... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.Ctrip.Soa.Caravan.Utility;
namespace Com.Ctrip.Soa.Caravan.ValueParser
{
public class StringParser : IValueParser<string>
{
public readonly static StringParser Instance = new StringParser();
public... |
using System;
using System.Windows.Forms;
namespace P3D.Legacy.Launcher.Extensions
{
internal static class ControlExtensions
{
public static void SafeInvoke(this Control uiElement, Action updater, bool forceSynchronous = false)
{
if (uiElement == null)
return;
... |
using System;
using SharpKml.Base;
namespace SharpKml.Dom
{
/// <summary>
/// Specifies the current state of a <see cref="NetworkLink"/> or
/// <see cref="Folder"/>.
/// </summary>
/// <remarks>
/// <para>OGC KML 2.2 Section 16.13</para>
/// <para>This enumeration has a <see cref="FlagsAtt... |
using System;
namespace Elders.Cronus.DomainModeling
{
public interface IAggregateRootId : IBlobId, IEquatable<IAggregateRootId>
{
string AggregateRootName { get; }
}
} |
using System.Collections.Generic;
namespace MtApi5.Requests
{
internal class IndicatorCreateRequest: RequestBase
{
public override RequestType RequestType => RequestType.IndicatorCreate;
public string Symbol { get; set; }
public ENUM_TIMEFRAMES Period { get; set; }
p... |
using System.Collections.Generic;
namespace LINGYUN.Abp.OssManagement.FileSystem
{
public static class FileSystemOssOptionsExtensions
{
public static void AddProcesser<TProcesserContributor>(
this FileSystemOssOptions options,
TProcesserContributor contributor)
wher... |
using UnityEngine;
using System.Collections;
namespace Zeltex.Util
{
//[ExecuteInEditMode]
public class ObjectBounds : MonoBehaviour
{
[Header("Debug")]
public bool DebugBounds = true;
public bool IsGetBounds;
public Bounds MyBounds;
void Update()
{
... |
// Copyright (c) 2012-2021 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
#if !NET35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Dicom.Log;
namespace Dicom.Network
{
/// <summar... |
namespace Scenario.Domain.Clauses
{
public interface IPredicateClause
{
public string Discriminator { get; }
}
}
|
using System.Linq;
using System.Threading.Tasks;
using VerifyXunit;
using Xunit;
[UsesVerify]
public class PendingUpdateReaderTests
{
[Fact]
public Task Deprecated()
{
var input = @"
The following sources were used:
https://api.nuget.org/v3/index.json
C:\Program Files (x86)\Mic... |
using System;
using System.Threading.Tasks;
using Microsoft.CognitiveServices.Speech;
namespace SpeechToText
{
class Program
{
static async Task Main()
{
// Build up our speech config
string key = "<apiKeyGoesHere>";
string region = "<regionGoesHere, eg: australiaeast>";
SpeechConfig speechConfig = ... |
using System;
using System.Configuration;
namespace MsLearnCosmosDB
{
public class OrderItem
{
public Guid id { get; set;}
public string Title { get; set; }
public string Category { get; set; }
public string UPC { get; set; }
public string Website { get; set; }
p... |
using System.Collections.Generic;
using UnityEngine;
namespace AIGamedevToolkit
{
#if UNITY_EDITOR
using UnityEditor;
/// <summary>
/// A custom editor for InferenceManager components
/// </summary>
[CustomEditor(typeof(InferenceManager))]
public class EditorInferenceManager : Editor
... |
using AGS.API;
using ProtoBuf;
namespace AGS.Engine
{
[ProtoContract]
public class ContractAnimationConfiguration : IContract<IAnimationConfiguration>
{
[ProtoMember(1)]
public LoopingStyle Looping { get; set; }
[ProtoMember(2)]
public int Loops { get; set; }
#region IContract implementation
publ... |
#region Copyright
/*
--------------------------------------------------------------------------------
This source file is part of Xenocide
by Project Xenocide Team
For the latest info on Xenocide, see http://www.projectxenocide.com/
This work is licensed under the Creative Commons
Attribution-NonCommercia... |
// ------------------------------------------------------------------------------
// <copyright file="KnownPlayerColorTests.cs" company="Drake53">
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
// </copyright>
// ----------------------------------------------------... |
namespace Tzkt.Sync.Protocols.Proto7
{
class TokensCommit : Proto5.TokensCommit
{
public TokensCommit(ProtocolHandler protocol) : base(protocol) { }
}
}
|
using System;
using System.Collections.Generic;
namespace Vk.Generator
{
public class TypeNameMappings
{
private readonly Dictionary<string, string> _nameMappings = new Dictionary<string, string>()
{
{ "uint8_t", "byte" },
{ "uint32_t", "uint" },
{ "uint64_t... |
using System;
using System.Linq.Expressions;
namespace EasyData.EntityFrameworkCore
{
public interface IMetaEntityCustomizer<TEntity> where TEntity : class
{
IMetaEntityCustomizer<TEntity> SetDescription(string description);
IMetaEntityCustomizer<TEntity> SetDisplayName(string displayName);
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NotificationService.Contracts
{
using System.Collections.Generic;
using System.Runtime.Serialization;
/// <summary>
/// Email Message contract of MS Graph Provider.
/// </summary>
[DataContract]
public cl... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SimpleBotWeb.Models.DataHelpers;
using SimpleBotWeb.Models.Factories;
namespace SimpleBotWeb.Controllers
{
public class TinyUrlController : BaseController
{
public IActionResult Index(string id)
{
using (var dc ... |
using Cake.Web.Docs;
namespace Cake.Web.Models
{
public sealed class MethodViewModel
{
private readonly DocumentedMethod _data;
public DocumentedMethod Data
{
get { return _data; }
}
public MethodViewModel(DocumentedMethod data)
{
_data ... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Famoser.OfflineMedia.Business.Models;
using Famoser.OfflineMedia.Business.Models.NewsModel;
namespace Famoser.OfflineMedia.Business.Newspapers
{
public interface IMediaSourceHelper
{
Task<List<ArticleModel>> EvaluateFeed(FeedModel f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VendingMachine.Domain.Business.Contracts.Repository;
using VendingMachine.Domain.Models;
namespace VendingMachine.Repository.Repositories
{
public class ProductRepository : BaseRepository<Product>, IProductRepository
{... |
using System;
namespace log4net.Util.TypeConverters
{
/// <summary>
/// Attribute used to associate a type converter
/// </summary>
/// <remarks>
/// <para>
/// Class and Interface level attribute that specifies a type converter
/// to use with the associated type.
/// </para>
/// <para>
/// To associate a t... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LFVGL
{
public class MouseState
{
public MouseState()
{
this.intX = System.Windows.Forms.Control.MousePosition.X;
this.intY = System.Windows.Forms.Control.MousePosition.Y;
}
private int intX;
public int X
{
get { re... |
using System;
namespace Rafi
{
internal enum CsrAddr : int
{
USTATUS = 0x000,
FFLAGS = 0x001,
FRM = 0x002,
FCSR = 0x003,
UIE = 0x004,
UTVEC = 0x005,
USCRATCH = 0x040,
UEPC = 0x041,
UCAUSE = 0x042,
UTVAL = 0x043,
UIP = 0x04... |
using UnityEngine;
[RequireComponent(typeof(MeshRenderer))]
public class Gate : MonoBehaviour
{
[SerializeField] Camera m_mainCamera, m_observCamera;
private RenderTexture _renderTexture;
private int _cullingLayer;
private void Awake()
{
_renderTexture = new RenderTexture(Screen.width, Sc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using PCSC;
using PCSC.Exceptions;
namespace Dolphin0809.NFC.Felica
{
public class Felica : IDisposable
{
private delegate byte[] CardReaderTransmit... |
namespace Checkout.PaymentGateway.Api.Models
{
public class ProcessPaymentRequestModel
{
public decimal Amount { get; set; }
public string Currency { get; set; }
public string CardType { get; set; }
public string CardNumber { get; set; }
public int ExpiryMonth { get;... |
using System;
using System.Globalization;
using System.IO;
using Google.Cloud.TextToSpeech.V1;
using JamesCore.Config;
using JamesCore.News;
using JamesCore.News.DeutscheWelle;
using JamesCore.Voice;
using JamesCore.Weather;
using JamesCore.Weather.DarkSky;
using JamesCore.Weather.OpenWeatherMap;
using Microsoft.Cogni... |
/*
* Creato da SharpDevelop.
* Utente: lucabonotto
* Data: 03/04/2008
* Ora: 14.34
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using LBSoft.... |
namespace BalanceKeeper.Viewmodels
{
public interface IView
{
void Close();
void Disable();
}
} |
@model IEnumerable<PROG2230_Byounguk_Min.Models.TransactionRecord>
@{
ViewData["Title"] = "My Transactions";
}
<h2>Transactions</h2>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>@Html.DisplayNameFor(model => model.CompanyModel.Ticker)</th>
... |
using System.Threading;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace TemplateConsoleApp.MessageSystem
{
public interface IMessageHandler
{
Task<Message> CreateMessage(ITelegramBotClient botClient, CancellationToken token, Update update);
}
}
|
using System;
namespace AntMe.Core.Test
{
[LevelDescription(
"{300EE6AF-D6A7-4351-A87D-531DD0848EE0}",
typeof(DebugMap),
"Debug Level",
"Debug Level Description"
)]
internal class DebugLevel : Level
{
public DebugLevel(ITypeResolver resolver) : base(resolver) { ... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Bootstrapper.cs" company="Chocolatey">
// Copyright 2017 - Present Chocolatey Software, LLC
// Copyright 2014 - 2017 Rob Reynolds, the maintainers of Chocolatey, and RealDi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace WebPebble.Entities
{
public class WebPebbleUserData
{
public int _id { get; set; } //Used in the database
public string rpwsId { get; set; } //Used to find this object.
public string theme { get; set; }
... |
using Invoices.Models;
using System;
using System.Collections.Generic;
namespace Invoices.Repositories
{
public interface IInvoiceRepository
{
IEnumerable<Invoice> Get();
Invoice Get(Guid id);
Guid Create(Invoice invoice);
bool Remove(Guid id);
}
}
|
using Salvis.App.Web.Filters;
using System.Web.Mvc;
namespace Salvis.App.Web
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
var errorAttribute = new HandleErrorAttribute();
filters.Add(new AuthorizeAttribute());
... |
using System;
using System.Collections.Generic;
using System.Text;
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.Windows.Media.Imaging;
using System.Windows.Shapes;
using Guppy.OutputI... |
using eCommerce.PublisherSubscriber.Object;
namespace eCommerce.PublisherSubscriber.Contracts
{
public interface IPublisher<T>
{
void PublishMessage(Message<T> message, string queueName);
void DistributeMessage(Message<T> message, string exchangeName);
}
}
|
using OpenTracker.Models.Dungeons;
using OpenTracker.Models.Requirements;
namespace OpenTracker.Models.KeyLayouts
{
/// <summary>
/// This class contains the end of key layout data.
/// </summary>
public class EndKeyLayout : IKeyLayout
{
private readonly IRequirement _requirement;
... |
using System;
using System.ServiceProcess;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace WinServices
{
public class WinHosServicetLietime : IHostLifetime
{
public IHostApplicationLifetime ApplicationLifetime { get; private set; }
public Ser... |
using UnityEngine;
using Leap;
using System.Collections;
public class HandControllerUtil {
private static HandController _handController;
public static HandController handController {
get {
if (_handController == null) {
_handController = GameObject.FindObjectOfType<HandCo... |
using PROJECTNAME.Domain.Entities;
namespace PROJECTNAME.Domain.Handlers.ENTITYNAME.Remove
{
public class RemoveENTITYNAMECommandResponse
{
public ENTITYNAMEEntity Data { get; set; }
public RemoveENTITYNAMECommandResponse(ENTITYNAMEEntity data)
{
Data = data;
}
... |
namespace Player {
public class EventGetRetroActiveData {
public readonly float TotalSeconds;
public EventGetRetroActiveData(float totalSeconds) {
this.TotalSeconds = totalSeconds;
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// first set object body y for height then set rotation
public class ObjectSpawner : MonoBehaviour
{
public float SpawnInterval;
[SerializeField] GameObject[] prefabs;
[SerializeField] int[] weights;
[SerializeField] Targe... |
namespace Quaestor.Environment
{
public enum WellKnownAgentType
{
ClusterAgentGuardian = 1,
LoadBalancer = 2,
KeyValueStore = 3,
Worker = 4
}
}
|
using System.Net;
using Stardust.Interstellar.Rest.Annotations;
using Stardust.Interstellar.Rest.Extensions;
namespace Stardust.Continuum.Client
{
public class ApiKeyAttribute : AuthenticationInspectorAttributeBase, IAuthenticationHandler
{
public override IAuthenticationHandler GetHandler()
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class welcome : MonoBehaviour {
public float Showtime = 0f;
public int counter = 5;
public GameObject menu;
// Use this for initialization
void Start () {
menu.SetActive(false);
}
// Update ... |
using Dapper;
using Microsoft.Extensions.Configuration;
using Ordering.Core.Entities;
using Ordering.Core.Repositories.Query;
using Ordering.Infrastructure.Repository.Query.Base;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace Ordering.Infr... |
//=============================================================================
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
// AUTH... |
@using Microsoft.AspNetCore.Http
@using JustLearnIT
@using JustLearnIT.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
using System;
using System.Threading.Tasks;
using Deployer.Services;
using Serilog;
namespace Deployer.Execution.Testing
{
public class TestBcdInvoker : IBcdInvoker
{
public async Task<string> Invoke(string command)
{
Log.Verbose("Invoked BCDEdit: '{Command}'", command);
... |
using Orchard.ContentManagement.Records;
using Orchard.Environment.Extensions;
namespace Nwazet.Commerce.Models {
[OrchardFeature("Nwazet.Commerce")]
public class ProductPartRecord : ContentPartRecord {
public ProductPartRecord() {
ShippingCost = null;
}
public vir... |
namespace Reductech.Sequence.Core.Steps;
/// <summary>
/// Creates an array by repeating an element.
/// </summary>
public sealed class Repeat<T> : CompoundStep<Array<T>> where T : ISCLObject
{
/// <summary>
/// The element to repeat.
/// </summary>
[StepProperty(1)]
[Required]
public IStep<T>... |
using TMPro;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class AlertScreen : MonoBehaviour
{
public static AlertScreen alert;
private UIAnimation uiAnimation;
private Button closeButton;
private bool open;
private TextMeshProUGUI text;
public void Reset()
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace StaticClasses
{
public static class Rock
{
}
}
|
using System;
namespace Project
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("\n=== Undecorated Component ===");
var undecoratedComponent = new Component();
undecoratedComponent.Operation();
Console.WriteLine... |
using System;
using System.Collections.Generic;
using VoiceBridge.Most.VoiceModel.Alexa;
namespace VoiceBridge.Most.Test.TestData
{
public static class AlexaRequests
{
public static SkillRequest Weather(string city)
{
var request = Boilerplate();
request.Content.Intent.N... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Common;
using Buget_BusinessLayer;
namespace BugetTest1.IncomeForms
{
public partial class FormIncomeAdd1 : Form
{
publi... |
using System;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using Random = System.Random;
namespace Orders
{
public class OrdersCanvas : MonoBehaviour
{
public Transform SpawnPoint;
public OrderIcon OrderIconPrefab;
public TMP_Text TextScore;
private Queue... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.