content stringlengths 23 1.05M |
|---|
// Developed by Softeq Development Corporation
// http://www.softeq.com
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Softeq.XToolkit.Chat.Interfaces;
using Softeq.XToolkit.Chat.Models;
using Sof... |
using System;
namespace Presentacion1.modelo
{
public class Usuario
{
protected int id;
protected String nombre;
public Usuario()
{
nombre = null;
}
public int ID
{
get
{
return id;
}
set
{
id = value;
}
}
public String Nombre
{
get
{
return nombre;
... |
using System;
namespace Voxels.Networking.Serverside {
public abstract class DynamicEntityServerside {
public uint UID;
public virtual string EntityType { get; }
public VoxelMoverServerside Mover { get; }
public DynamicEntityServerside() {
Mover = new VoxelMoverServerside(this);
}
public abstract v... |
namespace Stripe.Client.Sdk.Models
{
public class StripeResponse<TModel>
{
public TModel Model { get; set; }
public StripeError Error { get; set; }
public bool Success => Error == null;
}
}
|
//Stella
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// responsible for starting screw guide placement and handling its events
/// </summary>
public class ScrewGuidePlacer : MonoBehaviour
{
private void Start()
{
ScrewGuideCollection.Instance.enterPha... |
using System.ComponentModel.DataAnnotations;
namespace BooksApiMongoDb.Models
{
public class ViewBook
{
[Required]
public string BookName { get; set; }
[Required]
public string Author { get; set; }
public string Editor { get; set; }
... |
using System.Collections.Generic;
using HoneydewCore.Logging;
using HoneydewExtractors.CSharp.Metrics.Extraction.Class.Relations;
using HoneydewExtractors.Processors;
using HoneydewModels.CSharp;
using HoneydewModels.Types;
using Moq;
using Xunit;
namespace HoneydewExtractorsTests.Processors
{
public class FullNa... |
using System.Text.Json.Serialization;
using BeeSharp.ApiComponents.ApiModels.JsonConverter.Annotations;
using BeeSharp.HiveEngine.ApiComponents.ApiModels.JsonConverter.Annotations;
namespace BeeSharp.HiveEngine.ApiComponents.ApiModels.BroadcastOps.CustomJson.HiveEngine.Contracts.NftMarket
{
[HiveEngineContract("n... |
/*
* Created by SharpDevelop.
* User: TheSON
* Date: 2012-09-01
* Time: 오후 7:39
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
namespace Artn.Ilhwa.Model
{
/// <summary>
/// Description of Enums.
/// </summary>
public enum TaskType{
MaterialSkelpInfo,
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Google;
using Microsoft.Bot.Solutions.Skills;
namespace CalendarSkill.Services.GoogleAPI
{
public class GoogleClient
{
private const string APIErrorAccessDenied = "insufficient permissi... |
using Microsoft.AspNetCore.Mvc.RazorPages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RazorPagesWebApplication.Pages
{
public class ContactModel : PageModel
{
public void OnGet()
{
ViewData["Message"] = "Yo... |
namespace Oliviann.Data.Tests
{
#region Usings
using System.Collections.Generic;
using System.Linq;
using Xunit;
#endregion Usings
[Trait("Category", "CI")]
public class IDatabaseExtensionsTests
{
/// <summary>
/// Verifies a null collection returns a null object.
... |
@model IEnumerable<Time.Data.EntityModels.TimeMFG.TicketProject>
@{
//ViewBag.Title = "Support Home";
var location = ViewBag.Location;
}
@*<h2>@ViewBag.Title</h2>*@
<div class="container">
<div class="row">
@Html.Action("SideBar")
<div class="col-md-8 col-sm-8 col-xs-8">
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerGun : MonoBehaviour
{
public PlayerShot shotPrefab;
public float shotAngleDeg;
public float cooldown;
public AudioSource shotSound;
private float cooldownEndTime = 0f;
// Fires a shot if the coo... |
// 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.IIS.Administration.Security {
using Microsoft.IIS.Administration.Core.Security;
using System.Threading;
using System.Threa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MightyElk.MiscExt
{
public static class ICollectionExt
{
public static T AddAndReturn<T>(this ICollection<T> list, T item)
{
list.Add(item);
return item;
}
}
}
|
using Sorter.Core;
using Xunit;
namespace Sorter.UnitTests
{
public class DefaultComparerTests
{
[Fact]
public void Compare_ForNullArguments_ThrowsNoExceptions()
{
var comparer = new DefaultComparer();
var difference = comparer.Compare(null, null);
... |
using Order = Masa.EShop.Services.Ordering.Entities.Order;
namespace Masa.EShop.Services.Ordering.Dto;
public class OrderDto
{
public int ordernumber { get; set; }
public DateTime date { get; set; }
public string status { get; set; } = default!;
public string description { get; set; } = default!;
... |
using FS.Query.Scripts.SelectionScripts.Sources;
using FS.Query.Settings;
namespace FS.Query.Scripts.SelectionScripts.Combinations
{
public abstract class Combination
{
public Combination(ISource firstSource, ISource secondSource)
{
FirstSource = firstSource;
SecondSour... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CppCompiler
{
public partial class MainMenu : Form
{
public MainMenu()
{
InitializeCompo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace LeagueOfLegendsLibrary
{
[DataContract]
public class AggregatedStats
{
public int AverageAssists
{
get
{
if (_totalSes... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using Newtonsoft.Json;
namespace CloudFilesMonitor
{
class Site
{
public string Name { get; set; }
public string ContainerName { get; set; }
public str... |
namespace Stumps
{
using Stumps.Server;
/// <summary>
/// An interface used to abstract the starting environment of a Stumps server.
/// </summary>
public interface IStartup
{
/// <summary>
/// Gets or sets the configuration for the Stumps server.
/// </summary>... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using DARTS.ViewModel;
using DARTS.Data;
using DARTS.Data.DataObjects;
using System.ComponentModel;
using DARTS.Data.DataBase;
namespace DARTS_UnitTests.ViewModel
{
[TestClass]
public class MatchesOverviewViewModel_UnitTest_... |
using System.Net.Http;
using Cake.Core.Diagnostics;
namespace Cake.Alive.Tests.Builders
{
internal class AliveBuilder
{
private readonly ICakeLog _log = new NullLog();
private HttpClient _httpClient = new HttpClientBuilder();
public AliveBuilder With(HttpClient httpClient)... |
using System;
using System.Collections.Generic;
using System.Text;
namespace NW55.Integration.RuneScape.Api
{
public abstract class RuneScapeApi<TParameter, TResult> : RuneScapeApi
{
public abstract string GetUri(TParameter parameter);
public abstract TResult ParseResult(TParameter pa... |
using System.Web.OData.Builder;
using Microsoft.OData.Edm;
namespace ODataOpenTypeSample
{
public class ODataModels
{
public static IEdmModel GetModel()
{
ODataConventionModelBuilder builder = new ODataConventionModelBuilder();
EntitySetConfiguration<Account> accounts =... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DissProject.Models
{
public class Student : AbstractStudent
{
public String Int... |
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
[assembly: InternalsVisibleTo("DnDGen.TreasureGen.Tests.Unit")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
[assembly: InternalsVisibleTo("DnDGen.TreasureGen.Tests.Integration")]
[assembly: InternalsVisibleTo("DnDGen.TreasureGen.Tests... |
using UnityEngine;
using System.Collections;
using System;
public class SystemTimeProvider : DateTimeProvider {
public DateTime GetCurrent () {
return DateTime.Now;
}
}
|
using System.Text.Json.Serialization;
using Essensoft.AspNetCore.Payment.Alipay.Domain;
namespace Essensoft.AspNetCore.Payment.Alipay.Response
{
/// <summary>
/// MybankCreditSupplychainCreditpayTradeQueryResponse.
/// </summary>
public class MybankCreditSupplychainCreditpayTradeQueryResponse : Alipay... |
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace SFCCTools.Core.HTTP
{
/// <summary>
/// Logs the request and response bodies to Trace if they look
/... |
using System;
using System.Threading.Tasks;
using ResultFunctional.Models.Implementations.Results;
using ResultFunctional.Models.Interfaces.Errors.Base;
using ResultFunctional.Models.Interfaces.Results;
namespace ResultFunctional.FunctionalExtensions.Async.ResultExtension.ResultErrors
{
/// <summary>
/// Мето... |
using System;
using System.Collections.Generic;
using Microsoft.Diagnostics.Tracing;
using Microsoft.Diagnostics.Tracing.Parsers;
namespace Quadrant.UITest.Framework
{
public abstract class Scenario
{
private TraceEventDispatcher _source;
private readonly List<Counter> _counters = new List<Cou... |
using Abp.AutoMapper;
using Localink.Platform.Authorization.Roles.Dto;
using Localink.Platform.Web.Areas.Mpa.Models.Common;
namespace Localink.Platform.Web.Areas.Mpa.Models.Roles
{
[AutoMapFrom(typeof(GetRoleForEditOutput))]
public class CreateOrEditRoleModalViewModel : GetRoleForEditOutput, IPermissionsEditVi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SuperSQLInjection.model
{
public static class ErrorMessage
{
public static String mysql4_no_error_inject_info = "抱歉MySQL4数据库,不支持错误显示注入!";
public static String access_no_error_inject_info = "抱歉Access数据库,不支持错误显示注入!";
... |
using ITGlobal.CommandLine.Parsing.Impl;
using Xunit;
namespace ITGlobal.CommandLine.Parsing
{
public class LevenshteinDistanceTest
{
[Theory]
[InlineData("test", "test", 0)]
[InlineData("test", "tEST", 0)]
[InlineData("", "A", 1)]
[InlineData("A", "", 1)]
[Inlin... |
// 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 Microsoft.Extensions.Internal;
namespace Microsoft.AspNetCore.Razor.Language
{
internal clas... |
namespace Minduca.Domain.Core.Events
{
/// <summary>
/// Domain event
/// </summary>
public interface IDomainEvent
{
}
}
|
using System;
using System.ComponentModel.DataAnnotations;
using AwkwardPresentation.Models.Properties;
using EPiServer.Core;
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
using EPiServer.SpecializedProperties;
namespace AwkwardPresentation.Models.Pages
{
[ContentType(DisplayName = "ImageModel... |
namespace RMS.Repositories.Contracts
{
using RMS.Data.Entities;
/// <summary>
/// Contract for repository responsible for dealing with Teacher entities.
/// </summary>
public interface ITeacherRepository : IRepository<Teacher>
{
}
} |
using BluePointLilac.Controls;
using BluePointLilac.Methods;
using ContextMenuManager.Methods;
using System.Drawing;
using System.Windows.Forms;
namespace ContextMenuManager.Controls
{
sealed class SubItemsForm : Form
{
public SubItemsForm()
{
this.SuspendLayout();
this... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Dapper;
using EZChat.Master.Database;
using Microsoft.AspNetCore.DataProtection.Repositories;
using SqlKata;
namespace EZChat.Master.DataProtection
{
public class DataProtectionXmlRepository : IXmlRepository
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TextEngine
{
public class Sequence
{
private int _value;
private int _startValue;
private int _endValue;
public Sequence()
{
_value... |
/* Copyright 2017 Cimpress
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 writing, software
distribute... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using DIS = DataInfluenceSystem;
using CLS = CommonLogicSystem;
using CS = ConditionSystem;
using System;
public class CardPoolLogic : SingletonBehaviour<CardPoolLogic>
{
List<Card> dayCards = new List<Card>();
v... |
using System;
using System.Collections.Generic;
namespace Rebus.Config
{
/// <summary>
/// Allows for fluently configuring RabbitMQ input queue options
/// </summary>
public class RabbitMqQueueOptionsBuilder
{
/// <summary>
/// Set the durability of the input queue
/// </su... |
using System;
using System.ComponentModel;
using Caliburn.Micro;
using Katarai.Wpf.Extensions;
namespace Katarai.Wpf.ViewModels
{
public abstract class SingleInstanceViewModel : Screen, IViewModel
{
public virtual void OnClose(object sender, CancelEventArgs eventArgs)
{
eventArgs.C... |
namespace System.Windows.Forms
{
public delegate void DateBoldEventHandler(object sender, DateBoldEventArgs e);
}
|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Diagnostics.ContractsLight;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
#pragma warning... |
// --------------------------------------------------------------------------------------------------------------------ScenarioBlock_Tests
// <copyright file="TableBlock_Tests.cs" company="PicklesDoc">
// Copyright 2018 Darren Comeau
// Copyright 2018-present PicklesDoc team and community contributors
//
//
// Li... |
using System;
using System.Collections.Generic;
using our.orders.Helpers;
namespace our.orders.Statistics
{
public class StatisticsReport
{
public string Currency { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public TimeInterval Inte... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using AutoBogus;
using Bogus;
using NUnit.Framework;
using StirlingLabs.Utilities.Yaml;
using YamlDotNet.RepresentationModel;
using Json... |
using System;
using System.Collections.Generic;
using System.Text;
using FreecraftCore.Serializer;
namespace Runescape.Cache.Structures
{
[WireDataContract]
public sealed class MapTileCollection
{
//The cache length-prefixes the collection
/// <summary>
/// Deserialized map tiles.
/// </summary>
[WireMem... |
namespace UniversitySystem.Data
{
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using UniversitySystem.Data.Migrations;
using UniversitySystem.Models;
public class UniversitySystemDbContext : IdentityDbContext<User>, IUniversitySystemDbContext
{
public Uni... |
/// <summary>
/// Austin Berquam
/// Created: 2019/02/23
///
/// This is a mock Data Accessor which implements IGuestTypeAccessor. This is for testing purposes only.
/// </summary>
///
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Th... |
using System;
namespace Akka.Fluent.Config
{
public class SnapshotConfigBuilder : HoconConfigBuilder
{
public SnapshotConfigBuilder() : base("snapshot-store")
{
}
public SnapshotConfigBuilder Plugin(string plugin)
{
AddKeyValue("plugin", plugin);
... |
namespace P08.RecursiveFibonacci
{
using System;
using System.Collections.Generic;
public class RecursiveFibonacci
{
private static Dictionary<int, long> memory = new Dictionary<int, long>();
public static void Main(string[] args)
{
int n = int.Parse(Console.ReadLi... |
using System;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
using EnvDTE;
namespace JSEssentials.JSESettings
{
public static class Global
{
public static DTE DTE = InitGlobals();
public static Version IdeVersion;
private static DTE InitGlobals()
{
DTE dte = Package.GetGlobalService(typeof(DTE)) as D... |
// https://leetcode.com/problems/longest-palindromic-substring/
//
// Given a string S, find the longest palindromic substring in S.
// You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.
using System;
using System.Linq;
using System.Threading;
using Syste... |
using ApiGateway.Core.Contracts.Exposers;
using ApiGateway.Core.Exposers.Exceptions;
using Microsoft.AspNetCore.Mvc;
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace ApiGateway.Rest.Controllers
{
[ApiController]
public class ApiGatewayController : ControllerBase
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FreedomPatch
{
// Class to hold the Wiz... |
using System;
using System.Buffers;
using System.Text.Json;
using A6k.Nats.Operations;
using Bedrock.Framework.Protocols;
namespace A6k.Nats.Protocol
{
public class NatsOperationWriter : IMessageWriter<NatsOperation>
{
private const byte CR = (byte)'\r';
private const byte LF = (byte)'\n';
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace TagCanvas.Services
{
public enum LogType
{
Info,
Warning,
Error
}
public interface ILogger
{
void Lo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RTWTR.MVC.Models;
namespace RTWTR.MVC.Areas.Administration.Models
{
public class ShowAllTweetsModel
{
public ICollection<TweetViewModel> Tweets;
}
}
|
namespace ObjectSerialization.UT.Helpers
{
public interface IPoly
{
int Int { get; }
}
} |
namespace Gobie.Models;
using System.Collections.Generic;
public readonly struct ClassIdentifier : IEquatable<ClassIdentifier>
{
public ClassIdentifier(string classNamespace, string className)
{
NamespaceName = classNamespace ?? throw new ArgumentNullException(nameof(classNamespace));
ClassNa... |
using Arbiter.Core.Enums;
using Arbiter.Core.Interfaces;
using Arbiter.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Arbiter.LiveSportsOdds.Converters
{
public class OddsConverter : IConverter<IEnumerable<Odds>, Models.Game>
{
public IEnumerable<Odds> Conver... |
using CommandLine;
namespace EfsTools.CommandLineOptions
{
[Verb("getLog", HelpText = "Get log")]
internal class GetLogsOptions
{
[Option('m', "messageMask", Required = false, HelpText = "Message packets mask")]
public string MessageMask { get; set; }
[Option('l', "logMa... |
namespace Management.Storage.ScenarioTest.Util.Globalization
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public sealed class Windows1254Generator : SingleByteCodePageUnicodeGenerator
{
public Windows1254Generator(params char[] excludedCharact... |
using System;
namespace System.Windows.Threading
{
/// <summary>
/// Base class for all event arguments associated with a <see cref="Dispatcher"/>.
/// </summary>
/// <ExternalAPI/>
public class DispatcherEventArgs : EventArgs
{
/// <summary>
/// The <see cref="Dispatc... |
using System;
using System.Windows;
using System.Windows.Controls;
namespace Xamarin.Forms.Platform.WinPhone
{
public class VisualElementPackager
{
readonly Panel _panel;
readonly IVisualElementRenderer _renderer;
bool _loaded;
public VisualElementPackager(IVisualElementRenderer renderer)
{
if (render... |
using NeuralNet.Autodiff;
namespace NeuralNet.Optimizers
{
/// <summary>
/// Abstract class used to implement optimization algorithms
/// </summary>
public abstract class Optimizer
{
/// <summary>
/// The learning rate
/// </summary>
/// <value></value>
public... |
namespace UserService.Core.AuditPackage.AuditException
{
[StatusCode(Grpc.Core.StatusCode.PermissionDenied)]
public class PasswordInputException : AuditException
{
public PasswordInputException() : base(nameof(PasswordInputException)) { }
}
}
|
using System.Collections;
using System.Management.Automation;
using AzureAppConfigurationRetriever.Core.Interfaces;
namespace AzureAppConfigurationRetriever.PS.Commands
{
[Cmdlet(VerbsCommon.Get, "AzureAppConfiguration")]
[OutputType(typeof(string))]
public class GetAzureAppConfiguration : BaseCmdlet
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ExitScript : MonoBehaviour
{
public float steep;
public Image loadIcon;
public GameObject layer;
float progress = 0;
// Update is called once per frame
void FixedUpdate()
{
... |
using UnityEngine;
public class AttributeStats : MonoBehaviour
{
[SerializeField] private TMPro.TextMeshProUGUI lblValue;
public string Text
{
get
{
return lblValue.text;
}
set
{
lblValue.text = value;
}
}
}
|
using System;
using System.IO;
using SharpChannels.Core.Messages;
namespace SharpChannels.Core.Serialization
{
internal class BinaryMessageWriter
{
private readonly BinaryWriter _binaryWriter;
public BinaryMessageWriter(Stream stream)
{
_binaryWriter = new BinaryWriter(str... |
using Nancy;
using Nancy.Testing;
using Silverpop.Client.WebTester.Models;
using Silverpop.Core;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace Silverpop.Client.WebTester.Tests.Modules
{
public class HomeModuleTests
{
private readonly Browser _browser;
... |
using Alexa.NET.Request;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Alexa.NET.Security.Middleware
{
/// <summary>
/// An ASP.NET Core Middleware for validating Alexa reqeusts
/// </summary>
public cl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour {
public Transform rightLimit;
public Transform leftLimit;
bool goRight = true;
[SerializeField] float speed = 2;
float valueX = 1000;
float valueY = 200;
private float[] valu... |
using TrialOfFortune.Classes;
namespace TrialOfFortune.Cards
{
interface IAbilityJuggernaut
{
void Charge(Player player);
}
}
|
// Copyright(c) .NET Foundation.All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Xunit;
namespace NuGet.LibraryModel.Tests
{
public class FrameworkDependencyFlagsUtilsTests
{
[Fa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Skyreach.Util
{
public class SegmentScanner
{
/// <summary>
/// Enumeration of lengths on a zero based line
/// </summary>
private readonly IEnumerable... |
using System.Collections.Generic;
using LewisFam.Stocks.Models;
namespace LewisFam.Stocks.ThirdParty.Cnbc.Models
{
public interface ICnbcRealTimeStockQuote : IStockQuote
{
double Change { get; set; }
new double Close { get; set; }
double High { get; set; }
double L... |
using Serenity.Data;
namespace Serenity.Services
{
public interface IDeleteHandler<TRow, TDeleteRequest, TDeleteResponse>
: IRequestHandler<TRow, TDeleteRequest, TDeleteResponse>
where TRow : class, IRow, new()
where TDeleteRequest : DeleteRequest
where TDeleteResponse : De... |
namespace ET
{
// Unit的组件有这个接口说明需要传送
public interface ITransfer
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class MovingUnit : MonoBehaviour, Unit {
public float moveTime = .2f;
public LayerMask blockingLayer;
protected BoxCollider2D boxCollider;
protected Rigidbody2D rb2D;
private float inverseMoveTime;
// Use this for ... |
using System;
using UnityEngine;
using UnityEngine.Serialization;
namespace UniVRM10.FastSpringBones.Blittables
{
/// <summary>
/// Blittableなコライダ
/// </summary>
[Serializable]
public struct BlittableCollider
{
public BlittableColliderType colliderType;
public Vector3 offset;... |
using DataFileProcessor.Models;
namespace DataFileProcessor.Services
{
public interface IPersonRepository
{
bool RecordExists(Person person);
int SaveChanges();
void UpsertPerson(Person person);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Bridge.Contract;
namespace Bridge.Translator
{
public class BridgeOptions
{
public string Name { get; set; }
public ProjectProperties ProjectProperties { get; set; }
public string ProjectLocation { get; set; }
... |
namespace AuthorizationService
{
public interface IAuthorizationService
{
OAuthAccessTokens GetOAuthAccessTokens(string code, string state);
}
}
|
namespace navdi2
{
using UnityEngine;
using System.Collections.Generic;
[System.Serializable]
/// <summary>twinteger: IntVector2</summary>
public struct twinrect {
public twin min;
public twin max;
public twinrect(int x1, int y1, int x2, int y2) {
this.min = new twin(x1,y1); this.max = new twin(x2,y2);
... |
using BEDA.CMB.Contracts.Responses;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace BEDA.CMB.Contracts.Requests
{
/// <summary>
/// 12.4.5.支付机构经办汇入汇款母业务请求主体
/// </summa... |
using Newtonsoft.Json;
namespace Tbus.Parser.NETStandard
{
public class IndexedHour
{
[JsonProperty("index")]
public int Index { get; set; }
[JsonProperty("hour")]
public int Hour { get; set; }
public IndexedHour() { }
public IndexedHour(int index, int hour)
... |
using QRest.Core.Terms;
namespace QRest.Semantics.OData.Parsing
{
public class ODataTermContainer : ITerm
{
public ITerm Data { get; set; }
public ITerm Count { get; set; }
public string SharedView
{
get
{
var result = $"val... |
using System;
using System.Collections.Generic;
using Nebula;
using Nebula.Queue;
using Nebula.Queue.Implementation;
using SampleJob;
namespace SampleWorker
{
internal class Program
{
private static void Main()
{
Console.WriteLine("Abaci.JobQueue.Worker worker service...");
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace SmartCode.Configuration.ConfigBuilders
{
public abstract class ConfigBuilder : IConfigBuilder
{
public string ConfigPath { get; }
public Project Project { get; set; }
... |
using SharpBucket.V2.Pocos;
using Shouldly;
namespace SharpBucketTests.V2.Pocos
{
public static class RepositoryLinksAssertions
{
public static RepositoryLinks ShouldBeFilled(this RepositoryLinks links)
{
links.ShouldNotBeNull();
links.avatar.ShouldBeFilled();
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.