text stringlengths 1 932k |
|---|
using Robust.Shared.GameObjects;
namespace Content.Server.Security
{
[RegisterComponent]
public class DeployableBarrierComponent : Component
{
public override string Name => "DeployableBarrier";
}
} |
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public partial class NewUnitTest
{
public static void Updateable()
{
Db.CodeFirst.InitTables(typeof(UnitUser));
Db.DbM... |
using IssueCreator.Controls;
namespace IssueCreator.Dialogs
{
partial class Preferences
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being use... |
using GitOut.Features.Diagnostics;
using GitOut.Features.IO;
namespace GitOut.Features.Git.Diagnostics
{
public class GitProcessFactory : IProcessFactory<IGitProcess>
{
private readonly IProcessTelemetryCollector telemetry;
public GitProcessFactory(
IProcessTelemetryCollector telem... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DisplayStateController.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license... |
namespace GoRogue.MapViews
{
/// <summary>
/// Similar to Viewport, but implements ISettableMapView and thus implements set functionality
/// via relative coordinates.
/// </summary>
/// <typeparam name="T">Type being exposed by MapView.</typeparam>
public class SettableViewport<T> : Viewport<T>, ISettableMapVie... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... |
@model ShoppingSystem.Models.Entity.ProductModel
@{
ViewData["Title"] = "Create Product";
}
<h1 class="display-4 mb-4">Create</h1>
@{
ViewData["Action"] = "Create";
ViewData["submitBtnHeader"] = "Create";
await Html.RenderPartialAsync("ProductCreateEditForm", Model, ViewData);
}
<div>
<a asp-ac... |
using System;
using System.Net.Mime;
using Microsoft.AspNetCore.Mvc;
namespace Crip.AspNetCore.Logging.Example.Web.Controllers
{
[Produces(MediaTypeNames.Application.Json)]
[ApiController]
[Route("api/[controller]")]
public class TestController : ControllerBase
{
[HttpGet]
public IA... |
// Copyright (c) Josef Pihrt. 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.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Diagnostics;... |
//
// System.Diagnostics.SymbolStore.ISymbolScope
//
// Author:
// Duco Fijma (duco@lorentz.xs4all.nl)
//
// (c) 2002 Duco Fijma
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated doc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FTX.SDK.Request
{
public class PostSpotMarginOffersRequest
{
public string coin { get; set; }
public float size { get; set; }
public float rate { get; set; }
... |
#if NET_4_6
using UnityEngine;
using NUnit.Framework;
using Unity.Properties.Serialization;
using Unity.Properties.Editor.Serialization;
namespace Unity.Properties.Tests.JSonSchema
{
[TestFixture]
internal class CSharpGenerationBackendTests
{
[Test]
public void WhenEmptyStringForSchema_CSh... |
using System.Web.Http;
using FlexScheduler.Tools;
namespace Web.Controllers
{
public class SchedulerController : ApiController
{
// POST: api/Scheduler
[HttpPost]
public string Post(JsonClasses.Input inputVal)
{
var schedule = JsonTools.GenerateScheduleToJson(inputV... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using UnityEditor;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.UIElements;
using UnityEngine.Serialization;
using UnityEngine.XR.Management;
[assembly: InternalsVi... |
// ---------------------------------------------------------------------------------------
// ILGPU
// Copyright (c) 2016-2020 Marcel Koester
// www.ilgpu.net
//
// File: Compare.cs
//
// This file is part of ILGPU and is ... |
namespace FxSsh.Messages.Connection
{
[Message("SSH_MSG_CHANNEL_OPEN_CONFIRMATION", MessageNumber)]
public class ChannelOpenConfirmationMessage : ConnectionServiceMessage
{
private const byte MessageNumber = 91;
public uint RecipientChannel { get; set; }
public uint SenderChannel {... |
@model ProductViewModel
<div id="C09-ProductRating" class="rating">
<ul>
<li @(Model.CustomerAverageRating >= 1 ? "class=rated" : "")><span class="glyphicon glyphicon-star"></span></li>
<li @(Model.CustomerAverageRating >= 2 ? "class=rated" : "")><span class="glyphicon glyphicon-star"></span></li>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Pause1 : MonoBehaviour
{
public GameObject Template;
public Button PauseButton;
public bool Flag = false;
public CompleteScene1 Script;
public bool so... |
using Volo.Abp.Localization;
namespace Bamboo.Sales.Localization
{
[LocalizationResourceName("Sales")]
public class SalesResource
{
}
} |
using System;
using UnityEngine;
namespace BracedFramework
{
public class ReadOnlyAttribute : PropertyAttribute
{
}
} |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
namespace System
{
internal static class TypeExtensions
{
private static readonly Dictionary<Type, string> _builtInTypeNames = new Dictionary<Type, string>
{
{ typeof(bool), "bool" },
{ typeof(byte), "byte" },
{... |
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("Ca... |
using AzRanger.Models;
using AzRanger.Models.ExchangeOnline;
namespace AzRanger.Checks.Rules
{
[RuleInfo("EXODKIM", Scope.EXO, MaturityLevel.Mature)]
[RuleScore("Not all of your Exchange Online Domains seems to have DKIM enabled", "DomainKeys Identified Mail (DKIM) helps a receiver to verify the origin of a m... |
using System;
using System.Collections.Generic;
using UnityEditor.Graphing;
using UnityEditor.ShaderGraph.Drawing.Slots;
using UnityEditor.ShaderGraph.Internal;
using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEditor.ShaderGraph
{
[Serializable]
class Vector3MaterialSlot : MaterialSlot, IMateria... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Demo
{
class Program
{
static void Main(string[] args)
{
Console.F... |
using Xamarin.Forms;
namespace MonkeyApp
{
public partial class MonkeysPage : ContentPage
{
public MonkeysPage()
{
InitializeComponent();
BindingContext = new MonkeysPageViewModel();
}
}
} |
using Catalog.API.Entities;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
namespace Catalog.API.Data
{
public class CatalogContextSeed
{
public static void SeedData(IMongoCollection<Product> productCollection)
{
bool existProduct = productCollection.Find(p =... |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
@using System.Web.Http
@using System.Web.Http.Controllers
@using System.Web.Http.Description
@using System.Collections.ObjectModel
@using Brewery.Presentation.Areas.HelpPage.Models
@model Collection<ApiDescription>
@{
ViewBag.Title = "ASP.NET Web API Help Page";
// Group APIs by controller
ILookup<HttpCon... |
using System.IO;
using HomeKookd.DataAccess.HomeKookdMainContext;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace HomeKookd.DataAccess.Migrations
{
//this factory is needed in order to carry out ef migrations
public class Hom... |
namespace MishMash.Services
{
using System.Linq;
using Contracts;
using Data;
using Models;
using Models.Enums;
public class UserService : IUserService
{
public bool IsUserExists(string username)
{
using (var db = new MishMashDbContext())
{
... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using AspnetRunBasics.Models;
using System.Threading.Tasks;
namespace AspnetRunBasics.Services
{
public interface IBasketService
{
Task<BasketModel> GetBasket(string userName);
Task<BasketModel> UpdateBasket(BasketModel model);
Task CheckoutBasket(BasketCheckoutModel model);
}
} |
using System.Runtime.Serialization;
using Service.DwhServiceBusBridge.Domain.Models;
namespace Service.DwhServiceBusBridge.Grpc.Models
{
[DataContract]
public class HelloMessage : IHelloMessage
{
[DataMember(Order = 1)]
public string Message { get; set; }
}
} |
/**
* Authored by Tomasz Piowczyk
* MIT LICENSE: https://github.com/Prastiwar/TPFrameworkUnity/blob/master/LICENSE
* Repository: https://github.com/Prastiwar/TPFrameworkUnity
*/
using System;
using System.Runtime.CompilerServices;
using UnityEditor;
namespace TP.Framework.Unity.Editor
{
public static parti... |
using System;
using System.Collections.Generic;
using System.IO;
namespace LibHac
{
[Obsolete("This class has been deprecated. LibHac.Ns.ApplicationControlProperty should be used instead.")]
public class Nacp
{
public NacpDescription[] Descriptions { get; } = new NacpDescription[0x10];
pub... |
using System;
using System.Collections.Generic;
namespace EasyAbp.EShop.Products.Products
{
public class ProductAttributeEto : IProductAttribute
{
public Guid Id { get; set; }
public string DisplayName { get; set; }
public string Description { get; set; }
pub... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/metrics.proto
// </auto-generated>
// Original file comments:
// Copyright 2015-2016 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ... |
using System.Linq;
namespace Abc.NCrafts.Quizz.Performance.Questions._006
{
[CorrectAnswer(Difficulty = Difficulty.Medium)]
public class Answer1
{
private const int _rowCount = 200;
private const int _columnCount = 50000;
private static readonly int[][] _matrix;
static Ans... |
namespace KryptonWrapLabelExamples
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
// SystemWwwFactory
using Disney.Mix.SDK.Internal;
using System.Collections.Generic;
public class SystemWwwFactory : IWwwFactory
{
public IWww Create(string url, HttpMethod method, byte[] requestBody, Dictionary<string, string> requestHeaders)
{
return new SystemWww(url, method, requestBody, requestHeaders);
}
} |
namespace ITGlobal.CommandLine.Impl
{
internal sealed class TerminalLiveProgressBarImpl : ITerminalLiveProgressBar, ILiveOutputItem
{
private readonly ILiveOutputItemOwner _owner;
private readonly IProgressBarRenderer _renderer;
private readonly object _textLock = new object();
... |
// Copyright © 2017 Chocolatey Software, Inc
// Copyright © 2011 - 2017 RealDimensions Software, LLC
//
// 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/li... |
namespace net.vieapps.Services
{
/// <summary>
/// Presents the state of a service
/// </summary>
public enum ServiceState
{
/// <summary>
/// Initializing state means the service is starting and not ready to register
/// </summary>
Initializing,
/// <summary>
/// Ready state means the service is ini... |
#region license
// Copyright 2004-2012 Castle Project, Henrik Feldt &contributors - https://github.com/castleproject
//
// 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.a... |
//------------------------------------------------------------------------------
// <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>
//--... |
#if DNXCORE50
using Raven.Abstractions.Connection;
using Raven.Client;
using Raven.Client.Document;
using Raven.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace Raven.Tests.Core
{
public class TestS... |
// 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.Win32;
using System.Runtime.InteropServices;
using System.Diagnostics.Contracts;
namespace System
{... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using MyShop.Service.Abstraction;
namespace MyShop.Middleware
{
public class AuthorizationMiddleware
{
private readonly RequestDelegate _next;
private re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lang.Data;
using Lang.Visitors;
namespace Lang.AST
{
public class TryCatchAst : Ast
{
public ScopeDeclr TryBody { get; set; }
public ScopeDeclr CatchBody { get; set; }
public TryCatchAst(ScopeD... |
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using HomeMadeFood.Data.Data;
using HomeMadeFood.Models;
using HomeMadeFood.Services.Data.Contracts;
namespace HomeMadeFood.Services.Data.UnitTests.IngredientsServiceUnitTests
{
[TestFixture]
public class GetAllIngredient... |
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: AssemblyConfigurat... |
using LPS.Utility;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
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.... |
using System;
using McMaster.Extensions.CommandLineUtils;
using System.Text.Json;
namespace Celin
{
public class JArrayCmd : OutCmd
{
[Argument(0, Description = "Key (separate multiple keys with ';'")]
protected (bool HasValue, string Parameter) Key { get; }
[Argument(1, Description = "... |
using System;
using System.Collections.Generic;
using System.Text;
using Color = System.Drawing.Color;
using System.Drawing;
namespace Fluid.Drawing.GdiPlus
{
public partial class GraphicsPlus : IDisposable
{
public static GraphicsPlus FromHDC(HDC hdc)
{
return new GraphicsPlus(hdc... |
#region Copyright
/*
--------------------------------------------------------------------------------
This source file is part of Xenocide
by Project Xenocide Team
For the latest info on Xenocide, see http://www.projectxenocide.com/
This work is licensed under the Creative Commons
Attribution-NonCommercial-ShareAl... |
// 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.
#nullable disable
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.C... |
/* Copyright 2010-2014 MongoDB 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 to in writi... |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using Avalonia.Controls.Primitives;
using Avalonia.Input;
using Avalonia.Media;
using System;
using System.D... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Jag.VictimServices.Interfaces.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// ... |
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Data.SqlClient;
using Xunit;
namespace FreeSql.Tests.Internal
{
public class UtilsTest
{
[Fact]
public void TestGetDbParamtersByObject(... |
using System.Collections.Generic;
namespace Poynt.NET.Model
{
public enum DeliveryStatus
{
SCHEDULED,
RESCHEDULED,
ERRORED_RETRYING,
DELIVERED,
ERRORED
}
} |
using System;
namespace DogAgilityCompetition.Controller.Engine
{
/// <summary />
public sealed class EliminationEventArgs : EventArgs
{
public bool IsEliminated { get; }
public EliminationEventArgs(bool isEliminated)
{
IsEliminated = isEliminated;
}
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
using System;
using System.Collections;
using System.Data;
using Approve.EntityBase;
namespace Approve.EntitySys
{
[Serializable]
public class EsObject : EBase
{
public EsObject()
{
base.m_EntityType = EntityTypeEnum.EsObject;
}
public EsObject(IDictionary dict)
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("b")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyComp... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Adnc.Core.Shared.EntityConsts.Whse
{
public static class WhseConsts
{
public const int Code_MaxLength = 32;
public const int Description_MaxLength = 64;
}
public static class ProductConts
{
pu... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace PSSwagger.LTF.Lib.UnitTests
{
using Credentials;
using Logging;
using Mocks;
using Models;
using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Abstractions;
... |
using Lucene.Net.Diagnostics;
using Lucene.Net.Search;
using Lucene.Net.Util;
using Lucene.Net.Util.Automaton;
using System;
using System.Collections.Generic;
namespace Lucene.Net.Index
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NO... |
// ------------------------------------------------------------------------------
// Copyright (c) 2014 Microsoft 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 ... |
//------------------------------------------------------------------------------
// <copyright file="XmlCodeExporter.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------... |
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("Da... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TapTrigger : MonoBehaviour {
public string label;
private TapManager manager;
private ParticleSystem liquidFlow;
private void Start()
{
manager = GetComponentInParent<TapManager>();
liquidF... |
namespace BikesBooking.Web.Controllers
{
using Microsoft.AspNetCore.Mvc;
public class BaseController : Controller
{
}
} |
using System;
namespace SFA.DAS.EmployerIncentives.Abstractions.DTOs.Queries
{
public class PaymentStatusDto
{
public decimal? PaymentAmount { get; set; }
public DateTime? PaymentDate { get; set; }
public bool LearnerMatchFound { get; set; }
public bool HasDataLock { get; set; ... |
// *** 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 InkedUI.Shared;
using Newtonsoft.Json;
namespace InkedUI.Devices.RemotableDevice
{
public class InkAction
{
public enum InkActionTypes : int
{
Unknown = 0,
Draw = 1,
Clear = 2,
Reset = 3,
Init = 4,
Ready = 5
... |
using System;
namespace PELoader
{
class ConstantLayout
{
public ElementType.EType type;
public uint parent;
public uint value;
public ConstantLayout(CLIMetadata metadata, ref int offset)
{
type = (ElementType.EType)metadata.Table.Heap[offset];
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SimpleProgressReporter.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Http... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SSIS.Models;
using SSIS.Payloads;
namespace SSIS.IService
{
public interface IRequisitionService
{
Task<ApiResponse> CreateRequisition(List<RequisitionItem> requisitionItems, string email);
T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
using Microsoft.UI.Xaml.Controls;
namespace MeasurePixels.Helpers
{
public class CanvasSizeConverter : IValueConverter
{
... |
using UnityEngine;
[CreateAssetMenu(fileName = "NewTheme", menuName = "Theme", order = 3)]
public class Theme : ScriptableObject {
public Sprite background1, background2;
public bool backgroundScrollY = true;
public Color sky = new Color(174 / 255f, 205 / 255f, 255 / 255f);
public Color fog = new Color... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Billing.Infrastructure.Persistence.Migrations
{
public partial class UpdatingFK2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Wallet... |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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
/... |
using System;
using Server.Multis;
using System.Collections.Generic;
using Server.Gumps;
namespace Server.Items
{
public class EnhancedBandage : Bandage
{
public static int HealingBonus { get { return 10; } }
public override int LabelNumber { get { return 1152441; } } // enhanced bandage
[Constructable... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Disco
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
} |
/*Problem 9. Student groups
• Create a class Student with properties FirstName , LastName , FN , Tel , Email , Marks (a List), GroupNumber .
• Create a List<Student> with sample students. Select only the students that are from group number 2.
• Use LINQ query. Order the students by FirstName.*/
namespace ... |
using System.Threading.Tasks;
using Bogus;
using GeoAPI.Geometries;
using NetTopologySuite;
using NetTopologySuite.IO;
using WesternStatesWater.WaDE.Accessors.EntityFramework;
namespace WesternStatesWater.WaDE.Tests.Helpers.ModelBuilder.EntityFramework
{
public static class NhdnetworkStatusBuilder
{
p... |
// Internal
using VDownload.Views.AddVideo;
using VDownload.Views.AddPlaylist;
using VDownload.Sources;
using VDownload.Services;
using VDownload.Objects.Enums;
// System
using System;
using Windows.ApplicationModel.Core;
using Windows.UI;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 07.12.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... |
namespace DiffEngine;
public static class ContinuousTestingDetector
{
static ContinuousTestingDetector()
{
if (AppDomain.CurrentDomain.GetAssemblies()
// ReSharper disable once ConditionIsAlwaysTrueOrFalse
.Any(a => a.FullName != null &&
a.FullName.StartsW... |
using DevExpress.ExpressApp.Model;
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace Xenial.Framework.LabelEditors.Model;
/// <summary>
///
/// </summary>
public interface IHtmlContentViewItem : IModelViewItem
{
/// <summary>
///
/// </sum... |
using System;
using EltraConnector.Master.Definitions;
namespace EltraConnector.Master.Events
{
/// <summary>
/// MasterStatusEventArgs
/// </summary>
public class MasterStatusEventArgs : EventArgs
{
/// <summary>
/// Master status
/// </summary>
public MasterStatus... |
using System.Collections;
using System.Collections.Generic;
namespace EventBus.Core.Infrastructure
{
public interface IMetaData
{
string this[string name] { get; set; }
void Set(string name, string value);
void Remove(string name);
string Get(string name);
void Contact(... |
using System;
using System.Net;
using Netronics.Channel;
using Netronics.Protocol.PacketEncoder;
namespace Netronics.Test.SocketChannelTest
{
class Server : IChannelHandler
{
private Netronics netronics;
public void Stop()
{
netronics.Stop();
}
public Serv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.