content stringlengths 23 1.05M |
|---|
using Moq;
using RestEase.Implementation;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace RestEase.UnitTests.ImplementationFactory... |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift;
using Thrift.Collections;
using System.Runtime.Serializati... |
using System.Text.Json.Serialization;
namespace SimplyCast.Models.SMS
{
public class Campaign
{
[JsonPropertyName("id")]
public int Id { get; set; }
[JsonPropertyName("status")]
public string Status { get; set; }
[JsonPropertyName("totalPrice")]
public float To... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EgnValidator.Services
{
public interface IValidateEgn
{
string IsValid(string egn);
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Abp.Domain.Entities;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Xn.Models.Employees
{
public class Employees:Entity
{
public string Name { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Dx.Wopi.Models
{
internal interface IFileUrlProperties
{
Uri CloseUrl { get; set; }
Uri DownloadUrl { get; set; }
Uri FileSharingUrl { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
namespace Cofoundry.Web.Admin
{
public class StandardAngularModuleController : BaseAdminMvcController
{
public ActionResult Index()
{
var vm = new StandardAngularModuleViewModel();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using System;
using System.IO;
namespace VketTools
{
/// <summary>
/// A.提出形式
/// 01:Unity 2017.4.15f1で作成すること
/// </summary>
public class UnityVersionRule : BaseRule... |
using System.Threading.Tasks;
namespace AJProds.EFDataSeeder
{
/// <summary>
/// Seed procedure implementation.
/// Register your seed implementations with the <see cref="Extensions.RegisterDataSeeder{TSeeder}"/>
/// </summary>
/// <remarks>
/// <see cref="Extensions.RegisterDataSeeder{TSeeder... |
/* Licensed under the MIT/X11 license.
* Copyright (c) 2016-2018 jointly owned by eBestow Technocracy India Pvt. Ltd. & M&M Info-Tech UK Ltd.
* This notice may not be removed from any source distribution.
* See license.txt for detailed licensing details. */
// Author: Mukesh Adhvaryu.
using System;
using System.Colle... |
using Newtonsoft.Json;
namespace CFAN_netfan.CfanAggregator.FactorioCom.Schema
{
public class ModsPageJson
{
[JsonProperty(Required = Required.Always)]
public PaginationJson pagination;
[JsonProperty(Required = Required.Always)]
public ModJson[] results;
public class P... |
using System;
using System.Threading.Tasks;
using Plivo.Client;
namespace Plivo.Resource.Account
{
/// <summary>
/// Account.
/// </summary>
public class Account : Resource
{
/// <summary>
/// Gets the identifier.
/// </summary>
/// <value>The identifier.</value... |
namespace DFW_Draw_Generator
{
partial class GroupStageForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace PartialClassTest1
{
public partial class Point /* Level 0 */
{
private BigInteger _x;
private BigInteger _y;
}
}
|
using System;
using System.IO;
using System.Threading.Tasks;
namespace NusRipper
{
public static class FileIdentification
{
private const int MagicSampleSize = 32;
// Magic Bytes
private static readonly byte[] GifMagic1 = { 0x47, 0x49, 0x46, 0x38, 0x37, 0x61 }; // GIF87a
private static readonly byte[] Gi... |
namespace AstroAdapters.Services
{
public interface IChannel
{
void Subscribe<T>(string topic, Action<string, T?> action)
where T: class;
void Publish<T>(string topic, T? payload)
where T: class;
}
}
|
using System.Diagnostics;
using Microsoft.Extensions.CommandLineUtils;
namespace CliHelpers
{
public sealed class CliFlag
{
CommandOption m_Option;
internal CliFlag(CommandOption option)
{
Debug.Assert(option != null);
Debug.Assert(option.OptionType == CommandO... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Asteroid : MonoBehaviour {
public GameObject deathExplosion;
public int pointValue;
public AudioClip deathKnell;
// Use this for initialization
void Start () {
pointValue = 10;
}
// Update is cal... |
using System;
using System.Linq;
using System.Reflection;
public class AmmunitionFactory : IAmmunitionFactory
{
public IAmmunition CreateAmmunition(string ammunitionType)
{
Type typeOfAmmunition = Assembly.GetCallingAssembly().GetTypes()
.SingleOrDefault(type => type.Name == ammunitionType);
if (typeOf... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeepingSnake.Game.Geometry;
using WeepingSnake.Game.Player;
using Xunit;
namespace WeepingSnake.Game.Tests.Player
{
public class PlayerActionTests
{
[Fact]
public void Test... |
//
// Copyright 2013, Leanplum, Inc.
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache Li... |
using Simple1C.Impl.Helpers;
using Simple1C.Impl.Sql.SqlAccess.Syntax;
using Simple1C.Impl.Sql.Translation.QueryEntities;
namespace Simple1C.Impl.Sql.Translation.Visitors
{
internal class DeduceEntityTypeFromIsReferenceExpressionVisitor : SqlVisitor
{
private readonly QueryEntityTree queryEntityTree;
... |
using System;
class CenterPoint
{
static void Main()
{
double pointX1 = double.Parse(Console.ReadLine());
double pointY1 = double.Parse(Console.ReadLine());
double pointX2 = double.Parse(Console.ReadLine());
double pointY2 = double.Parse(Console.ReadLine());
Console.W... |
using Sitecore.XConnect.Collection.Model;
namespace Feature.FormsExtensions.Business.FieldBindings.xDbBindingHandlers.ContactPersonalInfo
{
public abstract class PersonalInformationBindingHandler : BaseXDbBindingHandler<PersonalInformation>
{
protected override string GetFacetKey()
{
... |
@using Mictlanix.BE
@{
ViewBag.Title = Resources.SinchronizeTimeClocks;
} |
using System;
using System.Xml;
namespace SignalVisualizer.Contracts
{
/// <summary>
/// Represents a configurable object.
/// </summary>
public interface IConfigurable
{
/// <summary>
/// Configures the object.
/// </summary>
void Configure();
/// <summary... |
// Copyright(c) 2019 Ken Okabe
// This software is released under the MIT License, see LICENSE.
using System;
namespace BowlingGame
{
public class Game
{
bool firstThrowInFrame = true;
Scorer itsScorer = new Scorer();
public int Score
{
get { return Sc... |
using System.Numerics;
using NeoSharp.VM;
namespace NeoSharp.Core.SmartContract.ContractParameters
{
public class IntegerContractParameter : ContractParameter
{
public IntegerContractParameter(int value) : base(ContractParameterType.Integer, value) { }
public IntegerContractParameter(short va... |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\codecapi.h(1901,1)
using System;
namespace DirectN
{
[Flags]
public enum eAVAudioChannelConfig
{
eAVAudioChannelConfig_FRONT_LEFT = 0x00000001,
eAVAudioChannelConfig_FRONT_RIGHT = 0x00000002,
eAVAudioChannelConfig_FR... |
using System;
using Newtonsoft.Json;
namespace InstaSharp.Models.Responses
{
/// <summary>
/// oEmbed is a format for allowing an embedded representation of a URL on third party sites.
/// </summary>
public class OEmbedResponse
{
/// <summary>
/// Gets the provider URL.
//... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using Blumind.Canvas;
using Blumind.Canvas.GdiPlus;
using Blumind.Controls;
using Blumind.Core;
using Blumind.Globalization;
namespace Blumind.Design
{
class Li... |
// Copyright (c) Microsoft. 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 Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis
{
public static partial class Syntax... |
// Copyright © 2020 Dmitry Sikorsky. 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.IO;
using System.Threading.Tasks;
using Magicalizer.Data.Repositories.Abstractions;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Skender.Stock.Indicators;
namespace Internal.Tests
{
[TestClass]
public class Slope : TestBase
{
[TestMethod]
public void Standard()
{
List<Slop... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Hasse.Core.GameAggregate
{
public abstract class FunctionalBuilder<TSubject, TSelf>
where TSelf : FunctionalBuilder<TSubject, TSelf>
where TSubject : new()
{
private readonly List<Func<TSubject, TSubject>> actions ... |
namespace MassTransit.Abstractions.Tests
{
using System;
using System.Diagnostics;
using NUnit.Framework;
[TestFixture]
public class When_generating_id
{
[Test]
public void Should_match_when_all_providers_equal()
{
// Arrange
var generator1 = ne... |
using System;
using IocPerformance.Classes.Complex;
using IocPerformance.Classes.Dummy;
using IocPerformance.Classes.Generics;
using IocPerformance.Classes.Multiple;
using IocPerformance.Classes.Properties;
using IocPerformance.Classes.Standard;
using Lamar;
using Microsoft.Extensions.DependencyInjection;
namespace I... |
using System;
using System.Drawing;
using System.Windows.Forms;
using Spire.Pdf;
using Spire.Pdf.Graphics;
using Spire.Pdf.Security;
namespace Decryption
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(obje... |
using Dapper;
using DoorsExport.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DoorsExport.Data.DAO
{
/// <summary>
/// Centralizar o acesso a dados de e<see cref="LocalDeTrabalho"/>
/// </summary>
internal class Loc... |
using Android.Runtime;
using Android.Views;
using Android.Widget;
using System;
using Toggl.Core.UI.ViewModels;
using Toggl.Shared;
namespace Toggl.Droid.ViewHolders
{
public sealed class ClientCreationSelectionViewHolder : BaseRecyclerViewHolder<SelectableClientBaseViewModel>
{
private TextView creati... |
using Equilaterus.Vortex;
using System;
using System.Collections.Generic;
using System.Text;
using TodoApp.Domain.Models;
namespace TodoApp.Domain.Behaviors
{
public static class TodoBehavior
{
public static Maybe<Todo> TryUpdate(Todo persitedTodo, Todo newTodo)
{
return persitedTo... |
/**
* Copyright 2021 The Nakama 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 agreed to in wr... |
using System;
using TrueCraft.Core.World;
using NUnit.Framework;
namespace TrueCraft.Core.Test.World
{
[TestFixture]
public class TestGlobalChunkCoordinates
{
[TestCase(1, 2)]
[TestCase(-2, -3)]
public void ctor(int x, int z)
{
GlobalChunkCoordinates actual = new... |
// -----------------------------------------------------------------------
// <copyright file="IErrorToExceptionTranslator.cs" company="YamNet">
// Copyright (c) 2013 YamNet contributors
// </copyright>
// -----------------------------------------------------------------------
namespace YamNet.Client.Errors
{
u... |
using System;
using System.IO;
using Wire.Extensions;
namespace Wire.ValueSerializers
{
public class StringSerializer : ValueSerializer
{
public const byte Manifest = 7;
public static readonly StringSerializer Instance = new StringSerializer();
public static void WriteValueImpl(Stream... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using FashionShop.Models.Objects;
namespace FashionShop.Models
{
public class OrderModel
{
private Provider provider = new Provider();
public int total()
... |
using System;
namespace Piranha.Jawbone
{
public readonly struct WavHeader
{
private static readonly byte[] _keys;
static WavHeader()
{
var keys = "RIFFWAVEfmt data";
_keys = new byte[keys.Length];
for (int i = 0; i < keys.Length; ++i)
... |
using System;
namespace SetMeta.Abstract
{
public interface IOptionValueConverter<T>
{
T GetValue(string value);
string GetStringValue(T value);
string GetStringValue(T value, IFormatProvider formatProvider);
}
} |
using System;
using ClientBoundary;
using ClientConsoleScriptContainer;
using Lamar;
namespace ClientConsoleScript {
internal class Program {
private static void Main(string[] args) {
// Set up the IoC framework
var reg = new ConsoleScriptContainer();
reg.DoRegister();
... |
using Microsoft.Diagnostics.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace msos
{
static class ClrRootExtensions
{
public static string BetterToString(this ClrRoot root)
{
if (root.Kind == GCRoo... |
using Banshee.Customers.Domain.Entities;
using Banshee.Customers.Domain.Exceptions;
using Banshee.Customers.Domain.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
namespace Banshee.Customers.Domain.Services
{
public class CustomerServ... |
using Mimp.SeeSharper.DependencyInjection.Abstraction;
using Mimp.SeeSharper.DependencyInjection.Scope.Abstraction;
using Mimp.SeeSharper.DependencyInjection.Tag;
using System;
namespace Mimp.SeeSharper.DependencyInjection.Scope
{
public class TagScopeDependencyFactory : ScopeDependencyFactory, ITagDependencyFact... |
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
namespace Cake.Orchard {
/// <summary>
/// Contains functionality related to running Orchard build tasks.
/// </summary>
[CakeAliasCategory("Orchard")]
public static class OrchardAliases {
/// <summary>
/// Validates... |
// 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.IO;
namespace NuGet.Test.Utility
{
public class TestPackageInfo : IDisposable
{
public TestPackageInfo(stri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerControls : MonoBehaviour
{
private const string HORIZONTAL = "Horizontal";
private const string VERTICAL = "Vertical";
[SerializeField] private float _moveSpeed;
public float MoveSpeed
{
get ... |
using System.ComponentModel;
namespace XFFirebaseAuthExample.ViewModels
{
// PropertyChanged.Fody will take care of boiler plate code ralted to INotifyPropertyChanged
public class BaseViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public bool... |
namespace UnityExtensions
{
/// <summary>
/// 状态栈的行为
/// </summary>
public enum StackAction
{
Push,
Pop,
}
/// <summary>
/// 栈状态接口
/// </summary>
public interface IStackState
{
/// <summary>
/// 进入状态时触发
/// </summary>
void O... |
using RimWorld;
using Verse;
namespace Locker;
public class CompAssignableToPawn_Locker : CompAssignableToPawn
{
public new Building_RegistableContainer parent => (Building_RegistableContainer)base.parent;
public new CompProperties_AssignableToPawn_OnlyOne Props => (CompProperties_AssignableToPawn_OnlyOne)pr... |
namespace UI.ViewModels
{
public enum SortBy
{
SizeAsc,
SizeDesc,
Duration
}
}
|
namespace vcdb.SqlServer.SchemaBuilding.Models
{
internal class UserAndLogin
{
public string name { get; set; }
public string type_desc { get; set; }
public string authentication_type_desc { get; set; }
public string login { get; set; }
public bool is_disabled { get; set... |
using Microsoft.Data.Entity;
namespace GeekQuiz.Models
{
public class TriviaDbContext : DbContext
{
private static bool _created = false;
public TriviaDbContext()
{
if (!_created)
{
_created = true;
Database.EnsureCr... |
// 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.
namespace System.ServiceModel.Channels
{
using System.ComponentModel;
using System.Runtime;
using System... |
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
namespace YnabBudgetBuilder.Models.NUnit
{
[TestFixture]
internal sealed class AppViewModelFixture
{
private AppViewModel m_Model;
[SetUp]
public async Task SetUp()
{
m_Model = new AppViewM... |
public class ScaleEffect : BaseEffect
{
private float a;
private float b;
private float c;
public ScaleEffect( float a, float b, float c )
{
this.a = a;
this.b = b;
this.c = c;
}
public override void OnTick()
{
Target.SetScale( Lerp3( a, b, c, T ) );
}
}
|
using NUnit.Framework;
using System;
using akarnokd.reactive_extensions;
namespace akarnokd.reactive_extensions_test.observablesource
{
[TestFixture]
public class ObservableSourceIsEmptyTest
{
[Test]
public void Basic()
{
ObservableSource.Range(1, 5)
.Is... |
using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using DemoCompany.DemoProject.Authorization.Roles;
using DemoCompany.DemoProject.Authorization.Users;
using DemoCompany.DemoProject.MultiTenancy;
namespace DemoCompany.DemoProject.EntityFrameworkCore
{
public class DemoProjectDbContext : Ab... |
namespace Entity
{
public interface IControllerInputNames
{
IInputName HomeButton { get; }
IInputName PrimaryButton { get; }
IInputName SecondaryButton { get; }
IInputName FaceButtonTop { get; }
IInputName FaceButtonBottom { get; }
IInputName FaceButtonLeft { get; }
IInputName FaceButtonRight { get; ... |
using System;
namespace HomeworkOne
{
[Serializable]
public class Student : Member
{
private double GPA;
protected string Major { get; set; } = String.Empty;
protected string Sport { get; set; } = String.Empty;
public Student()
{
}
public Student(i... |
using Microsoft.Extensions.DependencyInjection;
using R3M_UserManagement_ExternalServices;
using R3M_UserManagement_Services.Interfaces;
namespace R3M_UserManagement_Services
{
public static class ServicesExtension
{
public static void ConfigureServices(this IServiceCollection services)
{
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... |
using System;
using ColossalGame.Models;
using ColossalGame.Services;
using MongoDB.Bson;
using MongoDB.Driver;
using NUnit.Framework;
namespace ColossalServiceTests
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void TestMongoIsUp()
... |
using System;
using System.Diagnostics;
using System.Xml.Serialization;
namespace dk.nita.saml20.Schema.Core
{
/// <summary>
/// The Saml ConditionAbstract class.
/// Serves as an extension point for new conditions.
/// </summary>
[XmlInclude(typeof (ProxyRestriction))]
[XmlInclude(typeof (OneT... |
#region << 版 本 注 释 >>
/*-----------------------------------------------------------------
* 项目名称 :Kane.GlobalHook
* 项目描述 :全局钩子
* 类 名 称 :HookProc
* 类 描 述 :钩子定义的回调函数
* 所在的域 :KK-HOME
* 命名空间 :Kane.GlobalHook
* 机器名称 :KK-HOME
* CLR 版本 :4.0.30319.42000
* 作 者 :Kane Leung
* 创建时间 :2020/3/31 22:17:20
* 更新时间 :2020/3/31 22:17:20... |
using System;
using Auto.Inspections.App.Adapters;
using Auto.Inspections.App.Plugin;
using Auto.Inspections.Domain.Plugin;
using Auto.Inspections.Infra.Adapters;
using Auto.Inspections.Infra.Plugin;
using Auto.Inspections.WebApi.Plugin;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Micr... |
using CodeCampServer.Infrastructure.CommandProcessor;
using MvcContrib.CommandProcessor.Interfaces;
using StructureMap.Configuration.DSL;
namespace CodeCampServer.DependencyResolution
{
public class CommandProcessorRegistry : Registry
{
protected override void configure()
{
For<IUnitOfWork>().Use<Co... |
using System;
using System.Linq;
using dngrep.core.VirtualNodes;
using dngrep.core.VirtualNodes.VirtualQueries;
using dngrep.core.VirtualNodes.VirtualQueries.Extensions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using RoslyJump.Core.Infrastructure;
namespace RoslyJump.Core.Conte... |
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Kachuwa.Web
{
public interface IMetaTag
{
ConcurrentDictionary<string, string> MetaKeyValues { get; set; }
string Generate();
}
} |
using PNet;
using System;
namespace Ghost.Server.Core.Classes
{
public class MoreInstantiates : INetSerializable
{
public string JsonData { get; private set; }
public string[] Components { get; private set; }
public MoreInstantiates(string[] components, string jsonData)
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace BiotimeControlPanel
{
public partial class User
{
[NotMapped]
private string MiddleNameForFullName
{
get
{
if (!string.IsNullOrEmpty(MiddleName))
{
return $"{Environment.NewLine}{Mi... |
using Xunit;
namespace Falu.Tests;
public class ConstantsTests
{
[Fact]
public void MaxMpesaStatementFileSizeString_IsCorrect()
{
Assert.Equal("128 KiB", Constants.MaxMpesaStatementFileSizeString);
}
[Theory]
[InlineData("wksp_602cd2747409e867a240d000")]
[InlineData("wksp_60ffe3f... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Essensoft.Paylink.Alipay.Domain;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayCommerceAbntaskModifyResponse.
/// </summary>
public class AlipayCommerceAbntaskModifyResponse : AlipayResponse
{
... |
using CommandLine;
using VcEngineAutomation;
namespace VcEngineRunner.Simulation
{
public class GenericOptions
{
public GenericOptions()
{
InstallationPath = VcEngine.DefaultInstallationPath;
}
[Option("installation-path", HelpText = "Path to the installation folder... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ML.NET_NLP
{
public class TextBagOfWords
{
public float[] BagOfWords { get; set; }
}
//public static class TextNGramsExtensions
//{
// public static void Co... |
using System;
using System.Xml.Linq;
namespace R5T.Magyar.Xml
{
public static class XElementHelper
{
public const XElement NotFound = default; // null
public static bool IsLeaf(XElement xElement)
{
var isLeaf = !xElement.HasElements;
return isLe... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.TestPlatform.TestUtilities
{
using System.Reflection;
#if !NET451
using System.Runtime.Loader;
#endif
/// <summary>
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Decia.Business.Common.Modeling;
using Decia.Business.Common.Time;
using Decia.Business.Common.ValueObjects;
namespace Decia.Business.Common.Computation
{
public interface ICurrentState_Base
{
ProcessingType Pro... |
using System.Windows.Controls.Primitives;
namespace boilersGraphics.Controls
{
public class SnapPoint : Thumb
{
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CompNet.Tests
{
[TestClass]
public class ComputerTests
{
[TestMethod]
public void SetInfectedTest()
{
var comp = new Computer("Linux", 0, false);
Assert.IsFalse(comp.IsInfected);
comp.... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace AsyncFileIOWinForm
{
public partial class MainForm : Form
{
p... |
using System;
using System.Collections.Generic;
using UIC.Framework.Interfaces.Edm.Definition;
namespace UIC.Framework.Interfaces.Project
{
public interface UicProject
{
string ProjectKey { get; }
string Name { get; }
string Description { get; }
string Owner { get; }
Gu... |
using NUnit.Framework;
using System;
using akarnokd.reactive_extensions;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
namespace akarnokd.reactive_extensions_test.single
{
[TestFixture]
public class SingleRepeatTest
{
#region + Times +
[Test]
public void Times_Bas... |
using System;
using System.Linq;
namespace ReferencesCheck {
/// <summary>
/// Supported project configurations.
/// </summary>
static class SupportedConfigs {
/// <summary>
/// Supported names.
/// </summary>
private static readonly string[] Names = new string[] { "D... |
using System;
using UnityEngine;
namespace Zenject.SpaceFighter
{
public class EnemyStateRunAway : IEnemyState
{
readonly EnemyStateManager _stateManager;
readonly Settings _settings;
readonly EnemyModel _model;
readonly PlayerFacade _player;
public EnemyStateRunAway(
... |
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using StackExchange.Redis;
namespace Gofer.NET
{
public interface IBackend
{
Task Enqueue(string queueKey, string jsonString);
Task<string> Dequeue(string queueKey);
Task<IEnumerable<string>> De... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// TradePeriodDTO Data Structure.
/// </summary>
[Serializable]
public class TradePeriodDTO : AopObject
{
/// <summary>
/// 归属日期
/// </summary>
[XmlElement("belong_day")]
... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace MicroFx.Mapper
{
public interface IMapper
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MenuController : MonoBehaviour {
Transform lastHit;
Transform pointer;
public TextMesh countdownText;
IEnumerator countdownCoroutine;
// New York, San Francisco, Paris, Atlanta
float[] latitudes = { 40... |
using BlazorComponent;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Masa.Blazor
{
public class MDataTableRow<TItem> : BDataTableRow<TItem>
{
[Parameter]
public Func<TItem, bo... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AntDesign
{
/// <summary>
///
/// </summary>
public class ConfirmRef : FeedbackRefWithOkCancelBase
{
#region internal
internal bool IsCreateByModalService => Service != null... |
using Microsoft.EntityFrameworkCore;
using RS1_PrakticniDioIspita_2017_01_24.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RS1_PrakticniDioIspita_2017_01_24.EF
{
public class MojContext : DbContext
{
public MojContext(DbContextOption... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.