content stringlengths 23 1.05M |
|---|
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
namespace QRLoginFunctions
{
public static class GetKeyInfoFunction
{
[FunctionName("... |
namespace Radix.Math.Pure.Algebra.Structure;
public interface Ring<A> : Group<A>
{
}
|
namespace DataHelpers.Contracts {
/// <summary>
/// Contract defines object that can act as a data reader, to get data from a source
/// file to an ImportData object.
/// </summary>
public interface IReader {
/// <summary>
/// Read the data contained in an asset, and use ... |
using System.Collections.Generic;
using System.Net;
using System.Web.Http;
using HalSample.Models;
namespace HalSample.Controllers
{
public class AuthorsController : ApiController
{
private readonly IAuthors _authorsData;
public AuthorsController()
{
_authorsData = new InM... |
using JqueryDataTables.ServerSide.AspNetCoreWeb.Attributes;
using System.ComponentModel.DataAnnotations;
namespace AspNetCoreServerSide.Models
{
public class Demo
{
public Demo()
{
DemoNestedLevelOne = new DemoNestedLevelOne();
}
[JqueryDataTableColumn(Order = 1)]
... |
using Noyau;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Input;
using WpfApp2.Noyau;
namespace WpfApp2
{
class AucunPinEntreeException : Exception, IException
{
public Canvas pan... |
using BoulderBox.Data.Models;
using BoulderBox.Services.Data.Common;
namespace BoulderBox.Services.Data.Boulders
{
public interface IGradesService : IBaseService<Grade>
{
}
}
|
using MvvmNext;
using MvvmNext.CommandWpf;
using System;
using System.Windows;
using System.Windows.Controls;
namespace SWUI.Sample.ViewModel
{
public class SVGTextButtonViewModel : ViewModelBase
{
public RelayCommand SmileCommand { get; private set; }
public RelayCommand SetIconPositionLeft ... |
using System.Data;
namespace Nice.DataAccess.Transactions
{
public class CommittableTransaction : Transaction
{
public CommittableTransaction(IDbTransaction dbTransaction)
{
DbTransaction = dbTransaction;
}
public void Commit()
{
DbTransaction.Co... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MainMenuController : MonoBehaviour {
/// <summary>
/// Menus.
/// </summary>
public enum Menus {
// Enter the exact name of the menu here
MainMenuScreen, // main menu
... |
using System.Collections.Generic;
using System.Linq;
namespace Ianitor.Osp.Backend.Persistence.DataAccess
{
public class ResultSet<TEntity>
{
public ResultSet(IEnumerable<TEntity> result, long totalCount)
{
Result = result;
TotalCount = totalCount;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
/********************
* DIALOGUE TRIGGER *
********************
* A Dialogue Trigger can be anything, an NPC, a signpost, or even an in game event.
*
* A Dialogue Trigger is resp... |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Collections.ObjectModel
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
[Serializable]
////[DebuggerTypeProxy( typeof( Msco... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nurse.Common.Interface
{
/// <summary>
/// 状态中心连接器
/// </summary>
public interface IStateCenterConnector
{
/// <summary>
/// 中心是否能连接到
/// </summary>... |
using Solid.Http.Json.Core.Abstractions;
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
namespace Solid.Http.Json
{
/// <summary>
/// Options for configuring Solid.Http.Json.
/// </summary>
public class SolidHttpJsonOptions : I... |
namespace CommunityToolkit.Maui.Sample.ViewModels.Converters;
public class NotEqualConverterViewModel : BaseViewModel
{
string inputValue = string.Empty;
public string InputValue
{
get => inputValue;
set => SetProperty(ref inputValue, value);
}
} |
using System;
namespace LumiSoft.Net.IMAP
{
// Token: 0x020001B0 RID: 432
public class IMAP_t_Fetch_i_Uid : IMAP_t_Fetch_i
{
// Token: 0x060010C6 RID: 4294 RVA: 0x00067CA8 File Offset: 0x00066CA8
public override string ToString()
{
return "UID";
}
}
}
|
using System;
using System.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAssertions;
using SimpleETL.Extract;
namespace SimpleETL.Tests
{
[TestClass]
public class DelimitedFileReaderTests
{
[TestMethod]
[TestCategory("Reader")]
public void Delimited_File_Rea... |
using System;
namespace InjectionScript.Runtime
{
public class TestTimeSource : ITimeSource
{
public DateTime StartTime { get; set; }
public TimeSpan SinceStart => Now - StartTime;
public DateTime Now { get; set; }
}
}
|
using Quartz;
namespace MessageScheduler.Schedulers
{
public abstract class JobScheduler
{
public abstract void Schedule(IScheduler scheduler);
}
} |
using System;
using UnityEngine;
using UnityEngine.Assertions;
using Grove.Actions;
using Grove.Common;
using Grove.Visuals;
namespace Grove.UI
{
[Serializable]
public class SetTextColor : ComponentAction<UnityEngine.UI.Text>
{
[SerializeField]
protected ColorInput m_Color;
protected override void Execute(I... |
namespace Abbybot_III.Core.Guilds
{
public class AbbybotGuild
{
public ulong Id;
public string Name;
public bool NoLoli;
public bool NoNSFW;
public ulong PrefAbbybot;
internal int AutoDeleteTime;
}
} |
using System;
using Xms.Schema.Domain;
namespace Xms.Flow.Core
{
public class WorkFlowCancellationContext
{
public Guid ObjectId { get; set; }
public Entity EntityMetaData { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class BackgroundMusic : MonoBehaviour {
AudioSource audio2;
// static bool AudioBegin = false;
void Start(){
audio2 = gameObject.GetComponent<AudioSource> ();
}
void Awake()
{
audio2 =... |
using Elvet.Core;
using Elvet.Core.Plugins.Config;
namespace Elvet.InCharacter
{
internal class InCharacterConfig : IPluginConfig, IConnectionStringConfig, IValidateAble<InCharacterConfig>
{
public bool Enabled { get; set; } = true;
public string? ConnectionString { get; set; } = string.Empty;... |
using System.Linq;
using LunaCommon.Message.Data.Chat;
using LunaCommon.Message.Server;
using Server.Client;
using Server.Command.Command.Base;
using Server.Context;
using Server.Log;
using Server.Server;
using Server.Settings;
namespace Server.Command.Command
{
public class PmCommand : SimpleCommand
{
... |
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
namespace D2L.MQTT.Packets.Tests {
[TestFixture]
internal sealed class IAsyncMqttPacketVisitorTests {
private static readonly CancellationToken TestCancellationToken = new CancellationToken( false );
private sta... |
namespace EnvironmentAssessment.Common.VimApi
{
public class VirtualDiskOptionVFlashCacheConfigOption : DynamicData
{
protected ChoiceOption _cacheConsistencyType;
protected ChoiceOption _cacheMode;
protected LongOption _reservationInMB;
protected LongOption _blockSizeInKB;
public ChoiceOption CacheConsiste... |
// * **************************************************************************
// * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C.
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distributi... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 obtain a copy of... |
using System.Collections.Generic;
namespace Fabricdot.WebApi.Core.Models
{
public interface IListResult<T>
{
ICollection<T> List { get; set; }
}
} |
/***************************************************************************/
// Copyright 2013-2019 Riley White
//
// 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.ap... |
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using System.Web.UI;
using System.Security.Permissions;
using System.Web;
using System.Collections;
using System;
namespace Microsoft.Xrm.Portal.Web.UI
{
pu... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace HtmlGenerationWebSite.Models
{
public enum DayOfWeek
{
Monday,
Tuesday,
Wednesday,
Thursday,
... |
// See https://aka.ms/new-console-template for more information
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Text.Json.Serialization;
using Sabuto.Trello.Core;
using Sabuto.Trello.Core.Models.Board;
using Sabuto.Trello.Core.Models.Label;
Console.WriteLine("Hello, World!");
var client = new Sab... |
using tofx.Data.Abstractions;
using System.Data;
using System.Reflection;
using System;
namespace tofx.Data
{
public class DbModelPropertyStrategy : IDbModelPropertyStrategy
{
private readonly PropertyInfo _propertyInfo;
private string _name;
private DbType? _dbType;
private in... |
using System.Reflection;
using System.Reflection.Emit;
namespace NCop.Weaving
{
public class MethodSignatureWeaver : AbstractMemberSignatureWeaver
{
public MethodSignatureWeaver(ITypeDefinition typeDefinition)
: base(typeDefinition) {
}
public override MethodBuilder Weave(... |
namespace AspnetCore.TypeSafe.Test.Shared
{
public class SumRequest
{
public int Number1 { get; set; }
public int Number2 { get; set; }
}
} |
using System;
namespace CSGSI.Nodes
{
public class PlayerStateNode : NodeBase
{
public readonly int Health;
public readonly int Armor;
public readonly bool Helmet;
public readonly int Flashed;
public readonly int Smoked;
public readonly int Burning;
publ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Linq;
using Newtonsoft.Json;
using System.Net.NetworkInformation;
namespace AppStudio.Uwp.Cache
{
public static class AppCache
{
private static Dictionary<string, string> _mem... |
using System.Collections.Generic;
namespace Aliexpress.Api.Exceptions
{
/// <summary>
/// Error Code for the Internal Api exceptions
/// </summary>
public class ErrorCodes
{
public const int SucceedCode = 20010000;
public static Dictionary<int, string> Messages;
/// <summa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GestionRelationClient.Models
{
public class Produit : Article
{
// La clé primaire est déjà dans Article
public String Fabricant { get; set; }
public int Quantite { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZeroMQ;
using System.Threading;
namespace Thp.Har.Utility {
public class ZeroMqServer {
ZmqContext m_Context = null;
ZmqSocket m_Socket = null;
private bool m_Running = true;
public ZeroMqS... |
namespace RE
{
/// <summary>
/// Represents the current status of the operation
/// </summary>
public enum CharFAStatus
{
/// <summary>
/// The status is unknown
/// </summary>
Unknown,
/// <summary>
/// Trimming duplicate states
/// </summary>
TrimDuplicates
}
/// <summary>
/// Represents the ... |
using SRDP.Application.Repositories;
using SRDP.Domain.Declaraciones;
using SRDP.Domain.Enumerations;
using SRDP.Domain.ValueObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SRDP.Application.UseCases.UpdateDeclaracion
{
public c... |
using Microsoft.AspNetCore.Authorization;
namespace Infrastructure.Security
{
public class IsHostRequirement : IAuthorizationRequirement
{
}
}
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Concurrent;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft... |
using System;
using System.Linq;
using NUnit.Framework;
using Plainion.Collections;
namespace Plainion.Tests.Collections
{
[TestFixture]
class EnumerableTests
{
[Test]
public void IndexOf_EmptyCollection_ReturnsMinusOne()
{
Assert.That( Enumerable.Empty<str... |
using System;
using LearnWordsFast.DAL.InitialData;
using LearnWordsFast.DAL.Repositories;
namespace LearnWordsFast.DAL.EF
{
public class InitialDataManager : InitializeDataManager
{
private readonly IDbContext _db;
public InitialDataManager(ILanguageRepository languageRepository, IDbContext ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using AgileBot.Models;
using Discord;
using Discord.Commands;
using Discord.Net;
using Discord.WebSocket;
/// ... |
namespace AppInsights.Http.Internal.Analytics
{
using Newtonsoft.Json;
internal class AppInsightsTableQueryResult
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("columns")]
public AppInsightsTableColumnQueryResult[] Columns { get; set; }
[... |
namespace Sense.RTIMU
{
public sealed class RTPressureData
{
public RTPressureData(bool pressureValid, float pressure, bool temperatureValid, float temperatur)
{
PressureValid = pressureValid;
Pressure = pressure;
TemperatureValid = temperatureValid;
... |
//Copyright 2017 Open Science, Engineering, Research and Development Information Systems Open, LLC. (OSRS Open)
// 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.apa... |
using System;
namespace Skahal.Infrastructure.Framework.Domain.UnitTests
{
public class EntityUserStub : EntityBase, IAggregateRoot
{
public string Name
{
get;
set;
}
public EntityUserStub(object key) : base(key)
{
}
public Entit... |
namespace SJP.Schematic.Sqlite.Pragma
{
/// <summary>
/// Determines where temporary data is stored.
/// </summary>
public enum TemporaryStoreLocation
{
/// <summary>
/// The default temporary storage location, as determined by SQLite at compile-time.
/// </summary>... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace HackAPIs.ViewModel.Db
{
public class RegLinks
{
[Key]
public int RegLinkId { get; set; }
public Guid UniqueCode { get; set; }
... |
using SilCilSystem.Variables;
using UnityEditor;
namespace SilCilSystem.Editors
{
[CustomPropertyDrawer(typeof(PropertyBool), true)]
[CustomPropertyDrawer(typeof(ReadonlyPropertyBool), true)]
internal class PropertyBoolWithToolTipDrawer : PropertyDrawerWithTooltipBase<bool> { }
[CustomPropertyDrawer(... |
using System.Text.Json.Serialization;
namespace TtsApi.ExternalApis.Discord.WebhookObjects
{
public class WebhookEmbeds
{
[JsonPropertyName("title")]
public string Title { get; set; }
[JsonPropertyName("description")]
public string Description { get; set; }
[JsonPrope... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task1
{
internal class Car
{
public int seats;
public int wheels;
public int engine;
public int doors;
public int theMaximumAcceleration;
... |
using Content.Shared.Item;
namespace Content.Server.Item;
public sealed class ItemSystem : SharedItemSystem
{
// Ello Guvna
}
|
/**
* @create date 02-02-2021 10:04:25
* @modify date 19-02-2021 09:26:22
* @desc [High-Score System]
*/
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class HighScore : MonoBehaviour {
public Text levelOneScore, levelTwoScore, levelThreeScore, totalScore;
public Butto... |
using GetCms.Models.General;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace GetCms.Models.Services
{
public interface IMetasService
{
Task<Result> SaveAsync(MetaData metaData, string username);
Task<Dictionary<string, MetaData>> GetAsync(int itemId, int siteId);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Wodsoft.ComBoost
{
/// <summary>
/// 领域服务异步事件委托。
/// </summary>
/// <param name="context">领域执行上下文。</param>
public delegate Task DomainServiceAsyncEventHandler(IDomainExecutionContext context)... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace BuildXL.Cache.ContentStore.Interfaces.Logging
{
/// <summary>
/// An interface for logging messages with severity.
/// </summary>
public interface ILogger : IDisposable
{
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using ApplicationCore;
using ApplicationCore.Entities;
using ApplicationCore.Interfaces;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
usi... |
using Ask.Sdk.Runtime.Dispatcher.Error.Mapper;
using Ask.Sdk.Runtime.Dispatcher.Request.Handler;
using Ask.Sdk.Runtime.Dispatcher.Request.Interceptor;
using Ask.Sdk.Runtime.Dispatcher.Request.Mapper;
using System;
using System.Collections.Generic;
using System.Text;
namespace Ask.Sdk.Runtime.Skill
{
public class ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Johnny.ShoeStore.Domain.Abstract;
using Johnny.ShoeStore.Domain.Entities;
using Johnny.ShoeStore.WebUI.Areas.Admin.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace Johnny.ShoeStore.UnitT... |
// ----------------------------------------------------------------------
// <copyright file="GenericCommand.cs" company="Expensify">
// (c) Copyright Expensify. http://www.expensify.com
// This source is subject to the Microsoft Public License (Ms-PL)
// Please see license.txt on https://github.com/E... |
using Microsoft.Extensions.CommandLineUtils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace RazorLight.Precompile
{
internal class PrecompilationApplication : CommandLineApplication
{
private Type _callingType;
public PrecompilationApplicat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Xigadee
{
public class SearchExpressionHelper<E>
{
PropertyMap mPropertyMap;
public SearchExpressionHelper()
{
mProp... |
using MinaGlosor.Web.Models.Commands;
using MinaGlosor.Web.Models.Queries;
namespace MinaGlosor.Web.Models.AdminCommands
{
public class MigrateAdminUserAdminCommandHandler : AbstractAdminCommandHandler<MigrateAdminUserAdminCommand>
{
public override object Run(MigrateAdminUserAdminCommand command)
... |
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.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using Common.Logging;
namespace HikingPathFinder.App
{
/// <summary>
/// Interface to provide logging using Common.Logging
/// </summary>
public interface ILogProvider
{
/// <summary>
/// Returns a Common.Logging ILog instance for given type
/// </summary>
/// <type... |
namespace Uspelite.Services.Data.Contracts
{
public interface ICommentsService
{
}
}
|
using CsvEditSharp.Interfaces;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading;
using System.Timers;
using System.Windows;
using System.Windows.Input;
using Unity;
namespace CsvEditSharp.Commands
{
public class CommandBase : ICommand
{
public event EventHand... |
using Discord;
using Discord.WebSocket;
using System;
using System.Threading.Tasks;
using Discord.Commands;
namespace DiScored
{
public class Program
{
private DiscordSocketClient _client;
public static void Main(string[] args)
{
if (args.Length != 1)
{
... |
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace vcdb.Scripting.ExecutionPlan
{
[DebuggerDisplay("{tasks.Count} task/s")]
public class MultiScriptTask : ScriptBlock, IEnumerable<IScriptTask>
{
public MultiScriptTask(
IEn... |
using Microsoft.Identity.Client;
using Microsoft.Identity.Client.Core;
using Microsoft.Identity.Client.PlatformsCommon.Factories;
using Microsoft.Identity.Test.Common;
using Microsoft.Identity.Test.Integration.Infrastructure;
using Microsoft.Identity.Test.LabInfrastructure;
using Microsoft.VisualStudio.TestTools.UnitT... |
using System;
using System.Collections.Generic;
namespace HRM_Track_Merger.GarminTCX {
public class Lap {
public DateTime StartTime { get; set; }
public double TotalTimeSeconds { get; set; }
public double DistanceMeters { get; set; }
public double? MaximumSpeed { get; set; }
... |
using System;
using Aspekt.AI;
using UnityEngine;
namespace Aspekt.Drones
{
public class DroneAIAgent : AIAgent<AIAttributes, object>
{
private enum Views
{
Execution,
Memory,
}
private Views view;
private IUnit unit;
public str... |
using System;
using System.Collections;
using Summer.Resource;
using Summer.Sound.Model;
using Summer.Util;
using Spring.Core;
using UnityEngine;
namespace Summer.Sound
{
/// <summary>
/// 默认声音代理辅助器。
/// </summary>
public class SoundAgentMono : MonoBehaviour
{
public AudioSource audioSourc... |
using MessagePack;
namespace BiuBiuShare.TalkInfo
{
[MessagePackObject(true)]
public class Message
{
public ulong SourceId { get; set; }
public ulong TargetId { get; set; }
public ulong MessageId { get; set; }
public string Type { get; set; }
public string Data { ge... |
using UnityEngine;
public class MealBehaviour : MonoBehaviour
{
[SerializeField]
[Range(1f, 20f)]
private float m_SpeedFactor;
private float m_Bound = -9f;
private bool m_HasExploded = false;
private float m_PosOnSkewer;
[SerializeField]
private GameObject m_ExplosionEffect;
p... |
using CQELight.Abstractions.Events;
using System;
namespace CQELight_Benchmarks.Models
{
public class TestDispatchEvent : BaseDomainEvent
{
public TestDispatchEvent(int i, bool simulateWork, int jobDuration)
{
I = i;
SimulateWork = simulateWork;
JobDuration ... |
using System;
using MagicGradients;
using Xamarin.Forms;
namespace Playground.Controls
{
public partial class DimensionsEditor
{
private bool _isUpdating;
public event EventHandler<ValueChangedEventArgs> ValueChanged;
public static readonly BindableProperty ValueProperty = BindablePr... |
@using DNNTAG.RazorPagesModule2.Pages
@inherits DotNetNuke.Web.Mvc.RazorPages.SDK.DnnWebViewPage<IndexModel>
<div>
@Model.WelcomeMessage
</div> |
using System.Collections.Generic;
namespace DiskScheduling
{
public class Head
{
public Head(IScheduler scheduler)
{
Scheduler = scheduler;
}
public int NumberToBeRemoved { get; private set; }
private IScheduler Scheduler { get; set; }
public List<... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Shiny.Infrastructure;
namespace Shiny.Caching
{
public class RepositoryCache : AbstractTimerCache
{
readonly IRepository repository;
public RepositoryCache(IRepository repository,
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using JDict.Internal.XmlModels;
using JDict.Utils;
using LiteDB;
using Optiona... |
//-----------------------------------------------------------------------------
// <copyright file="LiquidSourceBehavior.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public License. All other rights reserved.
// <... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Caprica
{
public static class Config
{
// Value are Coded here for now, but the goal is to load in from a config file
//that is moddable
public static int GetInt(string parameter)
{
... |
using System;
using System.Windows.Forms;
using Lab9_database.User;
namespace Lab9_database
{
public partial class Zoo_main_user : Form
{
public Zoo_main_user()
{
InitializeComponent();
}
private void labelHousehold_Click(object sender, EventArgs e)
{
... |
namespace BattleDrakeStudios.ModularCharacters {
public static class ModularCharacterStatics {
public const string MaleHelmetPath = "Male_Head_No_Elements";
public const string MaleHeadPath = "Male_Head_All_Elements";
public const string MaleEyebrowPath = "Male_01_Eyebrows";
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using Harmony;
using UnityEngine.UI;
namespace NewMainMenu
{
[HarmonyPatch(typeof(MainMenuRightSide))]
[HarmonyPatch("Start")]
public static class MainMenuRig... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace CodeTorch.Core.Commands
{
public class LogoutCommand : ActionCommand
{
public override string Type
{
get
{
return "LogoutComma... |
using System;
using System.Collections.Generic;
using DifferentMethods.Extensions;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEngine;
using System.Linq;
namespace FSM
{
public partial class FiniteStateMachineEditorWindow
{
void HandleKeyEvents()
{
if (Event.current.... |
using System;
namespace Renko.Extensions
{
public static class ExtensionType {
/// <summary>
/// Returns the name of this type without base namespaces or parent class.
/// </summary>
public static string GetName(this Type context) {
string name = context.Name;
return name.Substring(name.LastIndexOf('.... |
/*
* BSD 3-Clause License
*
* Copyright (c) 2021, Kevin Robertson
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright n... |
using System;
using cAlgo.API;
namespace cAlgo.Indicators
{
[Indicator("Fisher")]
public class Fisher : Indicator
{
private IndicatorDataSeries _value1;
private IndicatorDataSeries _buffer0;
private IndicatorDataSeries _fisher1;
[Parameter("Period", DefaultValue = 10)]
... |
using System;
using System.CodeDom.Compiler;
using System.Runtime.Serialization;
namespace CrownPeak.AccessAPI
{
[DataContract(Name="AlertActionType", Namespace="http://schemas.datacontract.org/2004/07/CrownPeakApp.Model")]
[GeneratedCode("System.Runtime.Serialization", "4.0.0.0")]
public enum AlertActionType
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.