content stringlengths 23 1.05M |
|---|
using System;
using Newtonsoft.Json;
namespace DogHouseApi.Models
{
public class PageDataDto
{
public int Number { get; private set; }
public int Size { get; private set; }
[JsonIgnore]
public int PerPage { get; private set; }
public int TotalPages { get; private se... |
using System;
using System.Collections.Generic;
using System.Text;
using NativeView = Microsoft.UI.Xaml.FrameworkElement;
using Microsoft.Maui.Controls.Compatibility.Platform.UWP;
using Microsoft.Maui.Graphics;
namespace Microsoft.Maui.Controls.Compatibility
{
public partial class RendererToHandlerShim
{
pr... |
using System;
using Microsoft.Extensions.Logging;
using NBitcoin;
using UnnamedCoin.Bitcoin.Consensus;
using UnnamedCoin.Bitcoin.Consensus.Rules;
namespace UnnamedCoin.Bitcoin.Features.Consensus.Rules.CommonRules
{
/// <summary>
/// A rule that will validate the signature of a PoS block.
/// </summary... |
using Jets.Infrastructure;
using Microsoft.AspNetCore.Mvc;
namespace WebAPISample.Controllers
{
[Route("api/jets")]
[ApiController]
public class JetsController : ControllerBase
{
private IJetsDataAccess _jetsDA;
public JetsController(IJetsDataAccess jetsDA)
{
_jets... |
namespace SciHub.Web.Areas.Book.Controllers
{
using System.Linq;
using System.Web.Mvc;
using Common.Constants;
using Infrastructure.Mapping;
using Microsoft.AspNet.Identity;
using Services.Data.Contracts;
using SciHub.Services.Data.Contracts.Comment;
using ViewModels.Books;
using Sc... |
using Nancy.Hosting.Self;
using System;
namespace Infocode.Nancy.Metadata.OpenApi.DemoApplication.net45
{
public class Program
{
private static void Main()
{
string url = "http://localhost:5000";
//var hostConfigs = new HostConfiguration()
//{
/... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
public partial class User_Controls_Req... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(InputField))]
public class RoomNameInputField : MonoBehaviour
{
[HideInInspector] public string roomName;
public InputField inputField;
void Start()
{
room... |
using System.Reflection;
using UnityEngine;
namespace UnityEditor.ShaderGraph
{
[Title("UV", "Polar Coordinates")]
class PolarCoordinatesNode : CodeFunctionNode
{
public PolarCoordinatesNode()
{
name = "Polar Coordinates";
}
protected override MethodInfo GetFunc... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AbilityBar : MonoBehaviour
{
[SerializeField]
private RectTransform abilityBar;
[SerializeField]
private AbilityButton abilityButtonPrefab;
[SerializeField]
private Queue<AbilityButton> abP... |
using Assets.Scripts.Action.Core;
using Assets.Scripts.Tools.Component;
using ParadoxNotion.Design;
using System;
using UnityEngine;
namespace Assets.Scripts.Action
{
[Category("obsolete/Camera"), Name("Rotate Camera self")]
public class CameraRotateSelfAction : DevisableAction
{
public Vector3 Rotate;
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AspNetCoreRateLimit;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
namespace REST.API.Controllers.V1
{
/// <summary>
/// https://codeburst.io/rate-limiting-api-endpoints-in-asp-net-core... |
using Disqus.Core.Helpers;
namespace Disqus.Core.Authentication
{
public enum DisqusAuthenticationType
{
[ArgumentValue("access_token")]
OAuth,
[ArgumentValue("remote_auth")]
RemoteAuth,
}
} |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XamUI.ViewModels.About;
namespace XamUI.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class AboutShrinkHeaderPage : ContentPage
{
private AboutPageViewModel viewModel;
public AboutS... |
// 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
//
// THIS CODE IS PROVIDED *... |
namespace ArcticCodeReview
{
partial class ReviewMessageDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
<link href="~/Content/plugins/toastr/toastr.css" rel="stylesheet" />
<script src="~/Content/plugins/toastr/toastr.js"></script>
<script>
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": true,
"progressBar": false,
"positionClass": "toast-bottom-right",... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Tmds.DBus.Tests
{
public class ConnectionTests
{
[Fact]
public async Task Method()
{
var connections = await PairedConnection.Creat... |
using Blazor.FlexGrid.DataSet;
using Blazor.FlexGrid.Permission;
using Microsoft.Extensions.Logging;
using System;
namespace Blazor.FlexGrid.Components.Renderers
{
public class GridBodySimpleRenderer : GridCompositeRenderer
{
private readonly ILogger<GridBodySimpleRenderer> logger;
public Gri... |
namespace JakePerry.Unity.ScriptableData
{
public static class Constants
{
public const string kPluginVersion = "1.0.0.0";
public const string kPackageName = "ScriptableData";
public const string kPackageAuthor = "Jake Perry";
}
}
|
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
#if !NETCOREAPP1_0
namespace Aqua.Tests.Serialization
{
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
public static class BinarySerializationHelper
{
pub... |
using System;
using System.Globalization;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Moq;
using UrbanSolution.Data;
using UrbanSolution.Models;
using UrbanSolution.Services.Implementations;
using UrbanSolution.Services.Tests.Mocks;
using Xunit;
namespace UrbanSolution... |
using DeftPack.TestAutomation.Selenium.PageObjects.MetaInformation;
using OpenQA.Selenium;
namespace DeftPack.TestAutomation.Selenium.PageObjects.Elements
{
/// <summary>
/// HTML: textarea and input [url, text, search, password, email]
/// </summary>
[HtmlTag("textarea")]
[HtmlInput(InputTypes.Ur... |
using System;
using ScooterBear.GTD.Application.UserProject;
namespace ScooterBear.GTD.AWS.DynamoDb.Projects
{
public class ReadOnlyProject : IProject
{
public ReadOnlyProject(string id, string userId, string name, int count, bool isDeleted, int countOverDue,
int versionNumber, DateTime da... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using EncompassREST.Exceptions;
namespace EncompassREST
{
public class Session
{
private readonly string _clientId;
private readonly string _clientSecret;
private readonly string _instanceId;
... |
namespace Fluxera.Extensions.Hosting.Modules.Persistence
{
using JetBrains.Annotations;
/// <summary>
/// A class containing the supported repository providers.
/// </summary>
[PublicAPI]
public static class RepositoryProviderNames
{
/// <summary>
/// The in-memory repository provider.
/// </summ... |
namespace HotChocolate.Language.Utilities
{
public interface ISyntaxWriter
{
void Indent();
void Unindent();
void Write(char c);
void Write(string s);
void WriteLine(bool condition = true);
void WriteSpace(bool condition = true);
void WriteIndent(boo... |
using FubuCore.Descriptions;
namespace FubuMVC.Core.Runtime.Conditionals
{
[Title("Never")]
public class Never : IConditional
{
public bool ShouldExecute(IFubuRequestContext context)
{
return false;
}
}
} |
using Microsoft.Extensions.DependencyInjection;
using MongoDB.Driver;
using Stock.Infrastructure.Database.Abstractions;
using Stock.Infrastructure.Database.MongoDb.Repositories;
using Stock.Infrastructure.Database.MongoDb.Settings;
namespace Stock.Infrastructure.Database.MongoDb
{
/// <summary>
/// Extension ... |
namespace HalftoneFx
{
public struct Range<T>
{
public Range(T min, T max)
{
this.MinValue = min;
this.MaxValue = max;
}
public T MinValue { get; set; }
public T MaxValue { get; set; }
}
}
|
using System;
using System.Threading.Tasks;
namespace Zwyssigly.Functional
{
public static class OptionTaskExtensions
{
public static async Task<Option<TResult>> AndThenAsync<T, TResult>(
this Task<Option<T>> self, Func<T, Task<Option<TResult>>> onSome)
{
var option = a... |
using System;
using System.Net;
namespace RedisTribute.Io.Net
{
interface IServerEndpointFactory
{
Uri EndpointIdentifier { get; }
EndPoint CreateEndpoint();
}
} |
using System.Linq;
namespace Site.Areas.Admin.Models
{
public interface ITitleOfPageRepository
{
IQueryable<TitleOfPage> TitleOfPages { get; }
//void AddTitleOfPage(TitleOfPage titleOfPage);
}
}
|
// <copyright file="TableStorageOperations.cs" company="3M">
// Copyright (c) 3M. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Cosmos.Table;
namespace Mmm.Iot.Functions.DeploymentSync... |
namespace Lopla.Tests.Libs
{
using Language.Binary;
using Language.Compiler.Mnemonics;
using Language.Processing;
using Lopla.Libs;
using Xunit;
public class IOSpecs
{
public void Aaaaa()
{
var sut = new IO();
sut.Write(new ValueNumber(new Number((de... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace Nether.Ingest
{
/// <summary>
/// Enables reading of results from arbitrary sources.
/// </summary>
public... |
using AventStack.ExtentReports.Gherkin.Model;
using NUnit.Framework;
namespace AventStack.ExtentReports.Tests.APITests
{
[TestFixture]
public class BddLevelsTests : Base
{
[Test]
public void VerifyLevelsUsingGherkinKeyword()
{
var feature = _extent.CreateTest(TestContex... |
using EasyAbp.EShop.Orders.Orders;
using Volo.Abp.EventBus.Distributed;
namespace EasyAbp.EShop.Products.Products
{
public interface IOrderPaidEventHandler : IDistributedEventHandler<OrderPaidEto>
{
}
} |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ShittyLINQ;
using ShittyTests.TestHelpers;
namespace ShittyTests
{
[TestClass]
public class ToLookupTests
{
[TestMethod]
public void ToLookup_Numbers()
{
IEnumerable<int> numbers = new int[] { 1, 2, 3, 4, 5, 6, 7, ... |
//Code began with and then was modifed from Vassili Kaplan's CSCS.
//https://msdn.microsoft.com/en-us/magazine/mt632273.aspx
namespace CombatScript
{
public class Constants
{
public const char START_ARG = '(';
public const char END_ARG = ')';
public const char END_LINE = '\n';
... |
namespace Sitecore.Feature.Accounts.Services
{
using System;
using System.Web;
using Sitecore.Foundation.DependencyInjection;
using Sitecore.Foundation.SitecoreExtensions.Extensions;
[Service(typeof(IGetRedirectUrlService))]
public class GetRedirectUrlService : IGetRedirectUrlService
... |
using System;
using Xunit;
using Xunit.Abstractions;
namespace UnitTestCourse.Test
{
/*
Output
*/
public class TransactionTestV7
{
readonly ITestOutputHelper _output;
public TransactionTestV7(ITestOutputHelper output)
{
_output = output;
... |
namespace RemoteService.Model
{
public class Config
{
public string Server { get; set; }
public string Domain { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string Query { get; set; }
public string AutoStart { get; ... |
using System;
using Bridge;
namespace Bridge.Html5
{
/// <summary>
///
/// </summary>
[Ignore]
[Name("XMLHttpRequestUpload")]
public class XMLHttpRequestUpload : XMLHttpRequestEventTarget
{
internal XMLHttpRequestUpload ()
{
}
}
}
|
using System;
using TrueCraft.API.Logic;
using TrueCraft.API.Windows;
using TrueCraft.API;
using NUnit.Framework;
using TrueCraft.Core.Windows;
using Moq;
namespace TrueCraft.Core.Test.Windows
{
[TestFixture]
public class CraftingWindowAreaTest
{
[Test]
public void TestCraftingWindowArea()... |
using System;
using Equinor.ProCoSys.IPO.Domain.AggregateModels.PersonAggregate;
using Equinor.ProCoSys.IPO.Domain.Audit;
using Equinor.ProCoSys.IPO.Domain.Time;
namespace Equinor.ProCoSys.IPO.Domain.AggregateModels.InvitationAggregate
{
public class Participant : PlantEntityBase, ICreationAuditable, IModificatio... |
using System;
using System.ServiceModel;
namespace Sample.Services
{
[ServiceContract()]
public interface IService91
{
[OperationContract]
[FaultContract(typeof(Byte[]))]
int M001_91(int num);
[OperationContract]
[FaultContract(typeof(Byte[]))]
int M002_91(int... |
using UnityEngine;
namespace Inputs.TouchHandlers
{
public interface ITouchDragHandler
{
void OnStartDrag(Vector3 position);
void OnDrag(Vector3 position);
void OnEndDrag();
// For the end drag, use the ITouchUpHandler.
}
} |
using UnityEngine;
using System.Collections;
#if (UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5)
public class AnalogWrite : Uniduino.Examples.AnalogWrite { } // for unity 3.x
#endif
namespace Uniduino.Examples
{
public class AnalogWrite : MonoBehaviour {
public Ardu... |
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace CSETWebCore... |
#region Header Block
// About this Program
//
// Programmer: Jacob Brookhouse
// Class: CITP 280 - 70591
// Application: KeyBit ID - Password Manager
// Description: KeyBit ID is a password manager that allows a user to save sensitive
// information, such as passwords and acc... |
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Page
{
[CommandResponse(ProtocolName.Page.AddScriptToEvaluateOnLoad)]
public class AddScriptToEvaluateOnLoadCommandResponse
{
/// <summary>
/// Gets or sets Identifier of the ad... |
using AutoMapper;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Sample.Framework.Common.ServiceProvider;
using Sample.ServiceBus.Contract;
using Sample.UserManagement.Configuration;
using Sample.UserManagement.Controllers;
using Sample.UserManagement.Service.Repository;
using Sample.UserManagement.S... |
using System.Collections.Generic;
namespace CustomTypes.OnlineShop.Part3
{
public interface IOnlineShop
{
bool Checkout(Dictionary<string, decimal> basket);
}
} |
using System;
namespace ddd.DomainService
{
class UserService
{
public UserService() { }
public bool Exists(User user)
{
return true;
}
}
}
|
namespace Ryujinx.Graphics.Shader.Decoders
{
enum ImageDimensions
{
Image1D,
ImageBuffer,
Image1DArray,
Image2D,
Image2DArray,
Image3D
}
} |
@{
ViewData["Title"] = "Images Page";
}
@section Scripts{
<script src="/js/images.js"></script>
}
@section Styles {
<style>
/* body{margin: 10px;} */
.flow-default li{
width:16%;
float:left;
padding:2%;
}
.flow-default li img{
width:100%;
}
</style>
}
<fieldset... |
// <snippet1>
using System;
using System.ServiceModel;
[ServiceContract]
public interface IHttpFetcher
{
[OperationContract]
string GetWebPage(string address);
}
//<snippet6>
// These classes have the invariant that:
// this.slow.GetWebPage(this.cachedAddress) == this.cachedWebPage.
// When you read cached v... |
/*
* @(#)Unit.cs 4.1.0 2017-05-14
*
* You may use this software under the condition of "Simplified BSD License"
*
* Copyright 2010-2019 MARIUSZ GROMADA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CooldownRefresh : MonoBehaviour
{
public GameObject LocalPlayer;
public PowerUpsHud playerscript;
void Start()
{
gameObject.GetComponent<ParticleSystem>().startColor = Color.green;
}
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace Odco.PointOfSales.Application.Finance.Payments.PaymentTypes
{
public class ChequeDto
{
[StringLength(25)]
public string ChequeNumber { get; set; }
public Guid BankId { get; set; }
[StringLength(100)]
... |
namespace CsvHelper.Excel.Specs.Parser
{
public class ParseUsingPathSpec : ExcelParserSpec
{
public ParseUsingPathSpec() : base("parse_by_path")
{
using var parser = new ExcelParser(Path);
Run(parser);
}
}
} |
using System.Runtime.InteropServices;
namespace Corsair.Native
{
// ReSharper disable once InconsistentNaming
/// <summary>
/// CUE-SDK: contains information about led and its color
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public class CorsairLedColor
{
/// <summary... |
using System.Linq;
using CHC.Consent.EFCore.Consent;
using CHC.Consent.EFCore.Entities;
namespace CHC.Consent.EFCore.Identity
{
public class HasConsentForStudyCriteria : ICriteria<PersonEntity>
{
private readonly long studyId;
/// <inheritdoc />
public HasConsentForStudyCriteria(long s... |
using System;
using System.Collections.Generic;
using System.Text;
using Zoo.Interfaces;
namespace Zoo.Classes
{
public class Lizard : RepHasLegs, ICanAlsoFly
{
public bool ChangesColor { get; set; } = true;
public override bool NeedsOxy { get; set; } = true;
/// <summary>
//... |
/* Copyright (c) 2019 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,... |
using System;
namespace RockPaperScissors.ApiModels
{
public class GameStateModel
{
public Guid GameId { get; set; }
public string CurrentPlayer { get; set; }
public string Opponent { get; set; }
public string Winner { get; set; }
public bool GameFinished { get; set;... |
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
using Models.Common;
using Models.WebApplicationModels.CommonModels;
using Newtonsoft.Json;
using Services.UserServices.Interfaces;
using System;
using System.Collections.G... |
////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2013 by Rob Jellinghaus. //
// Licensed under the Microsoft Public License (MS-PL). //
////////////////////////////////////////////////////////////////////////
using Holofunk.SceneGraphs... |
using System.Collections.Generic;
namespace MTGAHelper.Web.UI.Model.Response.Dto
{
public class DeckDto
{
public string OriginalDeckId { get; set; }
public string Id { get; set; }
public uint Hash { get; set; }
public string Name { get; set; }
public string Url { get; s... |
using System.Runtime.Serialization;
namespace Lykke.Service.EthereumSamurai.Responses
{
[DataContract]
public class BalanceResponse
{
[DataMember(Name = "amount")]
public string Amount { get; set; }
}
} |
using System;
using System.Buffers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using MirrorSharp.Internal.Handlers.Shared;
using MirrorSharp.Internal.Results;
namespace MirrorSharp.Internal.Handlers {
internal class ReplaceTextHandler : ICommandHandler {
public char ... |
using SceneKit;
using UIKit;
namespace ARKitFun.Nodes
{
public class TextNode : SCNNode
{
public TextNode(string text, float extrusionDepth, UIColor color)
{
SCNNode node = new SCNNode
{
Geometry = CreateGeometry(text, extrusionDepth, color)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Profanity.API.Helper
{
public struct EndPoints
{
public const string CheckProfanity = "check-text-for-profanity";
public const string AddWordToProfanity = "add-text-to-profanity";
... |
using System;
using System.Collections.Generic;
namespace NTC.Global.System
{
public static class SimpleExt
{
public static bool IsNull<T>(this List<T> list) => list.Count == 0;
public static bool IsNull<T>(this HashSet<T> hashSet) => hashSet.Count == 0;
public static bool IsNull<T>(th... |
// Copyright 2020 Google 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/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
namespace NumericPolicies
{
public interface INumericPolicy<T>
{
T FromInt64(long v);
T Add(T a, T b);
T Substract(T a, T b);
T Multiply(T a, T b);
T Div(T a, T b);
}
}
|
namespace piper.cli.Persistence
{
public class Snippet
{
public string Name { get; set; }
public string Html { get; set; }
}
} |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public static GameManager instance;
public static Dictionary<int, PlayerManager> players = new Dictionary<int, PlayerManager>();
public GameObject rotatingPlatform;
public GameObjec... |
////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 14.05.2018.
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Globalization;
using System.Data;
... |
//---------------------------------------------------------------------
// <copyright file="QueryBinaryOperation.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------------------... |
using System;
namespace WarframeStatService.Entity.Interface
{
public interface IActivatable
{
DateTime Activation { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace paa5
{
class ClauseReader
{
private string path;
private readonly IList<string> files;
private StreamReader fileContent;
private StreamWriter outputFile;
private double clauseToFormulaRatio;
private int clauseC... |
using System.Diagnostics.Tracing;
namespace Thundershock.Core.Rendering
{
/// <summary>
/// Defines the format of the depth buffer when creating a <see cref="RenderTarget"/>.
/// </summary>
public enum DepthFormat
{
/// <summary>
/// No depth buffer is created.
/// </summar... |
using System;
using System.Diagnostics;
using System.Net.Mail;
using System.Threading.Tasks;
using EmailModule;
namespace Resgrid.Providers.EmailProvider
{
public class SmtpClientWrapper : ISmtpClient
{
private SmtpClient realClient;
private bool disposed;
public SmtpClientWrapper(SmtpClient realClient)
{
... |
namespace Com.CompanyName.OnlineShop.ComponentLibrary.Migrations
{
using System.Data.Entity.Migrations;
public partial class initial : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.CartItems",
c => new
{
... |
using System;
namespace ConoHaDNS.Models
{
internal class RecordInfo
{
public DateTime created_at { get; set; }
public string data { get; set; }
public object description { get; set; }
public string domain_id { get; set; }
public object gslb_check { get; set; }
... |
namespace Standard
{
public enum OLECMDID
{
OPEN = 1,
NEW,
SAVE,
SAVEAS,
SAVECOPYAS,
PRINT,
PRINTPREVIEW,
PAGESETUP,
SPELL,
PROPERTIES,
CUT,
COPY,
PASTE,
PASTESPECIAL,
UNDO,
REDO,
... |
using System.Collections.Generic;
namespace Roler.Toolkit.File.Epub.Entity
{
public class NavOl
{
public string Id { get; set; }
public bool IsHidden { get; set; }
public IList<NavLi> Items { get; } = new List<NavLi>();
}
}
|
using System;
[Serializable]
public class GD_Misc
{
public int m_arthStarId;
public int m_arthPlanetId;
public int m_enduriumElementId;
public int m_artifactAnalysisPrice;
public int m_baseShipMass;
public int m_baseShipVolume;
public int m_cargoPodBuyPrice;
public int m_cargoPodSellPrice;
public int m_... |
namespace Plus.Communication.Packets.Outgoing.Inventory.Trading
{
internal class TradingStartComposer : ServerPacket
{
public TradingStartComposer(int user1Id, int user2Id)
: base(ServerPacketHeader.TradingStartMessageComposer)
{
WriteInteger(user1Id);
WriteI... |
using ImagePipeline.Memory;
using ImagePipeline.Testing;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using System;
using Windows.Graphics.Imaging;
namespace ImagePipeline.Tests.Memory
{
/// <summary>
/// Basic tests for BitmapCounter
/// </summary>
[TestClass]
public class Bitmap... |
using System.Threading.Tasks;
using NUnit.Framework;
using HADotNet.Core;
using HADotNet.Core.Clients;
using HADotNet.Entities.Models;
using HADotNet.Entities.Tests.Infrastructure;
namespace HADotNet.Entities.Tests.Models
{
public class ClimateTest
{
private const string MY_CLIMATE = "my_climate";
... |
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.Expressions
{
using Aqua.TypeSystem;
using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;
[Serializable]
[DataContract]
[Kno... |
using System.Collections.Generic;
namespace StrategyWithAbstractClass.Sort
{
public abstract class SortStrategy
{
public override string ToString()
{
return this.GetType().Name;
}
public abstract void Sort(List<string> list);
}
}
|
using Laser.Orchard.StartupConfig.Models;
using Laser.Orchard.StartupConfig.Settings;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData.Models;
using Orchard.CustomForms.Services;
using Orchard.Environment.Extensions;
using System;
namespace Laser.Orchard.StartupConfig.Services {
[OrchardF... |
using System.Collections.Generic;
namespace SilupostWeb.Data.Core
{
public interface IRepository<T>
{
List<T> GetAll();
T Find(string id);
string Add(T model);
bool Remove(string id);
bool Update(T model);
}
}
|
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Palantir.Homatic
{
public record ChannelInformation
{
public string Address { get; init; }
public int AesActive { get; init; }
public string AvailableFirmware { get; init; }
public object Child... |
using System;
using System.Collections.Generic;
using System.Text;
using kkde.screen.control;
using System.Drawing;
using System.Xml;
namespace kkde.screen
{
/// <summary>
/// スクリーンコントロール用インターフェース
/// </summary>
public interface IScreenControl
{
/// <summary>
/// パラメーターの取得(プロパティエディタに表示するプロパティ)
/// </summar... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using SWATProject.Models;
namespace SWATProject.Interfaces
{
public interface IRestInterface
{
Task<bool> RegisterUser(string email, string password, string confirmPassword);
Task<TokenResponse> GetToken(string emai... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.