content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
namespace PLI.Models.Post
{
public class DeliveryPhoto
{
public int shipment_id { get; set; }
public List<int> remissions_id { get; set; }
public string photo { get; set; }
}
}
|
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace MercadoLivre.Domain.Entities
{
[Table("Categorias")]
public class Categoria : BaseEntity
{
public string Nome { get; set; }
public Guid? CategoriaMaeId { get; set; }
public Categoria CategoriaMae { get; set... |
using ReactNative;
using ReactNative.Modules.Core;
using ReactNative.Shell;
using RNViewShot;
using System.Collections.Generic;
using ReactNativeVideo;
namespace ViewShotExample
{
class MainPage : ReactPage
{
public override string MainComponentName
{
get
{
... |
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace GodLesZ.Library.Controls {
/// <summary>
/// A decoration is an overlay that draws itself in relation to a given row or cell.
/// Decorations scroll when the listview scrolls.
/// </summary>
public interface IDecoration :... |
using BirthdayCelebration.Contract;
using BirthdayCelebration.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BirthdayCelebration
{
public class StartUp
{
static void Main(string[] args)
{
List<IBirthday> listOfBirthday = new List<IBirthday>();
... |
using System.Runtime.Serialization;
namespace Alexa.NET.Response.APL
{
public enum APLDisplay
{
[EnumMember(Value="none")]
None,
[EnumMember(Value = "normal")]
Normal,
[EnumMember(Value = "invisible")]
Invisible
}
} |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using HotChocolate.Configuration;
using HotChocolate.Execution;
using HotChocolate.Language;
using HotChocolate.Resolvers;
using HotChocolate.Types;
using HotChocolate.Types.Descriptors;
using H... |
using System.IO;
using System.Xml;
namespace Platform.VirtualFileSystem.DataFile
{
public class XmlDocumentFileLoaderSaver
: IDataFileLoaderSaver<XmlDocument>
{
public static XmlDocumentFileLoaderSaver Instance
{
get
{
return instance;
}
}
private static readonly XmlDocumentFile... |
using System.Runtime.Serialization;
namespace Bitmovin.Api.Sdk.Models
{
/// <summary>
/// Specifies the manifest type which will be allowed for the ProgressiveWebmMuxingManifestType Muxing.
/// </summary>
public enum ProgressiveWebmMuxingManifestType
{
/// <summary>
/// Allow creati... |
using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using AutoMapper;
using Courier.API.Configurations;
using Courier.API.Infrastructure;
using Courier.API.Infrastructure.Filters;
using Courier.API.Infrastructure.GrpcServices;
using Courier.API.IntegrationEvents.... |
using System;
using System.Collections.Generic;
#nullable disable
namespace api.Models.Ttv
{
public partial class BrFundingConsortiumParticipation
{
public int DimFundingDecisionId { get; set; }
public int DimOrganizationid { get; set; }
public string RoleInConsortium { get; set; }
... |
using System.Web;
using System.Web.Routing;
namespace Dematt.Airy.ApplicationInsights.Sample
{
/// <summary>
/// http://stackoverflow.com/questions/36152468/mvc-site-using-webapi-ignore-api-routes-in-mvc-route-config
/// </summary>
public class NoApiControllerConstraint : IRouteConstraint
{
... |
using konito_project.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace konito_project.Model {
public class Client {
public string TypeName => AccountType.ToString();
[ExcelColumn(1, "순번")]
public int... |
#region Using Statements
using System;
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
#endregion
namespace ParticleSystemLib
{
/// <summary>
/// Class that writes a particle system into a content binary file.
/// </summary>
[ContentTypeWriter]
public class ParticleSystemW... |
using BusinessRules.POC.Helpers;
using System;
using System.Collections.Generic;
using Xunit;
using System.Collections;
using BusinessRules.POC.Helpers.Interface;
namespace BusinessRules.POC.Tests
{
public class DateHelperUnitTests
{
private IDateHelper _dateHelper;
public DateHelperUnitTests... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
[TestFixture]
public class HeroInventoryTests
{
private HeroInventory sut;
[SetUp]
public void TestInit()
{
this.sut = new HeroInventory();
}
[Test]
public void AddC... |
using MugenMvvmToolkit.ViewModels;
namespace Core.ViewModels
{
public class MainViewModel:WorkspaceViewModel
{
#region Overrides of ViewModelBase
protected override void OnInitialized()
{
DisplayName = "Hello, Linker!";
base.OnInitialized();
}
... |
using System;
using System.Threading;
namespace Revit.DependencyInjection.Unity.Async
{
internal class FuncTask
{
internal Delegate Action { get; set; }
internal DelegateType DelegateType { get; set; }
internal CancellationTokenSource Cancellation { get; set; }
}
} |
using LanceC.SpreadsheetIO.Mapping;
namespace LanceC.SpreadsheetIO.Facts.Testing.Fakes;
public class FakeMapOptionsExtension : IResourceMapOptionsExtension, IPropertyMapOptionsExtension
{
public IReadOnlyCollection<Type> AllowedTypes { get; } = Array.Empty<Type>();
}
|
using NoRealm.Phi.Shared.Utility;
using System;
using System.Collections.Generic;
namespace NoRealm.Phi.Metadata
{
/// <summary>
/// represent member core information
/// </summary>
public interface IMemberCore
{
/// <summary>
/// get dotnet member type
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EZNEW.Development.Entity
{
/// <summary>
/// Defines entity contract
/// </summary>
public interface IEntity
{
/// <summary>
/// Gets the property or field name
/// </summary>
/// <param n... |
using System.IO;
using ServiceStack.Html;
using ServiceStack.Text;
namespace ServiceStack.Razor
{
public static class RazorPageExtensions
{
public static string RenderSectionToHtml(this IRazorView razorView, string sectionName)
{
using (var ms = MemoryStreamFactory.Get... |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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... |
using System;
using System.Collections.Generic;
namespace Mapping_Tools.Components.Graph.Interpolation {
public class InterpolatorComparer : IComparer<string> {
public static string[] InterpolatorOrder = {"Single curve", "Single curve 2", "Single curve 3",
"Double curve", "Double curve 2", "D... |
namespace Dapper.SimpleLoad
{
/// <summary>
/// Defines configuration settings which alter SimpleLoad's behaviour. Currently all
/// relates to logging and how SimpleLoad should handle long running queries, and queries
/// that handle large results sets.
/// </summary>
public static class Simpl... |
using APIGateway.Services.Entities.Base.Validation;
namespace APIGateway.Services.Entities.Base
{
public abstract class BaseEntity : IValidatable<BaseEntity>
{
public bool Validate()
{
return EntityValidator.Validate(this);
}
}
}
|
using System.Reflection;
using Autofac;
using Autofac.Integration.Mvc;
namespace AmplaData.Web.Modules
{
public class ControllerInjectionModule : Autofac.Module
{
private readonly Assembly assembly;
public ControllerInjectionModule(Assembly assembly)
{
this.assembly = assem... |
namespace BookingApp.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class m1 : DbMigration
{
public override void Up()
{
CreateIndex("dbo.AccommodationTypes", "Name", unique: true);
CreateIndex("dbo.Regions", "Name", unique: tr... |
// AlwaysTooLate.CVars (c) 2018-2022 Always Too Late.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AlwaysTooLate.CVars
{
internal static class ReflectionHelper
{
internal static IEnumerable<FieldInfo> GetAllConfigVariables(object instance)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Sitko.Core.Repository.Tests.Data
{
public class BarModel : Entity<Guid>
{
public Guid? TestId { get; set; }
[ForeignKey(nameof(TestId))] public TestModel? Test { get; set; }
[... |
using System;
using System.Collections.Generic;
using System.Text;
namespace dm.DYT.Response
{
public class BrStats
{
public int NumBidsWithinRange { get; set; }
public int NumAsksWithinRange { get; set; }
public string BaseTokenAvailable { get; set; }
public string QuoteTokenA... |
#region Using
using JetBrains.Annotations;
#endregion
namespace Utils.StructParsers
{
[PublicAPI]
public sealed class DoubleParser : IStructParser<double>
{
double IStructParser<double>.ParseOrDefault(string value, double @default)
=> ParseOrDefault(value, @default);
double?... |
using Energy.Core.Entities.UserManagement;
using System;
namespace Energy.Core.Entities.CatalogItems
{
public class Review : Entity
{
public uint Stars { get; set; }
public DateTime? Datetime { get; set; }
public string Title { get; set; }
public string Description { get; set; ... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows;
using Converter.UI.Factories;
using Converter.UI.Framework;
using Converter.UI.Settings;
using Converter.UI.ViewModels;
using Converter.UI.Views;
using System.Windows.Controls;
using System.Linq;
using System.Thread... |
/*
MIT License
Copyright (c) Léo Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... |
// Copyright 2018 Andreas Müller
// This file is a part of Amusoft and is licensed under Apache 2.0
// See https://github.com/taori/Amusoft.EventManagement/blob/master/LICENSE.MD for details
#if NET35 || NET40
namespace System
{
internal class WeakReference<T> where T : class
{
private readonly WeakReference _r... |
#nullable enable
using System.Collections.Generic;
namespace Windows.UI.Composition
{
public partial class ScalarKeyFrameAnimation : global::Windows.UI.Composition.KeyFrameAnimation
{
private List<(float normalizedProgressKey, float value)> _keys = new List<(float normalizedProgressKey, float value)>();
intern... |
using System;
public class GemFactory : IGemFactory
{
public IGem CreateUnit(string gemType)
{
var args = gemType.Split();
var clarity = Enum.Parse<GemClarity>(args[0]);
string type = args[1];
var gemInfo = Type.GetType(type);
var gem = Activator.CreateInstance(gemIn... |
namespace Common.Logon
{
public interface ILogonService
{
void HandleSuccess(string identifier);
void HandleFailure(string identifier);
bool IsRejected(string identifier);
}
} |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using DlibDotNet;
namespace FaceRecognitionDotNet.Extensions
{
/// <summary>
/// The face landmark detector which was trained by helen dataset. This class cannot be inherited.
/// </summary>
public sealed class HelenFace... |
using WMI2CSharp.Attributes;
namespace WMI2CSharp.Models.DeviceModels
{
[WMIClass("Win32_QuickFixEngineering")]
public class QuickFixEngineering
{
public string Caption { get; set; }
public string CSName { get; set; }
public string Description { get; set; }
public string Fi... |
// 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.
// Description: Class to create a queue on its own thread.
using System.Windows.Automation;
using System.Windows.Au... |
namespace Fixie
{
using System.Threading.Tasks;
public sealed class DefaultExecution : IExecution
{
public async Task Run(TestSuite testSuite)
{
foreach (var test in testSuite.Tests)
await test.Run();
}
}
} |
using BuilderEssentials.Utilities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace BuilderEssentials.Items.Upgrades
{
public class WrenchItemUpgrade : ModItem
{
string ItemTexture = "BuilderEssentials/Textures/Items/Upgrades/Upgrade";
public override string Texture => It... |
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia.Api.Functional.Parsing.Tests
{
using System.Linq;
using EtAlii.Ubigia.Api.Functional.Context;
using Xunit;
public partial class SchemaParserTests
{
[Fact... |
using System;
using System.IO;
using System.Runtime.InteropServices.ComTypes;
public class ComStream : Stream
{
private IStream originalStream_;
public IStream UnderlyingStream
{
get
{
return this.originalStream_;
}
}
public override long Length
{
get
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
[RequireComponent(typeof(SpriteRenderer))]
[RequireComponent(typeof(Animator))]
public class GuedaraMovement : MonoBehaviour
{
public float speed;
public float timePlayingArmonica = 6;
public float wa... |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayMarketingCampaignPrizepoolPrizeCreateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayMarketingCampaignPrizepoolPrizeCreateModel : AopOb... |
using System;
using System.Buffers.Binary;
using System.IO;
using BenchmarkDotNet.Attributes;
namespace Content.Benchmarks
{
[SimpleJob]
public class NetSerializerIntBenchmark
{
private MemoryStream _writeStream;
private MemoryStream _readStream;
private ushort _x16 = 5;
pr... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace LibSvnSharp.Implementation
{
public sealed class SvnCommitItemCollection : KeyedCollection<string, SvnCommitItem>
{
internal SvnCommitItemCollection(IList<SvnCommitItem> items)
{
foreach... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI.GeorgianCard
{
public enum ResultCode
{
Success = 1,
Fail = 2,
Other = 3
}
}
|
namespace Crt.Model.Dtos.FinTarget
{
public class FinTargetCreateDto : FinTargetSaveDto
{
}
}
|
using AutoAdapterUnitTests.Resources;
using AutoAdapter;
using Xunit;
namespace AutoAdapterUnitTests
{
public class GenericTypeAdapterTests
{
[Fact]
public void GenericAdapter_CreateAdapter_StringProperty()
{
var adaptee = new GenericAdaptee<string>()
{
... |
using CyberCAT.Core.Classes.Mapping;
namespace CyberCAT.Core.Classes.DumpedClasses
{
[RealName("SurveillanceSystemUIPS")]
public class SurveillanceSystemUIPS : VirtualSystemPS
{
}
}
|
namespace AngleSharp.Css.Parser
{
using AngleSharp.Css.Values;
using AngleSharp.Text;
using System;
using System.Collections.Generic;
static class TimingFunctionParser
{
private static readonly Dictionary<String, Func<StringSource, ICssTimingFunctionValue>> TimingFunctions = new Diction... |
using Azure.Cosmos;
using AzureAI.CognitiveSearch.CustomSkills.Infrastructure.Model;
using AzureAI.CognitiveSearch.CustomSkills.Infrastructure.Services.Data.Interfaces;
using AzureAI.CognitiveSearch.CustomSkills.Infrastructure.Settings;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
n... |
using System;
using System.Collections.Generic;
using System.Text;
using ReactiveUI;
namespace Paginator.Avalonia.Test.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
private int i;
public int I
{
set => this.RaiseAndSetIfChanged(ref i, value);
g... |
namespace zxm.AspNetCore.Security.TestTool
{
partial class F_Main
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如... |
using System;
namespace AltoFramework
{
public interface IAltoSignal
{
void Clear();
}
/// <summary>
/// Typed message class with no arguments.
/// </summary>
public abstract class AltoSignal : IAltoSignal
{
private Action _callbacks;
private Action _oneShotC... |
using System;
namespace Zeldomizer.Metal
{
public class StringData : IStringData
{
private readonly ISource _source;
private readonly IStringConverter _stringConverter;
public StringData(ISource source, IStringConverter stringConverter, int maxLength)
{
_source = s... |
using System.Threading.Tasks;
using MiniTwitApi.Shared.Models;
using MiniTwitApi.Shared.Models.UserModels;
namespace MiniTwitApi.Client.ViewModels.Abstract
{
public interface IMyTimelineViewModel : IViewModel
{
public CreateMessage Message { get; set; }
public UserDTO LoggedInUser { get; set; }... |
using NFC.JSON;
namespace NFC
{
/// <summary>Enum for the types of NDEF Record</summary>
public enum NDEFRecordType { ABSOLUTE_URI, EMPTY, EXTERNAL_TYPE, MIME_MEDIA, SMART_POSTER, TEXT, UNKNOWN, URI }
/// <summary>Base class for NDEF Records</summary>
public abstract class NDEFRecord: IJSONSerializable
{
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
using Assert = NUnit.Framework.Assert;
using Description = NUnit.Framework.DescriptionAttribute;
using TestContext = Microsoft.VisualStudio.TestTools.UnitTest... |
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewBag.MainTitle = "Configuración del servidor";
}
|
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace Vanara.Collections.Tests
{
[TestFixture()]
public class SparseArrayTests
{
[Test()]
public void AddTest()
{
var a = new SparseArray<bool>();
Assert.That(() => ((ICollection<bool>)a).Add(true), Throws.TypeOf<NotSupportedExc... |
namespace Shriek.ServiceProxy.Socket.Core
{
/// <summary>
/// 定义Api执行上下文
/// </summary>
public interface IActionContext
{
/// <summary>
/// 获取Api行为对象
/// </summary>
ApiAction Action { get; }
}
} |
using System;
namespace Duracellko.PlanningPoker.Domain.Test
{
public class GuidProviderMock : GuidProvider
{
private Guid _guid;
public GuidProviderMock()
: this(DefaultGuid)
{
}
public GuidProviderMock(Guid newGuid)
{
_guid = newGuid;... |
using System.Collections.Generic;
namespace Microsoft.UnifiedRedisPlatform.Core.Services.Models
{
internal class ServerLogResult
{
public int LogsReceived { get; set; }
public int LogsFailed { get; set; }
public List<GenericLog> FailedLogs { get; set; }
}
}
|
using AngleSharp.Dom;
using Bunit.Diffing;
using System.Collections.Generic;
namespace Bunit
{
/// <summary>
/// Extensions for AngleSharp types.
/// </summary>
internal static class AngleSharpExtensions
{
/// <summary>
/// Wraps the <paramref name="node"/> in an <see cref=... |
// Copyright (c) Aaron Reynolds. All rights reserved. Licensed under the Apache License, Version 2.0.
using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Educ8IT.AspNetCore.SimpleApi.Authorisation.Attributes
{
/// <s... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace BlackBee.Toolkit.Base
{
public class SortableObservableCollection<T> : ObservableCollection<T>
{
public SortableObservableCollection(IEnumerable<T> collection) :
base(collecti... |
// DerTaggedObject
using Org.BouncyCastle.Asn1;
public class DerTaggedObject : Asn1TaggedObject
{
public DerTaggedObject(int tagNo, Asn1Encodable obj)
: base(tagNo, obj)
{
}
public DerTaggedObject(bool explicitly, int tagNo, Asn1Encodable obj)
: base(explicitly, tagNo, obj)
{
}
public DerTaggedObject(int ... |
namespace AfterlifeInterpretor.CodeAnalysis.Syntax.Parser
{
public abstract class StatementSyntax : SyntaxNode
{
}
} |
//====================================================
//作者:沙新佳
//日期:2015/10/19
//用途:体积雾控制组件
//======================================================
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent(typeof(MeshFilter))]
[RequireComponent(typeof(Renderer))]
[ExecuteIn... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ValveMultitool.Models.Formats.Steam.Distribution.Installation
{
public class RunAction : InstallAction
{
// process 1, command 1
/// <summary>
/// Whether the setup process should run as the current user or as... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System;
[CustomEditor(typeof(GridBuilder))]
public class GridBuilderEditor : Editor
{
private void OnEnable()
{
SceneView.duringSceneGui += OnSceneUpdate;
}
private void OnDisable()
{
... |
using System;
using System.Collections.Generic;
using McMorph.Tools;
using McMorph.Files;
using McMorph.Morphs;
namespace McMorph.Processes
{
public class Mounter : IDisposable
{
private readonly ChrootBox box;
private Progress progress;
private Stack<MountPoint> mountPoints = new Sta... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft... |
using System.Collections.Generic;
namespace TimerQueueTimer
{
// Comparer used to make the heap as min heap, we store the events
// in the queue such that event with minimum time-out must
// be in the top.
public class DoubleComparer : IComparer<double>
{
public int Compare(double value1, ... |
namespace Extract_Middle_Elements
{
using System;
public class Extract_Middle_Elements
{
public static void Main(string[] args)
{
string[] input = Console.ReadLine().Split();
int[] numbers = new int[input.Length];
for (int i = 0; i < numbers.Length; i++)... |
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ApartmentReservation.Application.Features.Apartments.Commands;
using ApartmentReservation.Application.Interfaces;
using ApartmentReservation.Common.Exceptions;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace ApartmentReservat... |
// ReSharper disable IdentifierTypo InconsistentNaming
namespace RogueLibsCore
{
#pragma warning disable IDE0079 // Remove unnecessary suppression
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public static class VanillaItems
{
public const string
... |
using System.Collections;
using UnityEngine;
using UnityEngine.Events;
using TMPro;
using Mirror;
using UnityEngine.Localization;
public class LoginScript : MonoBehaviour
{
public UnityEvent<LoginReturn> OnLoginSuccess;
public UnityEvent<string> OnLoginFailure;
[SerializeField] private TMP_InputField use... |
using System;
using System.Drawing;
namespace SoftwareRenderer
{
public class GraphicsBuffer : IDisposable
{
public GraphicsBuffer(int width, int height, Camera camera) {
Current = new Bitmap(width, height);
CurrentGraphicsDevice = new GraphicsDevice(Current, camera);
... |
using System;
using System.Diagnostics;
using BEPUphysics.Entities;
using Microsoft.Xna.Framework;
using BEPUutilities;
using Microsoft.Xna.Framework.Input;
namespace BEPUphysics.Constraints.TwoEntity.Motors
{
/// <summary>
/// Tries to rotate two entities so that they reach a specified relative orientation o... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using TicketOffice.Services;
namespace TicketOffice.Pages.Auth;
public class IndexModel : PageModel
{
private readonly UserValidationService validationService;
public IndexModel(UserValidationService validationService)
{
... |
using MelonMusicPlayerWPF.MMP;
namespace MelonMusicPlayerWPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
public MelonPlayer melonPlayer;
public App()
{
melonPlayer = MelonPlayer.Instance;
}
}
}
|
using Workflow.Bibliography;
using Workflow.Formats;
namespace Workflow
{
static class Program
{
static void Main()
{
// ValidationBib.Validate();
// ValidationRef.Validate();
// Transformations.Doc2Md();
Markdown.PostProcessing();
... |
namespace Vulder.Timetable.Core.ProjectAggregate.Timetable;
public class TimetableCache
{
public DateTimeOffset ExpiredAt { get; set; }
public Optivulcan.Pocos.Timetable? Timetable { get; set; }
public TimetableCache CreateTimestamp()
{
ExpiredAt = DateTimeOffset.Now.AddHours(1);
retu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Hmsapp.Models
{
public class CurrentOPD
{
public Guid CurrentOPDId { set; get; } = Guid.NewGuid();
public string DisplayNumber { get; set; }
public Guid DoctorId { get; set; }
publ... |
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(ParticleSystem))]
public class BNG_TargetAction : MonoBehaviour
{
public int hp;
public GameObject TurretObject;
public Sprite killSprite;
private BNG_TurretAction taScript;
private ParticleSystem particles;
... |
using System;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.Json;
namespace BusinessApp.WebApi
{
public class ExpandJsonConfigurationSource : JsonConfigurationSource
{
public override IConfigurationProvider Build(IConfigurationBuilder builder)
... |
public enum RF5BuildData.FLAG // TypeDefIndex: 9873
{
// Fields
public int value__; // 0x0
public const RF5BuildData.FLAG BuilderFlag_Head = 0;
public const RF5BuildData.FLAG BuilderFlag_Last = 128;
public const RF5BuildData.FLAG Length = 129;
}
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Reflection.Internal;
using System.Text;
using Xunit;
namespace System.Reflection.Metadata.Tests
{
public class OrderByTests
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Request.Response.UploadResponse
{
public class UploadResponse
{
public int status { get; set; }
public string message { get; set; }
public Data data { get... |
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using AssistAPurchase.Models;
namespace AssistAPurchase.Database
{
public class UsersGetter
{
public List<UserModel> Users { get; private set; }
public UsersGetter()
{
this.GetAllUsers();
... |
using System;
using System.Collections.Generic;
namespace XIoT.EventBus
{
/// <summary>
/// MQ消息接口
/// </summary>
public interface IEventMessage
{
/// <summary>
/// 动作
/// </summary>
String Action { get; set; }
/// <summary>
/// 消息体
/// </sum... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Westwind.Web.Controls
{
/// <summary>
/// Extender style interface that allows adding a DataBinder
/// object to a control and interact with a DataBinder object
/// on a Page.
///
/// Any control marked w... |
namespace PowerShell.EditorFeatures.UI.Windows
{
public class CodeGenerationInfrastructure
{
public CodeGenerationInfrastructure(
CodeGenerationModel model,
CodeGenerationViewModel viewModel,
CodeGenerationWindow view)
{
Model = model;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class player : MonoBehaviour
{
public float speed = 0.0f;
public float gravity = -9.0f;
public float extraGravity = -10.0f;
public float terminalVel = -3.0f;
public float extSpeed = 0.0f;
public float depthTarget = -4.0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.