content stringlengths 23 1.05M |
|---|
using System;
using System.Text;
using System.Reflection;
using Boo.Lang.Compiler;
using Boo.Lang.Compiler.IO;
using Boo.Lang.Compiler.Pipelines;
/*
Author: Marcello Salvati (@byt3bl33d3r)
License: BSD 3-Clause
1) Download the latest stable version of Boolang https://github.com/boo-lang/boo/releases
2... |
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
#pragma warning disable 1591
namespace Frends.PowerShell.RunCommand
{
public class RunCommandInput
{
/// <summary>
/// The PowerShell command to execute
/// </summary>
public string Command { get; set; ... |
using System.ComponentModel.DataAnnotations;
using SportsStore.Entities;
namespace SportsStore.Models
{
public class CartLineInputModel
{
[Required]
[Range(typeof(long), "1", "9223372036854775807", ErrorMessage = "ProductId must be at least 1")]
public long ProductId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using hw.DebugFormatter;
using JetBrains.Annotations;
// ReSharper disable CheckNamespace
namespace hw.Scanner
{
[PublicAPI]
public static class MatchExtension
{
[PublicAPI]
public interface IPositionExceptionFactory
... |
namespace MOD6_CP9_P3
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... |
using System;
class veiculo
{
public int veloMax;
public bool ligado;
public bool desligado;
public void ligar()
{
ligado = true;
}
public void desligar()
{
desligado = false;
}
public string getLigado()
{
if(ligado)
{
retur... |
using System;
using System.Collections.Generic;
using MvvmFx.CaliburnMicro.ComponentHandlers;
namespace MvvmFx.CaliburnMicro.WisejWeb.Toolable
{
/// <summary>
/// Setup this Wisej extension on CaliburnMicro.WisejWeb.
/// </summary>
public static class Setup
{
private static readonly List<T... |
namespace IntegrationTestingLibraryForSqlServer.TableDataComparison
{
public interface TableDataComparer
{
bool IsMatch(TableData x, TableData y);
}
}
|
using LHGames.Helper;
using LHGames.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LHGames.Bot
{
internal class PlacePlaner : IPlacePlaner
{
private Map map;
private IPlayer player;
private IAStar astarService;
... |
using System.Linq;
using Highway.Data.Tests.TestDomain;
namespace Highway.Data.EntityFramework.Test.TestDomain.Queries
{
public class FindBarByFooId : Query<Foo, Bar>
{
public FindBarByFooId(int fooId)
{
Selector = c => c.AsQueryable<Foo>().Where(foo => foo.Id == fooId);
... |
// 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;
using System.Diagnostics;
using System.Collections.Generic;
using System.Reflection;
using System.Glob... |
using System;
namespace TarkOrm.Attributes
{
public class IgnoreMappingAttribute : Attribute
{
public IgnoreMappingAttribute()
{
}
}
}
|
/**
* $File: JCS_StreamingAssets.cs $
* $Date: 2020-08-03 22:47:47 $
* $Revision: $
* $Creator: Jen-Chieh Shen $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright © 2020 by Shen, Jen-Chieh $
*/
using System.Collections;
using System.Collections.Generic;
using ... |
using uTinyRipper.Converters;
using uTinyRipper.YAML;
namespace uTinyRipper.Classes.ParticleSystems
{
public sealed class TrailModule : ParticleSystemModule
{
public TrailModule()
{
}
public TrailModule(bool _)
{
Ratio = 1.0f;
Lifetime = new MinMaxCurve(1.0f);
MinVertexDistance = 0.2f;
RibbonC... |
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using UnityEditor;
using UnityEngine;
namespace VavilichevGD.Tools.Async {
public class UnityAwaiters {
private static readonly WaitForEndOfFrame endOfFrameWaiter = new WaitForEndOfFrame();
public st... |
using ForgetMeNot.API.HTTP.Models;
using ForgetMeNot.API.HTTP.Monitoring;
using ForgetMeNot.Common;
using ForgetMeNot.Messages;
using ForgetMeNot.Router;
using Nancy;
using OpenTable.Services.Components.Monitoring.Monitors.HitTracker;
namespace ForgetMeNot.API.HTTP.Modules
{
public class ServiceMonitoringModule : Ro... |
// FizzBuzz LINQ One Liner
// Author: @bennybackslash
using System;
using System.Linq;
namespace FizzBuzz
{
class Fizzy
{
static void Main(string[] args)
{
Enumerable.Range(1, 100).Select(i =>(i % 3 == 0 && i % 5 == 0) ? "FizzBuzz" : (i % 3 == 0) ? "Fizz" : (i % 5 == 0) ? "Buzz" : ... |
//
// Encog(tm) Core v3.3 - .Net Version (unit test)
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 Heaton Research, Inc.
//
// 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 a... |
using System;
using MConfig;
namespace MConfigDemo
{
class MConfigDemo
{
static void Main(string[] args)
{
Console.WriteLine("Using test file: testdata.dat with secret testsecret");
using (MConfigurator mconf = new MConfigurator("testdata.dat", "testsecret"))
... |
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.SelfDiagnostics
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class SelfDiagnosticsConfigParserTest
{
[TestMethod]
public void SelfDiagnosticsConfigParser_TryParseFilePath_Success()
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EventSourcingOnAzureFunctions.Common.CQRS.ProjectionHandler.Events
{
public interface IProjectionRequest
{
/// <summary>
/// The domain name of the event stream over which the projection is
/// to be run
... |
namespace TimeWarp.Architecture.Features.Applications;
internal partial class ApplicationState
{
public record StartProcessingAction : BaseAction
{
public string ActionName { get; set; }
}
}
|
using Newtonsoft.Json;
namespace LeaSearch.Core.Plugin
{
/// <summary>
/// container the plugin's info
/// </summary>
[JsonObject(MemberSerialization.OptOut)]
public class PluginMetadata
{
public string PluginId { get; set; }
public string Name { get; set; }
public stri... |
using System;
using System.Collections.ObjectModel;
namespace CalendarModelServer
{
public interface ICalendarModel
{
public ObservableCollection<IAvailability> availabilities();
public void setActiveEmployeeId(int id);
public int getActiveEmployeeId();
public void AddActive... |
using System;
using System.Collections.Generic;
namespace Crosslight.API.Util
{
public class SyncedProperty<TPub, TSub> where TPub : TSub
{
private TPub property;
private readonly IList<TSub> subscriber;
/// <summary>
/// Initializes a new instance of the <seealso cref="Synced... |
using DevExpress.WinUI.Core;
using System.Collections.Generic;
using System.Linq;
using Microsoft.UI.Xaml;
namespace FeatureDemo.ControlsDemo {
public class BarCodeTypeTemplateSelector : TypeTemplateSelector {
protected override DataTemplate SelectTemplateCore(object item, DependencyObject containe... |
using Microsoft.Win32;
using SearchByRegex.Commands;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Documents;
namespace S... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class PlayerInput : MonoBehaviour
{
[SerializeField]
private Camera mainCamera;
public UnityEvent OnShoot = new UnityEvent();
public UnityEvent<Vector2> OnMoveBody = new UnityE... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MikuMikuFlex3
{
public interface IMaterialShader : IDisposable
{
/// <summary>
/// 材質を描画する。
/// </summary>
/// <param name="d3ddc">
/// ... |
using System;
using System.Threading.Tasks;
namespace Salesforce.Owin.Security.Provider
{
public class SalesforceAuthenticationProvider : ISalesforceAuthenticationProvider
{
public SalesforceAuthenticationProvider()
{
OnAuthenticated = context => Task.FromResult<object>(null);
... |
using CP77Types = WolvenKit.RED4.CR2W.Types;
namespace GraphEditor.CP77.Scene.CustomNodes
{
internal sealed class scnEndNode : scnStartNode
{
public override string ArrowText => $"{Name} ({((CP77Types.scnEndNode)NodeDef).Type.Value})";
internal scnEndNode(CP77Types.CHandle<CP77Types.scnSceneG... |
namespace Specification.Expressions.Tests
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using global::Specification.Expressions.Operators;
using Xunit;
public class OrSpecificationTests
{
[Fact]
public void OrTrue()
{
... |
using CefSharp.MinimalExample.WinForms;
using GmailQuickstart;
using Google.Apis.Gmail.v1;
using Google.Apis.Sheets.v4;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace web_scraper
{
public class Program
{
// If modifying ... |
using System;
using AdaskoTheBeAsT.AutoMapper.SimpleInjector.Test.Profiles;
using AutoMapper;
using FluentAssertions;
using SimpleInjector;
using SimpleInjector.Lifestyles;
using Xunit;
namespace AdaskoTheBeAsT.AutoMapper.SimpleInjector.Test
{
public sealed class TypeResolutionTests
: IDisposable
{
... |
// <copyright file="ConcurrentIntrusiveListTest.cs" company="OpenCensus Authors">
// Copyright 2018, OpenCensus Authors
//
// 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://w... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sunctum.Domain.Logic.Async
{
public class AsyncTaskSequence : IDisposable
{
private List<Task> _Tasks;
public IEnumerable<Task> Tasks
{
get { return _Tasks; }
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Linq.Expressions;
using System.Security.Principal;
using Revenj.Extensibility;
namespace Revenj.Security
{
internal class PermissionManager : IPermissionManager, ... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2020 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using UnityEditor;
namespace Unity... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class LibraryRework : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
// create local media source to attach all paths to
... |
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace DevZest.Data.Primitives
{
internal abstract class ColumnInvoker<T>
where T : Column
{
private Func<T, T> _func;
protected ColumnInvoker(MethodInfo methodInfo, bool byPassNullable = false)
{
... |
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using BookStore.SampleData;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.Extensions.Configuration;
using Microsoft.... |
using System;
using System.Xml.Serialization;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayTradePrecreateConfirmResponse.
/// </summary>
public class AlipayTradePrecreateConfirmResponse : AopResponse
{
/// <summary>
/// 收单模式 银行代理收单,取值:bankA... |
using System.Drawing;
namespace WinForm.DirectUI.Forms
{
static partial class DefaultTheme
{
/// <summary>
/// 透明色
/// </summary>
public static Color Transparent = Color.Transparent;
/// <summary>
/// 透明色
/// </summary>
public const string _Trans... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace STK
{
///<summary>This class is used to add elements to an array and clean null references from an array</summary>
public static class STKArrayTools
{
public static object[] AddElement(object o, object[] arra... |
using Milvasoft.Helpers.DataAccess.EfCore.Concrete.Entity;
using Milvasoft.SampleAPI.DTOs.AssignmentDTOs;
using Milvasoft.SampleAPI.DTOs.StudentDTOs;
using Milvasoft.SampleAPI.Entity;
using Milvasoft.SampleAPI.Entity.Enum;
using Milvasoft.SampleAPI.Utils.Attributes.ValidationAttributes;
using Milvasoft.SampleAPI.Utils... |
#if WINRT
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml;
#else
using System.Windows.Controls;
using System.Windows;
#endif
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using NeuroSpeech.UIAtoms.Core;
namespace NeuroSpeech.UIAtoms.Controls
{
... |
/*
* 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 ... |
// dnlib: See LICENSE.txt for more info
using System;
using System.Collections.Generic;
using dnlib.Threading;
#if THREAD_SAFE
using ThreadSafe = dnlib.Threading.Collections;
#else
using ThreadSafe = System.Collections.Generic;
#endif
namespace dnlib.Utils {
/// <summary>
/// Interface to access a lazily initiali... |
using Castle.DynamicProxy;
namespace MonitorWang.Core.Containers
{
public abstract class InterceptorBase : IInterceptor
{
protected string myMethodToIntercept;
protected InterceptorBase(string methodToIntercept)
{
myMethodToIntercept = methodToIntercept;
... |
using System;
using Unrect.Core;
using static Unrect.Strategies.SizeStrategies;
namespace Unrect.Strategies
{
public static class OffsetStrategies<TSpace>
{
public static IOffsetStrategy<TSpace> MaxOffset()
=> MaxSize<TSpace>().ToOffsetStrategy();
public static IOffsetStrategy<TSpace> MinOffset()
... |
using Plunder.Compoment;
using Plunder.Download;
namespace Plunder.Core
{
public interface IDownloaderFactory
{
IDownloader Create(Request request, PageType pageType);
int Count { get; }
bool Any();
}
}
|
[assembly: Xamarin.Forms.Dependency(typeof(UninstallSample.Droid.Services.PackageService))]
namespace UninstallSample.Droid.Services
{
using Android.Content;
using System;
public class PackageService : IPackageService
{
public void InstallPackage(string packageName)
{
try
{
Context context = MainAct... |
using System;
namespace AppStudio.DataProviders.YouTube.Parser
{
internal class YouTubeSearchSnippet
{
public DateTime publishedAt { get; set; }
public string channelId { get; set; }
public string title { get; set; }
public string description { get; set; }
pub... |
using NUnit.Framework;
using JM.LinqFaster.Parallel;
using System.Linq;
using static Tests.Test;
namespace Tests
{
[TestFixture]
class CountParallel
{
[Test]
public void ParallelCountArray()
{
var a = intArray.CountP(onlyEvenInts);
var b = intArray.Count(onl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CitizenFX.Core;
using CitizenFX.Core.Native;
using PropHuntV.Util;
namespace PropHuntV.Client.Game
{
public class IplController : ClientAccessor
{
public Dictionary<string, Vector4> ProximityI... |
using RpcModel;
using RpcService.Collect;
using RpcService.Model;
namespace RpcService.RpcEvent
{
internal class RefreshService : IRpcEvent
{
public string EventKey { get; } = "RefreshService";
public void Refresh(RpcToken token, RefreshEventParam param)
... |
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace ImageViewer.Models
{
internal class PathTreeModel : TreeNode
{
public PathTreeModel(string text) : base()
{
Name = Text = text.TrimEnd(Path.PathSeparator, Path.AltDirectorySeparatorChar);
}
p... |
namespace RobSharper.Ros.BagReader
{
public interface ICurrentItemBagRecordVisitor<out T> : IBagRecordVisitor
{
T Current { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace EZNEW.Development.Entity
{
/// <summary>
/// Defines update time entity
/// </summary>
public interface IUpdateTimeEntity
{
/// <summary>
/// Gets or sets the update time
/// </summary>
Dat... |
using System;
using IELTS_PTE.Business;
using IELTS_PTE.Common;
using IELTS_PTE.Common.ReturnEntities;
using IELTS_PTE.Common.ReturnEntities.Reading;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Microsoft.AspNetCore.Cors;
namespace IELTS_PTE_API.Controllers.Reading
{
[Route("api/[contro... |
using Xamarin.Forms;
namespace decode2017_MW08.Views
{
public partial class ListViewScrollToPage : ContentPage
{
public ListViewScrollToPage()
{
InitializeComponent();
}
}
}
|
using System;
using System.Text;
using System.Collections.Generic;
using Enexure.Sql.Dynamic.Providers.TransactSql;
using Enexure.Sql.Dynamic.Queries;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Enexure.Sql.Dynamic.Providers;
namespace Enexure.Sql.Dynamic.Tests
{
/// <summary>
/// Summary description ... |
using System.Threading.Tasks;
namespace Diffused.Core.Infrastructure
{
public abstract class Node : INode
{
private Task executingTask;
public Task StartAsync()
{
executingTask = RunAsync();
return executingTask.IsCompleted ? executingTask : Task.CompletedTask... |
using System.Collections.Generic;
namespace TicketMaster
{
public static class GlobalInMemoryStorage
{
public static List<ulong> TicketIDs { get; set; } = new List<ulong>();
}
}
|
using System;
using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
namespace Imas {
[Serializable]
[SuppressMessage("ReSharper", "NotNullMemberIsNotInitialized")]
public sealed class Curve {
[NotNull]
public string path;
[NotNull, ItemNotNull]
public string... |
using Raven.Yabt.Database.Common.References;
namespace Raven.Yabt.Database.Common.BacklogItem
{
public record BacklogItemRelatedItem
{
public BacklogItemReference RelatedTo { get; set; } = null!;
public BacklogRelationshipType LinkType { get; set; }
}
}
|
// -----------------------------------------------------------------------
// <copyright file="PersistentSnapshotSerializer.cs" company="Akka.NET Project">
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
// -------------------------------------------------------... |
using System.Xml;
namespace EppLib.Extensions.Nominet.ContactCreate
{
public class NominetContactCreateExtension : NominetContactExtensionBase
{
public string TradeName { get; set; }
public CoType? Type { get; set; }
public string CompanyNumber { get; set; }
public YesNoFlag? OptOut { get; set; }
public ... |
namespace Captura.Controls
{
public partial class TextOverlaySettingsControl
{
public TextOverlaySettingsControl()
{
InitializeComponent();
}
}
}
|
using BenchmarkDotNet.Attributes;
using MongoDB.Driver;
using MongoDB.Entities;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Benchmark
{
[MemoryDiagnoser]
public class Relationships : BenchBase
{
private const string bookTitle = "BOOKTITLE";
... |
namespace Mantle.Web.ContentManagement.Areas.Admin.ContentBlocks
{
public static class IContentBlockExtensions
{
public static string GetTypeFullName(this IContentBlock contentBlock)
{
var type = contentBlock.GetType();
return $"{type.FullName}, {type.Assembly.FullName}"... |
using System;
/// <summary>
/// Exception class to throw when the required letter char is not valid.
/// </summary>
public class NotValidLetterException : Exception
{
public NotValidLetterException(string message)
: base(message)
{
}
} |
using Helvetica.NntpClient.Interfaces;
using Helvetica.NntpClient.Models;
namespace Helvetica.NntpClient.CommandQuery
{
public class GetHead : IQuery<Head>
{
private readonly long _articleId;
private readonly string _messageId;
public GetHead(long articleId)
{
_arti... |
using Samples.Domain;
namespace Samples.Models
{
public class UserViewModel
{
public User User { get; set; }
public Album[] Albums { get; set; }
}
}
|
namespace OnlineExamPrep.Common
{
public static class Roles
{
public const string Admin = "Admin";
public const string Korisnik = "Korisnik";
public const string All = "Admin,Korisnik";
}
}
|
/*
* Copyright © 2020. TIBCO Software Inc.
* This file is subject to the license terms contained
* in the license file that is distributed with this file.
*/
using UnityEngine;
using System.Collections;
public class CameraMovement : MonoBehaviour
{
CharacterController characterController;
private float zoomS... |
namespace Cogito.MassTransit.Scheduler
{
class ScheduledMessageJobData
{
/// <summary>
/// Types of the message.
/// </summary>
public string[] MessageType { get; set; }
/// <summary>
/// Body of the message.
/// </summary>
public string Messag... |
using System;
using Reinforced.Tecture.Testing.Validation;
using Reinforced.Tecture.Tracing;
using Reinforced.Samples.ToyFactory.Logic.Warehouse.Entities;
using Reinforced.Tecture.Tracing.Commands;
using Reinforced.Samples.ToyFactory.Logic.Warehouse.Entities.Suppliement;
using Reinforced.Tecture.Aspects.DirectSql.Comma... |
// Copyright 2020 The Tilt Brush Authors
//
// 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 ... |
using ReactUnity.Styling;
namespace ReactUnity.Converters
{
public interface IStyleParser
{
object FromString(string value);
}
public interface IStyleConverter
{
object Convert(object value);
bool CanHandleKeyword(CssKeyword keyword);
}
}
|
using CodeBuilderApp.Document.Interfaces;
using System.Collections.Generic;
namespace CodeBuilderApp.Document.Elements
{
public sealed class DocumentElement : IDocument
{
public DocumentElement(IEnumerable<IUsing> usings, INamespace @namespace, IEnumerable<IClass> classes)
{
this.U... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using Mirror;
using Mirror.SimpleWeb;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEngine.SceneManagement;
using UnityEditor.TestTools;
using UnityEditor;
using System.IO;
public class WebTestNetManTests {
... |
namespace BlazorShop.Tests.UserTests.Queries
{
using static Testing;
public class GetUserByIdTests : TestBase
{
[Test]
public async Task ShouldReturnRoleNames()
{
var query = new GetRolesQuery();
var result = await SendAsync(query);
//result.Sel... |
using UnityEngine;
public class Chunk : MonoBehaviour
{
private float[] voxels;
private Vector3Int size;
public float[] Voxels { get => voxels; set => voxels = value; }
public Vector3Int Size { get => size; }
/// <summary>
/// Populates the voxel array with values from the Perlin noise.
... |
using System;
using System.Linq;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using EasyEnglish.Controllers;
using EasyEnglish.Models;
using EasyEnglish.Tests.Helpers;
using EasyEnglish.ViewModels;
namespace EasyEnglish.Tests.Controllers {
[TestClass]
public class Revie... |
// 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;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using NuGet.Protocol.Core.Types;
namespace Nu... |
using System.Net;
using System.Web.Mvc;
namespace Biobanks.Web.Results
{
public class HttpForbiddenResult : HttpStatusCodeResult
{
public HttpForbiddenResult() : base(HttpStatusCode.Forbidden) { }
}
} |
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.Core;
using Xpand.ExpressApp.FilterDataStore.Model;
using Xpand.ExpressApp.FilterDataStore.NodeGenerators;
using Xpand.Persistent.BaseImpl.PersistentMetaData;
using System.Linq;
namespace FeatureCenter.Module.WorldCreato... |
using System;
namespace Client.UI
{
/// <summary>
/// User interface player infor controller.创建角色
/// </summary>
public class UIPlayerInforController:UIController<UIPlayerInforWindow,UIPlayerInforController>
{
protected override string _windowResource {
get {
return "prefabs/ui/scene/uiplayer... |
using ETModel;
namespace ETHotfix
{
[Event(EventIdType.LanguageChange)]
class LanguageChange_RefreshHallView : AEvent
{
public override void Run()
{
FUI fui = Game.Scene.GetComponent<FUIComponent>().Get(FUIType.Hall);
if (fui == null)
return;
... |
using SixLabors.ImageSharp;
using System;
using System.Threading.Tasks;
using Xunit;
namespace LineMessaging.Test
{
public class LineMessagingClientTest
{
private readonly string userId1;
private readonly string userId2;
private readonly string roomId;
private readon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Haley.Abstractions;
using System.ComponentModel;
using Haley.Models;
using Haley.Events;
using System.Windows.Input;
namespace DevelopmentWPF.ViewModels
{
public class VMSubMain : ChangeNotifi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Application.DTOs.Account
{
public class AccountViewModel
{
public string FirstName { get; set; }
public string LastName { get; set; }
public virtual bool Active { get; set; }
public virtual bool Delete... |
namespace dk.schau.AzureApps.Modules.Comics.DomainModel
{
public interface IComicsDriver
{
string Execute(string url, string name);
}
} |
namespace ConcurrentDbActions.Domain.Enums
{
public enum WarehouseTypeEnum
{
Default = 1
}
}
|
using System;
using System.Linq;
using FirebirdDbComparer.Compare;
using NUnit.Framework;
namespace FirebirdDbComparer.Tests.Compare.ComparerTestsData.Changing
{
public class ColumnToTableWithoutPosition_00 : ComparerTests.TestCaseSpecificAsserts
{
public override void AssertScript(ScriptResult compare... |
using Autofac;
using DfuToolCli.Tools;
using NUnit.Framework;
namespace DfuToolCli.Tests {
/// <summary>
/// Class to use IoC container in tests.
/// </summary>
public class BaseTestFixture {
private readonly IContainer _container;
public BaseTestFixture() {
var builder = ... |
using System;
namespace NetCoreAPI
{
public class PostParameters
{
public string FileName { get; set; }
public string CredentialURL { get; set; }
public string SheetName { get; set; }
}
}
|
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using NUnit.Framework;
namespace NUnit.TestData
{
[TestFixture]
public class AssertCountFixture
{
public static readonly int ExpectedAssertCount = 5;
[Test]
public void BooleanAssert()
... |
namespace NDceRpc.ExplicitBytes
{
/// <summary>
/// Client side transport interfaces
/// </summary>
public interface IExplicitBytesClient
{
/// <summary>
///
/// </summary>
/// <param name="arg"></param>
/// <returns></returns>
byte[] Execute(byte[] ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.