content stringlengths 23 1.05M |
|---|
using Bridge.Test.NUnit;
using System;
namespace Bridge.ClientTest.CSharp6
{
[Category(Constants.MODULE_BASIC_CSHARP)]
[TestFixture(TestNameFormat = "Interpolated Strings - {0}")]
public class TestInterpolatedStrings
{
private class Person
{
public string Name { get; set; } ... |
using System;
namespace Pioneer.Common.Commands.Converters;
public static class BasicConverter
{
public static readonly Type UShortType = typeof(ushort);
public static readonly Type IntType = typeof(int);
public static readonly Type LongType = typeof(long);
public static readonly Type ShortType = typ... |
using System;
using System.Linq;
using CarsFactory.Data.Contracts;
using CarsFactory.Models.Enums;
using CarsFactory.Reports.Documents.Contracts;
using CarsFactory.Reports.Reports.Contracts;
namespace CarsFactory.Reports.Reports
{
public class TopSellingManufacturersReport : IReport
{
/// <summary>
... |
using Godot;
using System;
public class RemainParticles : Particles2D
{
public void ParticleTimeout()
{
SpeedScale = 0;
SetProcess(false);
SetPhysicsProcess(false);
SetProcessInput(false);
SetProcessInternal(false);
SetProcessUnhandledInput(false);
SetPro... |
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.Net;
using System.Net.Sockets;
using System.IO;
namespace p4_jwm8483_client
... |
using Newtonsoft.Json;
using WampSharp.Binding;
namespace WampSharp.V2.Fluent
{
public static class NewtonsoftJsonChannelFactoryExtensions
{
private static readonly JTokenJsonBinding mJsonBinding = new JTokenJsonBinding();
/// <summary>
/// Indicates that the user wants to use JSON ser... |
/*
* Trevor Pence
* ITSE-1430
* 10/9/2017
*/
namespace MovieLib
{
public class Movie
{
public string Title
{
set { _title = value; }
get { return _title ?? ""; }
}
public string Description
{
set { _description = value; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fhr.ModernHistory.Dtos;
using Fhr.ModernHistory.Models;
namespace Fhr.ModernHistory.DtoConverters
{
/// <summary>
/// 名人信息转换器
/// 201/7/20
/// </summary>
public class... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Heater : MonoBehaviour
{
[SerializeField]
private Converter converter;
private void OnTriggerEnter(Collider other)
{
if ((other.GetComponent("Heating") as Heating) != null)
{
other.g... |
using domador.orm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace domador.managers
{
public class ManagerBase
{
protected Session Session;
public ManagerBase()
{
this.Session = new StatefullSess... |
// 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 Cake.Common.Build.GitLabCI;
using Cake.Common.Tests.Fixtures.Build;
using Xunit;
namespace Cake.Common.Tests... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... |
using Xamarin.Forms;
namespace Presently.MobileApp.Views
{
public partial class AttendanceLogPage : MobileContentPageBase
{
public AttendanceLogPage()
{
InitializeComponent();
}
}
}
|
// -----------------------------------------------------------------------
// <copyright file="IMenuService.cs" company="1-system-group">
// Copyright (c) 1-system-group. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using Diary_Sample.Models;
namespace... |
using System;
namespace SemanticVersionEnforcer.Core
{
internal class ComparableType : IComparable
{
public ComparableType(Type type)
{
Type = type;
}
public Type Type { get; set; }
public int CompareTo(object other)
{
re... |
using System;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Threading;
using Freezer.Pools;
using Freezer.Utils.Threading;
namespace Freezer.Runner
{
internal class RunnerCore
{
/// <summary>
/// Initialize a freezerCapture instance in boundingHostName:boudingP... |
using System.Collections.Generic;
namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.GraphQL
{
/// <summary>
/// GraphQL.ExecutionError interface for ducktyping
/// </summary>
public interface IExecutionError
{
/// <summary>
/// Gets a code for the error
/// </summary>
... |
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using FluentSerializer.Core.DataNodes;
using FluentSerializer.Core.BenchmarkUtils.Profiles;
using FluentSerializer.Core.BenchmarkUtils.TestData;
using FluentSerializer.Xml.Benchmark.Data;
namespace FluentSerializer.Xml.Benchmark.Profiles;
public clas... |
using Microsoft.AspNetCore.Http;
using Microsoft.DotNet.Interactive;
using Microsoft.DotNet.Interactive.Commands;
using Microsoft.DotNet.Interactive.CSharp;
using Microsoft.DotNet.Interactive.Events;
using Microsoft.DotNet.Interactive.Notebook;
using System;
using System.Threading;
using System.Threading.Tasks;
names... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using Ocelot.Infrastructure.RequestData;
using Ocelot.Middleware;
using Ocelot.Responses;
namespace Ocelot.Infrastructure
{
public class Placeholders : IPlaceholders
{
private Dictionary<string, Func<Response<string>>> _placeholders... |
// <copyright filename="AdapterBase.cs" project="Framework">
// This file is licensed to you under the MIT License.
// Full license in the project root.
// </copyright>
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using System.Xml.Linq;
using B1PP.Exceptions;... |
using PolicyServer1.Configuration.Options;
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Text;
namespace PolicyServer1.Configuration {
public class PolicyServerOptions {
public CachingOptions Caching { get; set; } = new CachingOptions();
public Endpoin... |
using Rallydator.Core.Test;
namespace Rallydator
{
class Program
{
static void Main()
{
new ValidationTest().Real_world_example_2018_November();
}
}
}
|
using Discord.API.Converters;
using Newtonsoft.Json;
namespace Discord.API.Client
{
public class MessageReference
{
[JsonProperty("id"), JsonConverter(typeof(LongStringConverter))]
public ulong Id { get; set; }
[JsonProperty("message_id"), JsonConverter(typeof(LongStringConverter))] //... |
using System.Collections.Generic;
namespace AlizeeEngine {
public static class AssetManager {
private static Dictionary<string, Sprite> assetsSprite;
private static Dictionary<string, Font> assetsFont;
static AssetManager() {
assetsSprite = new Dictionary<string, Spri... |
@{
if (Session["compname"] == null)
{
Response.Redirect("~/db/resultpage");
}
}
<!DOCTYPE html>
@using dbconnectivity_C.Models;
@model int
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>totaliposshow</title>
<style>
.head1 {
font-size: 50p... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
namespace KdSoft.Utils
{
/// <summary>
/// <see cref="ObservableCollection{T}"/> subclass that adds range modification methods.
/// </summary>
/// <typeparam name="T"></ty... |
using NUnit.Framework;
using static Markdig.Tests.TestRoundtrip;
namespace Markdig.Tests.RoundtripSpecs
{
[TestFixture]
public class TestLinkReferenceDefinition
{
[TestCase(@"[a]: /r")]
[TestCase(@" [a]: /r")]
[TestCase(@" [a]: /r")]
[TestCase(@" [a]: /r")]
[Test... |
//
// This file was generated by "KanColleProxy.Endpoints.tt"
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Fiddler;
// ReSharper disable InconsistentNaming
namespace Grabacr07.KanColleWrapper
{
partial class Kan... |
namespace KS3.Model
{
public class HeadObjectResult
{
public ObjectMetadata ObjectMetadata { get; set; } = new ObjectMetadata();
public bool IfModified { get; set; }
public bool IfPreconditionSuccess { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UXI.CQRS.Commands;
using UXR.Studies.Models;
namespace UXR.Studies.Models.Commands
{
public class SessionCommandsHandler
: ICommandHandler<CreateSessionCommand>
, ICommandHandle... |
namespace vtortola.WebSockets
{
public sealed class WebSocketExtensionFlags
{
bool _rsv1, _rsv2, _rsv3;
readonly bool _none;
public bool Rsv1 { get { return _rsv1; } set { _rsv1 = value && !_none; } }
public bool Rsv2 { get { return _rsv2; } set { _rsv2 = value && !_none; } }
... |
namespace Startkicker.Services.Data.Contracts
{
using Startkicker.Data.Models;
public interface IUsersService
{
User GetById(string id);
User GetByUserName(string userName);
}
}
|
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Application.Applicants.Dtos
{
public class ApplicantCreationVariantsDto
{
[JsonProperty("firstName")]
public IEnumerable<string> FirstName { get; set; }
[JsonProperty("lastName")]
public IEnumerable<string> Last... |
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using MultiFunctionApplicationHelpers;
using NewRelic.Agent.IntegrationTestHelpers;
using Xunit;
using Xunit.Abstractions;
namespace NewRelic.Agent.IntegrationTests.InfiniteTracing
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using Jace.Operations;
using Jace.Util;
namespace Jace.Execution
{
public class DynamicCompiler : IExecutor
{
private string FuncA... |
using UnityEngine;
using UnityEditor;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
namespace Unity.InteractiveTutorials.InternalToolsTests
{
public class ProjectModeTest
{
[Test]
public void IsAuthoringMode_Passes()
{
ProjectMode... |
using System.Text;
using DirectoriesComparator.PathUtils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace TestProject1
{
[TestClass()]
public class PathValidatorTest
{
/// <summary>
///Gets or sets the test context which provides
///information about and... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Transactions;
using System;
using DAL.Repository;
using DAL.Models;
using DAL.Database;
using System.Threading.Tasks;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace DAL.Test
{
[TestClass]
public class BookingRepositoryTests
... |
// Copyright 2014 Jacob Trimble
//
// 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 i... |
using System.ComponentModel;
using OMP.Connector.Domain.Schema.Base;
using OMP.Connector.Domain.Schema.Responses;
namespace OMP.Connector.Domain.Schema.Messages
{
[Description("Definition of OPC UA Command Response")]
public class CommandResponse : Message<ResponsePayload> { }
} |
using System;
using System.IO;
namespace Glacie.Data.Arc
{
internal static class TestDataUtilities
{
private static string? s_testDataPath;
public static string GetPath(string path)
{
if (s_testDataPath == null)
{
s_testDataPath = System.IO.Path... |
using AutoMapper;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using System.Threading;
using System.Threading.Tasks;
using ygo.application.Mappings.Profiles;
using ygo.application.Queries.BanlistById;
using ygo.core.Models.Db;
using ygo.core.Services;
using ygo.tests.core;
namespace ygo.applicati... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.R... |
using System;
using UnityEngine;
/// <summary>
/// DialogueLine is a Scriptable Object that represents one line of spoken dialogue.
/// It references the Actor that speaks it.
/// </summary>
[CreateAssetMenu(fileName = "newLineOfDialogue", menuName = "Dialogues/Line of Dialogue")]
public class DialogueLineSO : Script... |
using System;
using System.Collections.Generic;
using System.Text;
using UniversalProcessor.SDD.Common;
namespace UniversalProcessor.Processors
{
public class StringDescriber : DataDescriber
{
public override bool CanProcess(object data)
{
if (data is String)
return... |
// Copyright (c) Robin Boerdijk - All rights reserved - See LICENSE file for license terms
using MDSDK.BinaryIO;
using MDSDK.JPEG2000.Model;
using MDSDK.JPEG2000.Utils;
using System;
using System.Diagnostics;
namespace MDSDK.JPEG2000.CodestreamSyntax
{
class CodingStyleDefaultMarkerSegment : CodingStyleMarkerSeg... |
using System.Management.Automation;
using Microsoft.Crm.Sdk.Messages;
namespace Handy.Crm.Powershell.Cmdlets
{
[Cmdlet(VerbsLifecycle.Invoke, "CRMWhoAmI")]
public class InvokeCrmWhoAmICommand : CrmCmdletBase
{
protected override void ProcessRecord()
{
base.ProcessRecord();
... |
using Windows.UI.Notifications;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace Notifications.ScenarioPages.Toasts.ToastNotificationManagerHistory.GetHistory.Visualizer
{
/// <summary>
///... |
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using Microsoft.VisualBasic;
using System.Linq;
using System;
using System.Collections;
using System.Xml.Linq;
using System.Windows.Forms;
using System.Data.OleDb;
namespace HBRS
{
public partial c... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WareHouse :MonoBehaviour, IAnimalBuyEvent {
// List for items in warehouse
public static List<GameObject> ItemsInWareHouse = new List<GameObject>();
// List for animals type in warehouse
pu... |
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.Net;
using System.IO;
namespace Triggernometry.Forms
{
public partial class ExportForm... |
namespace LMPlatform.Models.CP
{
public class CoursePercentagesGraphToGroup
{
public int CoursePercentagesGraphToGroupId { get; set; }
public int CoursePercentagesGraphId { get; set; }
public int GroupId { get; set; }
public virtual Group Group { get; set; }
public v... |
/************************************************************************
AvalonDock
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://opensource.org/licenses/MS-PL
*********************************... |
using ArmiesDomain.Exceptions;
using ArmiesDomain.Repositories.Armies;
using ArmiesDomain.Services.ArmyNotifications;
namespace ArmiesDomain.ValueObjects
{
public class Quantity
{
private readonly int value;
public Quantity() : this(0)
{
}
public Quantity(int value)
... |
using System;
namespace BlaSoft.PowerShell.KnownFolders.Win32
{
[Flags]
internal enum SICHINTF : uint
{
SICHINT_DISPLAY = 0x00000000,
SICHINT_ALLFIELDS = 0x80000000,
SICHINT_CANONICAL = 0x10000000,
SICHINT_TEST_FILESYSPATH_IF_NOT_EQUAL = 0x20000000
}
}
|
@using Bootstrap4._3
@namespace Bootstrap4._3.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace AGCSE
{
public class clsView : clsItemBase... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class ItemsCollector : MonoBehaviour
{
private Dictionary<ItemData, int> _containedItems;
public event Action onContainedItemsChanged;
private void Awake()
{
_containedItems... |
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using xe.data.service.Models;
using xe.data.service.Services.Interfaces;
namespace xe.data.service.Services
{
public class ConfigurationReader : IConfigurationReader
{
public List<ConfigurationEntry> ReadConfiguration()
{
return JsonCo... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using Xunit;
namespace Microsoft.Azure.WebJobs.Host.UnitTests.Hosting
{
public class FunctionDataCacheKeyTests
{
[Fa... |
using UnityEngine;
using System.Collections;
public class EnemyMotion : MonoBehaviour {
private float charaSizeX;
private float charaSizeY;
void Start()
{
charaSizeX = this.GetComponent<RectTransform>().sizeDelta.x;
}
void FixedUpdate()
{
charaSizeY = Mathf.PingPong(Ti... |
/*
* Copyright 2018 Mikhail Shiryaev
*
* 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 a... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PenghargaanControl : MonoBehaviour
{
public GameObject penghargaanContainer;
public GameObject penghargaanContentContainer;
public GameObject penghargaanEarn;
public GameObject penghargaa... |
using System;
using MassTransit.Azure.ServiceBus.Core;
namespace Younited.MassTransit.Trigger.Config.Infrastructure
{
public interface IServiceBusHostConfiguration
{
Uri ServiceUri { get; }
void ConfigureHost(IServiceBusHostConfigurator configurator);
}
}
|
// 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 Microsoft.Cci;
using Microsoft.Cci.Mappings;
namespace Microsoft.DotNet.AsmDiff.CSV
{
public sealed class... |
namespace Windows32
{
public enum SystemMetricsConst
{
SM_CXSCREEN = 0,
SM_CYSCREEN = 1,
SM_CXVSCROLL = 2,
SM_CYHSCROLL = 3,
SM_CYCAPTION = 4,
SM_CXBORDER = 5,
SM_CYBORDER = 6,
SM_CXDLGFRAME = 7,
SM_CYDLGFRAME = 8,
SM_CYVTHUMB = 9,
SM_CXHTHUMB = 10,
SM_CXICON = 11,
SM_CYICON = 12,
SM_CXCUR... |
namespace PnP.Core.Model.SharePoint
{
/// <summary>
/// Statistics for a given action
/// </summary>
public interface IActivityActionStat
{
/// <summary>
/// The number of times the action took place.
/// </summary>
int ActionCount { get; }
/// <summary>
... |
using System;
using System.Collections.Generic;
namespace RoadFlow.Data.Interface
{
public interface IUsersRole
{
/// <summary>
/// 新增
/// </summary>
int Add(RoadFlow.Data.Model.UsersRole model);
/// <summary>
/// 更新
/// </summary>
int Update(Ro... |
using System.Text;
using SequelNet.Connector;
namespace SequelNet.Phrases
{
/// <summary>
/// This will return value in meters
/// </summary>
public class GeographyContains : IPhrase
{
public ValueWrapper Outer;
public ValueWrapper Inner;
#region Construcinnerrs
p... |
using System;
using System.Collections.Generic;
namespace Statistics
{
public interface IAlerter
{
void sendAlerts();
}
} |
using System;
namespace Framework.Core
{
public static class LazyHelper
{
public static Lazy<TResult> Create<TResult>(Func<TResult> func)
{
if (func == null) throw new ArgumentNullException(nameof(func));
return new Lazy<TResult>(func);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebUI.Areas.Admin.Models.DashboardVM
{
public class IndexTwoViewModel
{
/// <summary>
/// 操作系统
/// </summary>
public string ServerVer
{
get
{
... |
using SendGrid;
namespace GreatIdeas.MailServices;
public interface ISendGridService
{
/// <summary>
/// Send emailModel using SendGrid API
/// </summary>
/// <param name="emailModel"><see cref="EmailModel"/></param>
/// <returns>SendGrid <see cref="Response"/></returns>
Task<Response> SendEm... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BgMoving : MonoBehaviour
{
float scale;
bool up_scale;
Vector3 original_scale;
// Start is called before the first frame update
void Start()
{
up_scale = true;
scale = 1.0f;
ori... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EstouAVer.Tables
{
public class User
{
public string username { get; }
public string rep { get; }
public string salt { get; }
public User(string username, string rep, string salt)
{
... |
using System;
using PX.Objects;
using PX.Data;
namespace PX.SM.BoxStorageProvider
{
public class SMAccessPersonalMaint_Extension : PXGraphExtension<SMAccessPersonalMaint>
{
public PXAction<Users> redirectToBoxUserProfile;
[PXUIField(DisplayName = Messages.BoxUserProfile)]
[PXB... |
using System;
namespace _07.ExchangeVariableValues
{
class ExchangeVariableValues
{
static void Main(string[] args)
{
var a = Console.ReadLine();
var b = Console.ReadLine();
Console.WriteLine("Before:");
Console.WriteLine($"a = {a}");
... |
namespace MVP.Api
{
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using MADE.Networking.Http.Requests.Json;
using MVP.Api.Models.MicrosoftAccount;
using Newtonsoft.Json;
/// <summary>
/// Defines a m... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StdPaint
{
internal static class Utils
{
public static void Swap<T>(ref T a, ref T b)
{
T temp = a;
a = b;
b = temp;
}
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Macad.Core.Shapes;
using Macad.Presentation;
using Macad.Common;
using Macad.Core;
using Macad.Inte... |
using InsuranceAdvisor.Domain.Models;
using InsuranceAdvisor.WebApi.Models;
namespace InsuranceAdvisor.WebApi.Mappers
{
public static class VehicleProfileMapper
{
public static VehicleProfile ToDomain(this VehicleProfileDto dto)
=> new VehicleProfile(dto.Year);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace MocksSourceGeneratorTests
{
public class DefaultIfNotMockedTests : TestsBase
{
public DefaultIfNotMockedTests(ITestOutputHelper output) :... |
using Ryujinx.Common.Logging;
namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.SystemAppletProxy
{
class IAudioController : IpcService
{
public IAudioController() { }
[Command(0)]
// SetExpectedMasterVolume(f32, f32)
public ResultCode SetExpectedMast... |
/// <summary>
/// Client v2.
/// Разработанно командой Sky Games
/// sgteam.ru
/// </summary>
using UnityEngine;
using System.Collections;
public class Client: MonoBehaviour {
public Camera cam; // ссылка на нашу камеру
private Vector3 moveDirection; // вектор передвижения
private float speed = 6.0F; // ск... |
using System;
using System.ComponentModel;
using System.Runtime.Serialization;
using GitHub.DistributedTask.Expressions2.Sdk;
using GitHub.Services.WebApi.Internal;
using Newtonsoft.Json.Linq;
namespace GitHub.DistributedTask.Pipelines.ContextData
{
[DataContract]
[ClientIgnore]
[EditorBrowsable(EditorBro... |
using Domain.Entities;
using System.Threading.Tasks;
using Domain.Interfaces.Abstractions;
using System.Collections.Generic;
namespace Domain.Interfaces.Read
{
public interface ITaskReadRepository : IReadRepository<ToDoTask>
{
Task<ToDoTask> GetTaskWithTeamMembersByIdAsync(string id);
Task<Lis... |
using Microsoft.EntityFrameworkCore;
using QbQuestionsAPI.Domain.Models;
namespace QbQuestionsAPI.Persistence.Contexts
{
public class AppDbContext : DbContext
{
public DbSet<QbQuestion> QbQuestions { get; set; }
public DbSet<User> Users { get; set; }
public AppDbContext(DbContextOptio... |
using System.Collections.Generic;
using System.Linq;
namespace Kentico.Kontent.Statiq.Lumen.Models
{
public partial class Author
{
public IEnumerable<Contact> ContactsTyped => Contacts.OfType<Contact>();
}
} |
using System;
using System.IO;
using AElf.Kernel.Blockchain.Infrastructure;
using AElf.Types;
using Google.Protobuf;
using Microsoft.Extensions.Options;
using Volo.Abp.DependencyInjection;
namespace AElf.Kernel.SmartContract.Infrastructure
{
public interface IDefaultContractZeroCodeProvider
{
SmartCont... |
using AbhsChinese.Domain.Dto.Request.School;
using AbhsChinese.Domain.Dto.Response.School;
using AbhsChinese.Domain.Entity.School;
using AbhsChinese.Repository.RepositoryBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbhsChinese.Repo... |
namespace SecondMonitor.F12019Connector.Datamodel.enums
{
internal enum DriverResultKind
{
Na, Inactive, Active, Finished, Disqualified, NotClassified,
}
} |
using System.Collections.Generic;
using TencentAd.Model.Enums;
namespace TencentAd.Model.UserData
{
/// <summary>
/// 上传用户行为数据
/// </summary>
public class UserActionsAddReq : TencentAdRequest
{
public UserActionsAddReq(long accountId, long userActionSetId, List<UserActionsAdd_Action> ac... |
using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Phema.RabbitMQ.ProducerOverrides
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] arg... |
using System.Collections.Generic;
using System.Net.Mail;
using Cluster.System.Api;
namespace Cluster.System.Api
{
// Role interface implemented by any class that can return one or more PostalAddresses
public interface IEmailAddressProvider : IDomainInterface
{
MailAddress DefaultEmailAddress();
... |
using System;
using System.Collections.Generic;
namespace Agugu.Editor
{
public class PsdLayerConfig
{
private readonly Dictionary<string, string> _config = new Dictionary<string, string>();
public PsdLayerConfig() { }
public PsdLayerConfig(Dictionary<string, string> config)
{... |
namespace Fabricdot.Domain.Core.Auditing
{
public interface IHasModifierId
{
string LastModifierId { get; }
}
} |
/*
* Copyright 2013 ThirdMotion, 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 at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ET.WebAPI.Database.Migrations
{
public partial class latlondecimalprec : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<decimal>(
name: "Longitude",
... |
using ExaminationSystem.Models;
using NPOI.HPSF;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace ExaminationSystem.Utils
{
/// <summary>
/// Excel帮助类
/// </summary>
public static class E... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.