text stringlengths 1 932k |
|---|
using UnityEngine;
using Sharp.Core;
namespace Sharp.Gameplay
{
[RequireComponent(typeof(Animator))]
[RequireComponent(typeof(CellComponent))]
[RequireComponent(typeof(AudioSource))]
public class BarrierObject : MonoBehaviour
{
[SerializeField]
private ParticleSystem haloEffect;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using book_management_helpers;
using book_management_models;
using book_management_persistence.Implements;
using book_management_persistence.Repositories;
using book_management_services.Services;
using CloudinaryDotNet;
us... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace rox.mt4.rest
{
using rox.mt4.api;
public partial class MT4Controller
{
[HttpGet]
public async Task<RateInfoResult> ChartRequest(ChartInfo chart)
... |
public static partial class Extension
{
/// <summary>
/// Returns a value that indicates whether the specified value is not a number ().
/// </summary>
/// <param name="this">A single-precision floating-point number.</param>
/// <returns>true if evaluates to not a number (); otherwise, false.<... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace DotNet.GitHub;
public record GitHubApiArgs(
string Owner,
string RepoName,
string Token,
long IssueNumber = -1); |
// Copyright (c) Dmytro Kyshchenko. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace xFunc.Maths.Expressions.Units.Converters;
/// <summary>
/// The mass unit converter.
/// </summary>
public class MassConverter : IConverter<MassValue... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ea... |
public enum CustomAuthenticationType : byte
{
Custom = 0,
Steam = 1,
Facebook = 2,
None = byte.MaxValue
} |
namespace antlr.debug
{
public interface ParserTokenListener : Listener
{
void parserConsume(object source, TokenEventArgs e);
void parserLA(object source, TokenEventArgs e);
}
} |
using System;
using System.Text;
using System.Threading.Tasks;
using Codez.Alphabets;
using Codez.Randomizers;
using Xunit;
using Xunit.Abstractions;
namespace Tests
{
public class ExclusiveStringAlphabetTests
{
private readonly ITestOutputHelper output;
public ExclusiveStringAlphabetTests(ITe... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
using Nop.Web.Framework.Mvc.ModelBinding;
using Nop.Web.Framework.Models;
using Nop.Web.Areas.Admin.Models.Catalog;
namespace Nop.Web.Areas.Admin.Models.Settings
{
/// <summary>
/// Represents a catalog settings model
/// </summar... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace WpfItemsControlPanel
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.AI.Language.Conversations.Models
{
public partial class DeepstackPrediction
{
... |
using Android.Content;
using MvvmCross.Core.ViewModels;
using MvvmCross.Forms.Core;
using MvvmCross.Forms.Droid;
using MvvmCross.Platform.Platform;
using MvvmCrossFormsMultiplePages.Core;
namespace MvvmCrossFormsMultiplePages.Droid
{
public class Setup : MvxFormsAndroidSetup
{
public Setup(Context app... |
@page "{id:int?}"
@model ContosoUniveristy.Pages.Courses.DetailsModel
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Course.CourseID)
</dt>
<dd>
@Html.DisplayFor(mod... |
using MEPH.util.FileWatcher.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MEPH.util.FileWatcher
{
public class StateWriter
{
bool readerFlag = false; // State flag
IList<StateOfFile> ... |
using System.ComponentModel.DataAnnotations;
namespace CakeShop.Core.Dto
{
public class CakeDto
{
public int Id { get; set; }
[Required]
[Display(Name = "Cake Name")]
public string Name { get; set; }
[Required]
[Display(Name = "Short Description")]
[Ma... |
using System.ComponentModel;
using TCC.Data;
using TCC.Data.Skills;
using TeraDataLite;
namespace TCC.ViewModels.ClassManagers
{
public class WarriorLayoutVM : BaseClassLayoutVM
{
public SkillWithEffect DeadlyGamble { get; set; }
public SkillWithEffect AdrenalineRush { get; set; }
pu... |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.Linq;
using System.Timers;
using Elastic.Apm.Api;
usi... |
using Bitmex.NET.Models;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bitmex.NET.IntegrationTests.Tests
{
[TestClass]
[TestCategory("REST")]
public class BitmexApiServiceStatsApiTests : IntegrationTestsClass<IBitmexApiService>
{
[TestMethod]
pu... |
using Commons.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace UserMicroservice.Domain {
public class User : BaseEntity {
public int id { get; set; }
public string name { get; set; }
public string surname { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DssApplicationPoster.Areas.Administrator.Models
{
public class GetCountContentVideo
{
public int CountVideo { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Wizcorp.MageSDK.Event
{
public class EventEmitter<T>
{
//
private Dictionary<string, EventHandlerList> tagListMap = new Dictionary<string, EventHandlerList>();
//
public void On(string eventTag, Action<object, T> handler)... |
using System.Collections.Generic;
namespace TicketSystemLibrary
{
public abstract class StockCollectionModel
{
public List<PartModel> PartsInStock { get; private set; } = Factory.CreatePartModelList();
public void AddPartsToStock(List<PartModel> partsSent) =>
PartsInStock.UpdateSt... |
using GammaJul.ReSharper.EnhancedTooltip.DocumentMarkup;
using GammaJul.ReSharper.EnhancedTooltip.Psi;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon.CSharp.Errors;
using JetBrains.ReSharper.Psi.CodeAnnotations;
namespace GammaJul.ReSharper.EnhancedTooltip.Presentation.Highlightings.CSharp {
[Solutio... |
using System;
class ComparingFloats
{
static void Main()
{
double num1 = double.Parse(Console.ReadLine());
double num2 = double.Parse(Console.ReadLine());
double precision = 0.000001;
if (Math.Abs(num1 - num2) <= precision)
{
Console.WriteLine("True");
... |
using Ryujinx.Common.Memory;
using Ryujinx.Graphics.Nvdec.Vp9.Types;
namespace Ryujinx.Graphics.Nvdec.Vp9
{
internal static class Luts
{
public static readonly byte[] SizeGroupLookup = new byte[]
{
0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3
};
public static readonly Blo... |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//--------------------------------------------------------------... |
// IMvxGeoLocationWatcher.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System;
namespace Cirrious.MvvmCross... |
using Products.BL.Contracts;
using Products.DomainModel;
using Products.Persistence.Contracts.UnitOfWork;
using System;
using System.Collections.Generic;
using System.Text;
namespace Products.BL
{
public class BLUser : IUser
{
private readonly IUnitOfWork uow;
public BLUser(IUnitOfWork uow)
... |
// Copyright 2018 Jeremy Cowles. All rights reserved.
//
// 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 applic... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fra... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TD... |
namespace MyRentals.Service.Messages
{
using System.Collections.Generic;
using MediatR;
using MyRentals.Domain.StorageModels;
public class GetRealtors : IRequest<IEnumerable<Realtor>>
{
}
} |
using System;
using System.Collections.Generic;
using Content.Server.GameObjects.EntitySystems;
using Content.Server.Interfaces;
using Content.Shared.GameObjects.Components.Mobs;
using Robust.Server.GameObjects;
using Robust.Shared.ContentPack;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObject... |
using HealthChecks.UI.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
namespace HealthChecks.UI.Core
{
internal static class UIResourceExtensions
{
public static UIResource GetMainUI(this IEnumerable<UIResource> resources, Options options)
{
var re... |
using System;
using System.Text.RegularExpressions;
namespace MSR.CVE.BackMaker
{
internal class DegreesMinutesSeconds
{
public enum OutputMode
{
DMS,
DecimalDegrees
}
private Regex dmsRegex = new Regex(
"\r\n(?<Sign>-?)\r\n(?<Degrees>\\d+)\r... |
#load "../../Stubs/RTDX.csx"
using System;
using SkyEditor.RomEditor.Infrastructure.Automation.Modpacks;
using SkyEditor.RomEditor.Domain.Rtdx.Constants;
using SkyEditor.RomEditor.Domain.Rtdx.Structures;
if (Mod == null)
{
throw new InvalidOperationException("Script must be run in the context of a mod");
}
var ... |
using Blauhaus.Common.ValueObjects.DeviceType;
using Blauhaus.Common.ValueObjects.RuntimePlatforms;
namespace Blauhaus.DeviceServices.Abstractions.DeviceInfo
{
public interface IDeviceInfoService
{
IDeviceType Type { get; }
IRuntimePlatform Platform { get; }
string OperatingSystemVersi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class job_status : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
} |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Runtime.InteropServices;
using System.Text;
using Silk.NET.Core.Native;
using Ultz.SuperInvoke;
#pragma warning disable 1591
namespace S... |
using System;
namespace Spectre.Query.Tests.Infrastructure
{
public static class TestQueryRunnerResultExtensions
{
public static void ShouldContainEntities(this TestQueryRunnerResult result, params int[] expected)
{
// Expected number of items?
if (expected.Length != re... |
using System;
using System.IO;
using System.Threading.Tasks;
namespace Elasticsearch.Net
{
public class ResponseBuilder<TReturn>
where TReturn : class
{
private const int BufferSize = 81920;
private static readonly VoidResponse Void = new VoidResponse();
private static readonly IDisposable EmptyDisposable ... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
using FFXIITataruHelper.EventArguments;
using FFXIITataruHelper.Utils;
using System;
using System.Windows;
using System.Windows.Interop;
namespace FFX... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text.Json.Serialization;
[assembly: InternalsVisibleTo("CocApi.Cache")]
namespace CocApi.Rest.Models
{
public partial class ClanWar : IEquatable<ClanWar?>
{
public static bool IsSameWa... |
/*
MTD OrderMaker - http://ordermaker.org
Copyright (c) 2019 Oleg Bruev <job4bruev@gmail.com>. All rights reserved.
*/
using Mtd.OrderMaker.Server.Entity;
namespace Mtd.OrderMaker.Server.Models.Index
{
public class CellModelView
{
public MtdStoreStack MtdStoreStack { get; set; }
}
} |
@using Microsoft.AspNetCore.Identity
@using VOD.Admin.Areas.Identity
@using VOD.Common.Entities
@namespace VOD.Admin.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
/* ====================================================================
Copyright (C) 2015 Procom Data Services Inc.
This file is part of the TownSuite DataMigrator Tool.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Y... |
/* Poly2Tri
* Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code m... |
// SF API version v41.0
// Custom fields included: False
// Relationship objects included: True
using System;
using NetCoreForce.Client.Models;
using NetCoreForce.Client.Attributes;
using Newtonsoft.Json;
namespace NetCoreForce.Models
{
///<summary>
/// User Provisioning Config
///<para>SObject Name: UserProvision... |
using UnityEngine;
namespace Ninito.UsualSuspects.AudioCue
{
/// <summary>
/// A collection of audio clips with configurable settings
/// </summary>
[CreateAssetMenu(order = CreateAssetMenus.AudioCueOrder, fileName = CreateAssetMenus.AudioCueFileName,
menuName = CreateAssetMenus.AudioCueMe... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Gapotchenko.FX.Math.Topology
{
/// <summary>
/// Extensions for <see cref="GraphEdge{TVertex}"/> struct.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static class GraphEdgeExtensions
{... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
//------------------------------------------------------------------------------
// <copyright file="ToolStripButton.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------... |
using BookShop.Data.Models.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace BookShop.Data.Models
{
public class Book
{
// • Id - integer, Primary Key
public int Id { get; set; }
//• Name - text with length[... |
using Microsoft.EntityFrameworkCore;
using ow.Framework;
using ow.Framework.Database.Accounts;
using ow.Framework.Database.Characters;
using ow.Framework.Database.Storages;
using ow.Framework.Game.Enums;
using ow.Framework.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Li... |
using Novell.Directory.Ldap.Sasl;
using Novell.Directory.Ldap.Sasl.Clients;
using System.Collections;
using System.Linq;
using Xunit;
namespace Novell.Directory.Ldap.NETStandard.UnitTests
{
public class SaslClientFactoryTests
{
[Fact]
public void CramMd5_CreatesCramMD5Client()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Collections.ObjectModel;
using AppWPF.Model;
using System.Windows.Input;
using System.Windows;
using System.Data.Entity;
namespace AppWPF.ModelView
{
enum A... |
using Cimbalino.Phone.Toolkit.Services;
namespace PedroLamas.OtherSide.Model
{
public class SettingsModel : ISettingsModel
{
private readonly IApplicationSettingsService _applicationSettingsService;
#region Properties
public bool AllowLocationAccess
{
get
... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Default_WebApplication_MVC_ScaffoldIdentity_V31.Data.Migrations
{
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Cpln.Enigmos.Enigmas
{
class OpenDoorEnigmaPanel : EnigmaPanel
{
private Timer Timer = new Timer();
private Panel pnl... |
using OWML.ModHelper.Events;
using UnityEngine;
namespace NomaiVR
{
internal class HoldMallowStick : NomaiVRModule<HoldMallowStick.Behaviour, HoldMallowStick.Behaviour.Patch>
{
protected override bool IsPersistent => false;
protected override OWScene[] Scenes => PlayableScenes;
public... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using Foundation;
namespace MauiApp._1;
[Register("AppDelegate")]
public class AppDelegate : MauiUIApplicationDelegate
{
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Quit : MonoBehaviour
{
// Start is called before the first frame update
public void doquit()
{
Debug.Log("quitting");
Application.Quit();
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace Blazor.IndexedDB.Framework
{
public class IndexedSet<T> : IEnumerable<T> where T : new()
{
/// <summary>
/// The internal stored items
... |
using System;
namespace MovieInfo.MVC.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} |
namespace Nancy.ViewEngines.DotLiquid
{
using liquid = global::DotLiquid;
public class LiquidNancyFileSystem : liquid.FileSystems.LocalFileSystem
{
public LiquidNancyFileSystem(string root) : base(root)
{
}
public new virtual string ReadTemplateFile(liquid.Context cont... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("StandAloneReactivePort")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[a... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using NUnit.Framework;
namespace Ballance.Retry.Tests
{
[TestFixture]
public class FibonacciRetryTests
{
[Test]
public void ShouldRunBaseCase_WhenCalledW... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Cha... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
namespace Tests
{
public class JumpControlerTests : TestTools.BaseTestClass
{
private class TriggersMock : MonoBehaviour, IEnumerable<Collider>
{
public List<Collider> colliders ... |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.boss.fnc.gfsettleprod.invoicerelate.create
/// </summary>
public class AlipayBossFncGfsettleprodInvoicerelateCreateRequest : IAopRequest<AlipayBoss... |
namespace Ceras
{
using System;
using System.Collections.Generic;
using System.Reflection;
using Helpers;
/*
* Sorting by memberType first gives us improved performance
* - We're immune to the crazy reordering of members that all C# compilers sometimes do for no (obvious) reason.
* - Better cache coherency... |
// <copyright file="EmailControlTestsInternetExplorer.cs" company="Automate The Planet Ltd.">
// Copyright 2020 Automate The Planet Ltd.
// 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... |
namespace ShoppingCartStore.Models
{
public class Cart : BaseModel
{
public Cart()
{
}
public string CustomerId { get; set; }
public Customer Customer { get; set; }
}
} |
using System;
namespace ChiisanaIroiro.Constant {
public sealed class NumberType {
public const String ProcessId = "number.type.processid";
public const String RandomNumber = "number.type.randomno";
public const String RandomHex = "number.type.randomhex";
public const String Random... |
using System;
using System.Collections.Generic;
namespace ParkingSystem.Models
{
public partial class Car
{
public string Registration { get; set; } = null!;
public TimeSpan? RegisteredTime { get; set; }
}
} |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System.Reflection;
us... |
using System.Collections.Generic;
using System.Data;
using SqlConnection = System.Data.SqlClient.SqlConnection;
using SqlCommand = System.Data.SqlClient.SqlCommand;
using SqlDataAdapter = System.Data.SqlClient.SqlDataAdapter;
using SqlDataReader = System.Data.SqlClient.SqlDataReader;
using System.Runtime.CompilerServi... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Framework.Runtime
{
public class ProjectMetadata
{
public ProjectMetadata(Project project, ILibraryExport projectExport)
{
// Get the metadata reference for this project
var projectRe... |
@inject SignInManager<ApplicationUser> SignInManager
@inject UserManager<ApplicationUser> UserManager
@using Microsoft.Extensions.Options
@using Microsoft.AspNetCore.Http.Features
@inject IOptions<ConfigOptions> ConfigOptions
@{
var title = string.IsNullOrWhiteSpace(ViewData["Title"]?.ToString()) ? Constants.Def... |
@{
BlogModel blog = this.ViewBag.Blog;
BlogNeighbour blogNeighbour = this.ViewBag.BlogNeighbour;
ViewBag.Title = blog.Title;
}
@section ScriptAndStyle{
<link href="/Content/editormd/css/editormd.min.css" rel="stylesheet" />
<script type="text/javascript" src="/Content/editormd/lib/prettify.min.js... |
#pragma checksum "..\..\..\View\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "EA846AD9C7F1B8DCCD7C5FCDB0E8E86AC576ED7E"
//------------------------------------------------------------------------------
// <auto-generated>
// O código foi gerado por uma ferramenta.
// Versão de Tempo de Execução:4.0.... |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
// These are the assembly properties for all tools
[assembly: AssemblyCompany( "Epic Games, Inc." )]
[assembly: AssemblyProduct( "UE4" )]
[assembly: AssemblyCopyright( "... |
// =============================
// Email: enquiries@espire.com
// www.espire.com
// =============================
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AspnetCoreAngularVanila.ViewModels
{
public cla... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Runtime.CompilerServic... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bombak
{
abstract class Entity
{
public PointF position;
protected SizeF size;
protected Color color;
protected RectangleF rect;
... |
namespace Element
{
using System;
using System.Collections.Generic;
/// <summary>
/// 2-arity expression, i.e. f(a, b) = expr
/// </summary>
public class Binary : Expression
{
public enum Op
{
Add,
Sub,
Mul,
Div,
Rem,
Pow,
Min,
Max,
Log,
Atan2,
}
public static float Evalua... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Data;
using Caliburn.Micro;
using Noise.Infrastructure;
using Noise.Infrastructure.Dto;
using Noise.Infrastructure.Interfaces;
using Noise.UI.Adapters;
using Noise.UI.Interfaces;
using Noise.UI.Logging;... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using EncryptionSyncFolder.ViewModel;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Con... |
using System;
using System.Collections.Generic;
using System.Text;
using GuiLabs.Utils;
using GuiLabs.Canvas.Controls;
namespace GuiLabs.Editor.UI
{
public static class VisibilityConditions
{
}
public class EmptyTextCondition : ICondition
{
public EmptyTextCondition(ITextProvider provider)
{
Provider =... |
namespace CefGlue.Interop
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
/// <summary>
/// Class representing window information.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = NativeMethods.C... |
// -----------------------------------------------------------------------
// <copyright file="IContext.cs" company="Asynkron AB">
// Copyright (C) 2015-2020 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
// ReSharper disable once Che... |
using System.Data;
using System.Collections.Generic;
using Prism.Events;
using Prism.Commands;
using KEI.Infrastructure;
using KEI.Infrastructure.Prism;
using KEI.Infrastructure.Screen;
using KEI.Infrastructure.Events;
using KEI.Infrastructure.Database;
using KEI.UI.Wpf.Hotkey;
using Application.Core;
using Applicatio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.