content stringlengths 23 1.05M |
|---|
using System.Threading.Tasks;
using TreniniDotNet.Common.Data;
using TreniniDotNet.Common.Data.Pagination;
using TreniniDotNet.SharedKernel.Slugs;
namespace TreniniDotNet.Domain.Catalog.Scales
{
public interface IScalesRepository : IRepository<ScaleId, Scale>
{
Task<bool> ExistsAsync(Slug slug);
... |
using System;
using System.Collections.Generic;
using Confluent.Kafka;
namespace InsideOut.Consumer
{
public interface IKafkaConsumer : IDisposable
{
string TopicName { get; }
}
public interface IKafkaConsumer<TKey, TValue> : IKafkaConsumer
{
IEnumerable<ConsumeResult<TKey, TValue>> ConnectToTopic(... |
using Microsoft.AspNetCore.SignalR;
using System.Security.Claims;
namespace HanoiCollab
{
public class NameUserIdProvider : IUserIdProvider
{
public string GetUserId(HubConnectionContext connection)
{
return connection.User?.FindFirst(ClaimTypes.Name)?.Value!;
}
}
}
|
// Licensed to Sky Blue Software under one or more agreements.
// Sky Blue Software licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ... |
namespace EngagementBreeze.Models
{
/// <summary>
/// Enum of supported settings for user configuration
/// </summary>
public enum ConfigurableSettings
{
ApiKey,
City,
SunnyThreshold,
RainyThreshold
}
} |
//
// Copyright (c) 2020 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
using System;
using System.Collections;
using System.Runtime.CompilerServices;
namespace nanoFramework.Hardware.Esp32.Rmt
{
class RmtChannelcs
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SFXController : MonoBehaviour {
public AudioSource RoarWalkSFX;
public AudioSource RoarAirSFX;
public AudioSource Roar3SFX;
public AudioSource DrawSwordSFX;
public AudioSource Attack3SFX;
public v... |
// 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.
using System.IO;
namespace Microsoft.Tye.ConfigModel
{
internal static class NameInferer
{
public ... |
using ETModel;
using UnityEngine;
namespace MyEditor
{
[Event(EventIdType.BehaviorTreeReplaceClick)]
public class BehaviorTreeReplaceClickEvent_ReplaceNode: AEvent<string, Vector2>
{
public override void Run(string name, Vector2 pos)
{
BTEditorWindow.Instance.onChangeNodeType(name, pos);
}
}
} |
using BioEngine.Core.DB;
namespace BioEngine.Core.Entities.Blocks
{
[Entity("cutblock")]
public class CutBlock : ContentBlock<CutBlockData>
{
public override string TypeTitle { get; set; } = "Кат";
public override string ToString()
{
return "";
}
}
publ... |
using System;
using System.Collections.Generic;
using DataAccessLayer.Models;
using DataAccessLayer.Database;
using DataAccessLayer.Repositories;
namespace ServiceLayer.Services
{
public class OperationService : IOperationService
{
private readonly OperationRepository _OperationRepo;
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.IO;
namespace VisualRust.ProjectSystem.FileSystemMirroring.IO {
public interface IMsBuildFileSystemFilter {
bool IsFileAllowed(string relat... |
@model IEnumerable<TabViewModel>
@{
var tabs = Model.ToArray();
}
<div class="tabs">
<ul class="nav nav-tabs">
@for (var index = 0; index < tabs.Length; index++) {
var tab = tabs[index];
<li class="@(index == 0 ? Html.Raw("active") : Html.Raw(""))">
<a href="... |
using System;
using System.ComponentModel.DataAnnotations;
namespace EntityFrameworkCore.Jet.IntegrationTests.Model54_MemoryLeakageTest
{
public class Student
{
public int StudentId { get; set; }
[Required]
[MaxLength(50)]
// Index are supported only in fluent API
... |
//-----------------------------------------------------------------------
// <copyright file="ReverseGeocodeResourceTest.cs" company="Mapbox">
// Copyright (c) 2016 Mapbox. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Mapbox.UnitTest
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Text;
using System.Runtime;
using System.Reflection;
namespace Dotmim.Sync.Serialization.Converters
{
public class ObjectTypeConverter : ObjectConverter
{
public override string Conve... |
using System;
public abstract class Human : IComparable
{
public string FirstName { get; private set; }
public string LastName { get; private set; }
protected Human(string firstName, string lastName)
{
this.FirstName = firstName;
this.LastName = lastName;
}
public int Compar... |
using UnityEngine;
using UnityEngine.Assertions;
namespace ShuHai.DebugInspector.Editor
{
public sealed class GameObjectDrawer<TOwner> : UnityObjectDrawer<TOwner, GameObject>
{
public override void ClearChildren()
{
base.ClearChildren();
ComponentGroup = null;
}... |
namespace Lloyds.Market.Claims.Payments.Ui.Models;
public class SlipDto
{
public string UniqueMarketReference { get; set; }
public decimal SumInsured { get; set; }
public string Currency { get; set; }
} |
using System;
namespace Haven
{
public struct ResourceRef : IEquatable<ResourceRef>
{
public ResourceRef(string name, ushort version)
{
if (name == null)
throw new ArgumentNullException(nameof(name));
Name = name;
Version = version;
}
public string Name { get; }
public ushort Version { get... |
using System;
using System.Numerics;
using System.Linq;
namespace c
{
class Program
{
static void Main(string[] args)
{
var s = Console.ReadLine().Split();
var a = long.Parse(s[0]);
var b = long.Parse(string.Join("",s[1].Where(c => c != '.')));
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Bot.Clockify.Client;
using Bot.Clockify.Fill;
using Bot.Clockify.Models;
using Bot.Common;
using Bot.Common.ChannelData.Telegram;
using Bot.Common.Recognizer;
using Bot.Data;
using Bot.States;... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Samhammer.Mongo.Abstractions
{
public interface IBaseRepositoryMongo<T> where T : BaseModelMongo
{
Task<T> GetById(string id);
Task<List<T>> GetAll();
Task Save(T model);
Task Delete(T model);
... |
using System;
namespace CRoute.Base.Core.Services
{
public interface IDateTimeService : IService
{
DateTime MaxValue { get; }
DateTime MinValue { get; }
DateTime Now { get; }
DateTime UtcNow { get; }
DateTime Today { get; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CollectableObject : MonoBehaviour
{
[SerializeField] AudioClip CollectItemAudioClip;
CollectableItem ItemData;
bool roomHasEnemys;
public void Setup(CollectableItem itemData, bool roomHasEnemys)
{
ItemData = itemData;
... |
using JT1078.FMp4.MessagePack;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using JT1078.Protocol.Extensions;
using JT1078.FMp4.Enums;
namespace JT1078.FMp4.Test.Boxs
{
public class DataReferenceBox_Test
{
/// <summary>
/// 使用doc/video/demo.mp4
/// </... |
using System;
using Dapper.FastCrud;
using DataQI.Commons.Query.Support;
using DataQI.Dapper.FastCrud.Query;
using DataQI.Dapper.FastCrud.Query.Extensions;
using DataQI.Dapper.FastCrud.Query.Support;
using DataQI.Dapper.FastCrud.Test.Fixtures;
using Xunit;
namespace DataQI.Dapper.FastCrud.Test.Query
{
public class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace Mavplus.RovioDriver
{
public partial interface IRovio : IRovioManualDriver
{
void Execute(params IAction[] actions);
/// <summary>
/// The basic command for ac... |
using System;
using System.Collections.Generic;
using System.ServiceModel;
using DAL.Models;
// ReSharper disable InconsistentNaming
namespace DAL
{
[ServiceContract]
public interface IServiceDAL
{
[OperationContract]
List<Person> GetPeople();
[OperationContract]
Person Find(string username, string passw... |
using RoboRyanTron.SceneReference;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace GrowGame
{
public class MainMenuController : MonoBehaviour
{
[SerializeField] private Button quitButton;
[SerializeField] private Button playButton;
[SerializeField]... |
namespace Dashing.IntegrationTests.Tests {
using System.Threading.Tasks;
using Dashing.IntegrationTests.Setup;
using Dashing.IntegrationTests.TestDomain;
using Xunit;
public class AnyTests {
[Theory]
[MemberData(nameof(SessionDataGenerator.GetSessions), MemberType = typeof(Sessio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "GameSettings/PlayerSetting")]
public class playerSettings : ScriptableObject
{
[SerializeField]
private float _movementSpeed;
[SerializeField]
private float _backwardSpeed;
[SerializeField]
... |
@{
ViewData["Title"] = "Error";
}
<h2>Sorry, something went wrong!</h2>
<div>
<img src="~/images/mominos-mama-sad.png" width="500" height="500" />
</div>
@if (TempData["ErrorMessage"] != null)
{
var errorMessage = TempData["ErrorMessage"].ToString();
<p>@errorMessage</p>
}
else
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Threading;
using DotNetNuke.Web.Api;
using DotNetNuclear.Modules.LogAnalyzer.Components;
using DotNetNuclear.Modules.LogAnalyzer.Models;
using DotNetNuclear.Modules.LogAnalyze... |
using System;
using GBAEmulator.Video;
namespace GBAEmulator.Memory.Sections
{
public class OAMSection : MirroredMemorySection
{
private PPU ppu;
public OAMSection() : base(0x400) { }
public void Init(PPU ppu)
{
this.ppu = ppu;
}
public override ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GUC.Network;
using GUC.WorldObjects.Instances;
using GUC.WorldObjects;
using GUC.Models;
namespace GUC.Scripting
{
public partial interface ScriptInterface
{
/// <summary>
/// Is called each frame.
... |
using System;
using System.Threading.Tasks;
using Application.IntegrationTests.Common;
using CoolWebsite.Application.Common.Exceptions;
using CoolWebsite.Application.DatabaseAccess.Financials.FinancialProjects.Commands.DeleteFinancialProject;
using FluentAssertions;
using NUnit.Framework;
using CoolWebsite.Domain.Enti... |
using Lopla.Language.Binary;
using Lopla.Language.Compiler.Mnemonics;
using Lopla.Language.Processing;
using Xunit;
namespace Lopla.Tests
{
public class ExpressionSpecs
{
[InlineData(12, 12, OperatorType.Equals, 1)]
[InlineData(12, 4, OperatorType.GreaterThen, 1)]
[InlineData(12, 4, Op... |
using Controllers;
using Server.Http.Route;
using System;
using System.Threading.Tasks;
using System.Net;
using System.Reflection;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Linq;
using Server.Tcp.Server;
using Server.Http.Server;
using Server.Http.Decoration;
using Server.Http.Interface;
... |
namespace LearnPotentialDisposable
{
public class ItemFactory
{
public ISomething CreateSomething()
{
if (DateTime.Now.Second % 2 == 0)
{
return new Phone();
}
return new Paper();
}
}
} |
using Newtonsoft.Json;
using System;
namespace WolfLive.Api.Models.Welcome
{
public class EndpointConfig
{
[JsonProperty("avatarEndpoint")]
public Uri AvatarEndpoint { get; set; }
[JsonProperty("mmsUploadEndpoint")]
public Uri MmsUploadEndpoint { get; set; }
[JsonProp... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Vivet.AspNetCore.RequestTimeZone.Providers;
namespace Vivet.AspNetCore.RequestTimeZone.Interfaces
{
/// <summary>
/// Request TimeZone Provider interface.
/// </summary>
public interface IRequestTimeZoneProvider
{
/// <su... |
using System;
namespace FeedReaders.Models
{
/// <summary>
/// This represents the feed item entity.
/// </summary>
public class FeedItem
{
/// <summary>
/// Gets or sets the feed item title.
/// </summary>
public virtual string Title { get; set; }
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ActionMethodStepTests.cs">
// SPDX-License-Identifier: MIT
// Copyright © 2019-2020 Esbjörn Redmo and contributors. All rights reserved.
// </copyright>
// --------------------... |
using System;
using System.Windows.Forms;
using Castle.Windsor;
using Castle.Windsor.Configuration.Interpreters;
using CefSharp;
using SvnToGit.FrontEnd.BrowserForm;
using SvnToGit.FrontEnd.Controllers;
namespace SvnToGit.FrontEnd {
static class Program {
private static IWindsorContainer container;
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Xml.Linq;
namespace ReClassNET.Util
{
/// <summary>
/// A class which stores custom config items from plugins.
/// The id of an item should consist of "a-zA-z0-9.,;_-+".
/// The naming convention is "Plugin.[ConfigGroup.]Conf... |
namespace Catalog.Application.Contracts.Queries
{
using Catalog.Application.Contracts.Queries.DTOs;
using Services.Common;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IVideoGameQueryService
{
Task<DataCollection<VideoGameDto>> GetVi... |
using System;
using System.Text;
using Effort;
//
using NSG.Identity;
using WebSrv.Models;
//
namespace WebSrv_Tests
{
public static class Effort_Helper
{
//
private static string _connectionStringKey = "NetworkIncidentConnection";
//
public static string CSV_FullPath =
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
namespace WebApplication1
{
/// <summary>
/// Summary description for SimpleCalculator
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiPr... |
namespace Our.Umbraco.Checklist.Constants
{
internal class RuntimeCacheConstants
{
public const int DefaultExpiration = 1440;
public const string RuntimeCacheKeyPrefix = "checklist_";
}
}
|
namespace Lachain.ConsensusTest
{
public enum DeliveryServiceMode
{
TAKE_FIRST,
TAKE_LAST,
TAKE_RANDOM
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Protogame.ATFLevelEditor;
using Protoinject;
namespace Protogame
{
public class EntityGroup : IContainsEntities, IEventListener<IGameContext>, IEventListener<INetworkEventContext>, IEventListener<IPhysicsEventContext>, IHasLights, IEntity, I... |
using System.Collections.Generic;
using System;
using System.IO;
using PathLib;
namespace Blossom.Operations
{
/// <summary>
/// Operations tha interact with a remote host.
/// </summary>
public interface IRemoteOperations : IDisposable
{
/// <summary>
/// A stream ena... |
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Threading;
using SixLabors.ImageSharp.Drawing.Utilities;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
namespace SixLabors.ImageSharp.Drawing.Tests.Drawing.Utils
{
public class ThreadLocalBlenderBuf... |
using System.Linq;
namespace LateNightStupidities.XorPersist.Example
{
class Program
{
static void Main(string[] args)
{
RootClass root = new RootClass(true);
LeafClass leaf1 = new LeafClass(root, "leaf1");
root.MainLeaf = leaf1;
LeafClass leaf2... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
using SFA.DAS.ApiSubstitute.WebAPI;
namespace SFA.DAS.CommitmentsApiSubstitute.WebAPI
{
public class CommitmentsApi : WebApiSubstitute
{
public string BaseAddress { get; private set; }
public CommitmentsApiMessageHandler CommitmentsApiMessageHandler { get; private set; }
public Commi... |
using System.Text;
namespace MFT.Attributes
{
public class VolumeName : Attribute
{
public VolumeName(byte[] rawBytes) : base(rawBytes)
{
var residentData = new ResidentData(rawBytes);
VolName = string.Empty;
if (residentData.Data.Length > 0)
{... |
using System.Threading.Tasks;
using Microsoft.Owin;
namespace DbLocalizationProvider.MvcSample
{
public class AuthenticationMiddleware : OwinMiddleware
{
private OwinMiddleware next;
public AuthenticationMiddleware(OwinMiddleware next)
: base(next)
{
this.next ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.PholioObjectsTest
{
[TestClass]
public class UnitTest
{
[TestMethod]
public void TestShouldSerializeShowLabelOnLeftOfValue()
{
Assert... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeepLearningWithCNTK;
using CC = CNTK.CNTKLib;
using C = CNTK;
namespace Capsules {
class MNISTExample {
C.Function network;
C.Function loss_function;
C.Function eval_function;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace unitTest_Engine_cs.IO
{
class StaticFile_LoadAsyncFromPackage : EngineTest
{
List<asd.StaticFile> files;
bool finished = false;
public StaticFile_LoadAsyncFromPackage()
: base(60)
... |
using System;
namespace IglooCastle.Samples
{
/// <summary>
/// A sample class for test purposes.
/// </summary>
public sealed class Sample : IEquatable<Sample>
{
/// <summary>
/// Initializes an instance of the <see cref="Sample"/> class.
/// </summary>
public Sampl... |
using System.Text;
public class Cat : Animal
{
public Cat(string name, string favouriteFood)
: base(name, favouriteFood)
{ }
public override string ExplainMyself()
{
StringBuilder sb = new StringBuilder();
sb.AppendLine($"I am {base.Name} and my fovourite food is {base.Favouri... |
using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace CKAN
{
public abstract class JsonPropertyNamesChangedConverter : JsonConverter
{
public override bool CanWrite => false;
public override void ... |
namespace Faforever.Qai.Core.Commands.Arguments
{
public interface IBotUserCapsule
{
string Username { get; }
}
}
|
using System;
using System.Runtime.InteropServices;
namespace MK.MobileDevice.XEDevice
{
// Token: 0x02000018 RID: 24
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AMDeviceNotificationCallbackInfo
{
// Token: 0x1700002E RID: 46
public unsafe void* dev
{
// Token: 0x060000D9 RID: 217 RVA: 0... |
using AlphaDev.EntityFramework.Unit.Testing.Support;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using NSubstitute;
namespace AlphaDev.EntityFramewo... |
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using AspNetApiMonolithSample.Api.Models;
using AspNetApiMonolithSample.Api.Stores;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using AspNetApiMonolithSample.Api.Mvc;
namespace AspNetApiMonolithSample.Api.Controlle... |
using Newtonsoft.Json;
#pragma warning disable CS8618
namespace Andreal.Data.Json.Pjsk.PjskProfile;
public class UserMusicDifficultyStatusesItem
{
[JsonProperty("musicId")] public int MusicID { get; set; }
[JsonProperty("musicDifficulty")] public string MusicDifficulty { get; set; }
[JsonProperty("user... |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
using AllenCopeland.Abstraction.Slf.Cli.Metadata.Tables;
using AllenCopeland.Abstraction.Slf.Cli.Modules;
using AllenCopeland.Abstraction.Slf.Platforms.Wi... |
/****************************************************
文件:SoldierCamp.cs
作者:zhyStay
邮箱: zhy18125@163.com
日期:2021/2/19 23:13:08
功能:Nothing
*****************************************************/
using System;
using System.Collections.Generic;
using UnityEngine;
public class SoldierCamp : ICamp
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Crews.API.Data.Entities;
public class Crew
{
[Key]
public int Id { get; set; }
public Guid UniqueId { get; set; }
[Required]
[MaxLength(100)]
public string Name { get; set; }
[Require... |
using Xunit;
using MetadataExtractor.Util;
namespace MetadataExtractor.Tests.Util
{
public class ByteArrayUtilTest
{
[Fact]
public void StartsWith()
{
var bytes = new byte[] { 0, 1, 2, 3 };
Assert.True(bytes.StartsWith(new byte[] { }));
Assert.True... |
using Eaf.Domain.Services;
namespace Eaf.ProjectName
{
public abstract class ProjectNameDomainServiceBase : DomainService
{
/* ADD YOUR COMMON MEMBERS FOR ALL YOUR DOMAIN SERVICES. */
protected ProjectNameDomainServiceBase()
{
LocalizationSourceName = ProjectNameConsts.Loc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeviceAuthentication : MonoBehaviour {
// Use this for initialization
void Start () {
StartCoroutine (DelayAuthenticateRoutine ());
}
IEnumerator DelayAuthenticateRoutine(){
yield return new WaitForSeconds (1f);
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Threading.RateLimiting.Test
{
public class ConcurrencyLimiterTests
{
[Fact]
public void CanAcquireResource()
{
... |
using System;
using System.Collections.Generic;
namespace Sherlock.Core
{
internal class ItemCollection : List<IItem>, IItemCollection
{
}
}
|
namespace GoDaddy.Asherah.Crypto.CipherSuites
{
public enum AeadCipherSuite
{
Aes256Gcm,
}
}
|
using System.Security.Claims;
namespace SchoolBusAPI.Extensions
{
public static class ClaimsPrincipalExtensions
{
public static (string username, string userGuid, string directory) GetUserInfo(this ClaimsPrincipal principal)
{
var preferredUsername = principal.FindFirstValue("prefe... |
using ReactiveUI;
using System.Collections.ObjectModel;
using PurpleExplorer.Models;
using Splat;
namespace PurpleExplorer.ViewModels
{
public class ConnectionStringWindowViewModel : DialogViewModelBase
{
private string _connectionString;
private readonly IAppState _appState;
public Ob... |
using Chess.Core;
namespace Chess.Engine
{
interface IGameInitializer
{
Square[][] Initialize();
}
} |
using System.Collections.Generic;
namespace ReactiveUIUnoSample.Interfaces.Testing
{
public interface ITwoLineTestResults
{
string Title { get; set; }
IList<ITwoLineTestItem> UserWasCorrect { get; set; }
IList<ITwoLineTestWrongAnswer> UserWasWrong { get; set; }
IList<ITwoLineT... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PCAxis.Sql.Pxs {
/// <summary>
/// This class is used be the FlatFileReader-method to store some temp-values.
/// </summary>
class FlatFileReaderHelper{
internal int no_vars = -1;
internal int no_vars_be... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
namespace Microsoft.VisualStudio.Text
{
using System;
/// <summary>
/// Describes a version of an <see cref="ITextBuffer"/>. Each application ... |
using System;
using Calculator.Lexing;
using Calculator.Parsing;
using GParse;
using GParse.Parsing;
using GParse.Parsing.Parselets;
using Tsu;
namespace Calculator.Parsing.Parselets
{
/// <summary>
/// Represents an exponentiation through superscript expression
/// </summary>
public class Superscript... |
using SetsProcessor.Domain;
using System;
using System.Linq;
using System.Text;
namespace SetsProcessor.API
{
public class Functions
{
private SetsCollection Collection { get; }
public Functions()
{
Collection = new SetsCollection();
}
/// <summary>
... |
using System;
namespace FTX.Net.Objects.Futures
{
/// <summary>
/// Funding rate info
/// </summary>
public class FTXFundingRate
{
/// <summary>
/// Future name
/// </summary>
public string Future { get; set; } = string.Empty;
/// <summary>
/// Fundi... |
using System.Web;
using System.Web.Http;
namespace BlueGreenTest.Controllers
{
public class SessionController : ApiController
{
[HttpGet]
public string Test()
{
HttpContext.Current.Session["TEST"] = 123;
return "HELLO";
}
}
} |
using System;
namespace De.Osthus.Ambeth.Service
{
public interface ICacheRetrieverExtendable
{
void RegisterCacheRetriever(ICacheRetriever cacheRetriever, Type handledType);
void UnregisterCacheRetriever(ICacheRetriever cacheRetriever, Type handledType);
}
} |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class FallThroughBehavior : AgentBehavior
{
private List<AgentBehavior> behaviorList = new List<AgentBehavior>();
public void addBehavior(AgentBehavior newBehavior)
{
behaviorList.Add(newBehavior);
newBehavior.setAgent(_mysel... |
/*
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Robert Paul Corbett.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... |
namespace Sys.Workflow.Engine.Impl.Bpmn.Helper
{
using Sys.Workflow.Engine.Impl.Persistence.Entity;
///
public class SubProcessVariableSnapshotter
{
public virtual void SetVariablesSnapshots(IExecutionEntity sourceExecution, IExecutionEntity snapshotHolder)
{
snapshotHolde... |
#region
using LoESoft.GameServer.realm;
using log4net;
using System;
#endregion
namespace LoESoft.GameServer.logic
{
public abstract class Behavior : IStateChildren
{
public static ILog log = LogManager.GetLogger(nameof(Behavior));
/// <summary>
/// Enable debug log
/// </su... |
using System.Runtime.Serialization;
namespace EzTextingApiClient.Api.Inbox.Model
{
public enum MessageType
{
[EnumMember(Value = "SMS")] Sms,
[EnumMember(Value = "MMS")] Mms
}
} |
@model IEnumerable<DapperSampleWeb.Models.UserFavoriteBookEntity>
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Sample1</title>
</head>
<body>
<table>
<tr>
<th>ID</th>
<th>ユーザID</th>
<th>ユーザ名... |
#Thu Jul 11 13:34:37 BST 2019
lib/com.ibm.ws.cdi.security_1.0.30.jar=16c784dbd801c18ff55f2447c7a0fcfe
lib/features/com.ibm.websphere.appserver.cdi1.2-appSecurity1.0.mf=080e420b6f1b0456414adcb5f34f5251
|
using Kaiyuanshe.OpenHackathon.Server.K8S.Models;
using Kaiyuanshe.OpenHackathon.Server.Storage.Entities;
using NUnit.Framework;
namespace Kaiyuanshe.OpenHackathon.ServerTests.K8S
{
class ExperimentContextTests
{
[Test]
public void BuildCustomResource()
{
var con... |
@{
ViewData["Title"] = "Password Reset";
}
@model ResetPasswordModel
<h1>Password Reset</h1>
@Html.ValidationSummary()
<form method="post">
<input type="hidden" asp-for="Code" />
<section class="myaccount-grid">
<div>
<label asp-for="EmailOrUsername"></label>
</div>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.