content stringlengths 23 1.05M |
|---|
/*
* 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;
using System.IO;
using System.Threading.Tasks;
using EMS.Events;
using EMS.TemplateWebHost.Customization.EventService;
using Microsoft.AspNetCore.Mvc;
using Serilog;
using Stripe;
namespace EMS.PaymentWebhook_Services.API.GraphQlQueries
{
[Route("webhook")]
[ApiController]
public class Webhoo... |
namespace RelaxAndSport.Domain.Booking.Events
{
using RelaxAndSport.Domain.Common;
public class MassageAppointmentRemovedEvent : IDomainEvent
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SaleMTCommon
{
/// <summary>
/// Created by Luannv – 08/10/2013: Thông tin user đăng nhập.
/// </summary>
public static class UserImformation
{
#region member
private static string com... |
namespace MobileDevice
{
using System;
using System.Linq;
public class GSMCallHistoryTest
{
public static void DisplayInformation()
{
double fixedPrice = 0.37;
var smartphone = new Gsm("Fancy Phone", "Bulgaria");
string separator = new string('=', 10... |
using System.Text.Json;
using Events.Ports.Commands;
using Paramore.Brighter;
namespace Events.Ports.Mappers
{
public class CompetingConsumerCommandMessageMapper : IAmAMessageMapper<CompetingConsumerCommand>
{
public Message MapToMessage(CompetingConsumerCommand request)
{
var head... |
#region License
/* Copyright 2010, 2013 James F. Bellinger <http://www.zer7.com/software/hidsharp>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all cop... |
using System.Text.RegularExpressions;
using System.Xml.Linq;
namespace SlackLogger.Core {
internal class IncludePattern {
public string PropertyName { get; set; }
public string Pattern { get; set; }
public Regex Expression { get; set; }
public IncludePattern(XElement include) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Net.Http;
using Data.Models;
using System.Text.Json;
using System.Configuration;
namespace TestAPI
{
[TestClass]
public class Sch... |
using System.ComponentModel;
using Conventional.Conventions;
namespace ZeroMVVM.Conventions
{
public class ViewModelConvention : Convention
{
public ViewModelConvention()
{
Must.HaveNameEndWith("ViewModel");
Should.Implement<INotifyPropertyChanged>();
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RecompildPOS.Resources.Constants;
using RecompildPOS.ViewModels.Products.GenerateCode;
using RecompildPOS.Views.Base;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using ZXing;
n... |
///===================================================================================================
///
/// Source https://github.com/PeterWaher/IoTGateway/tree/master/Security/Waher.Security.EllipticCurves
/// Owner https://github.com/PeterWaher
///
///==============================================================... |
namespace ExcelX.AddIn.Command
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
/// <summary>
/// 「ファイルを選択して別ウィンドウの読み取り専用で開く」コマンド
/// </summary>
public class OpenSelectWorkbookReadO... |
namespace ZazasCleaningService.Services.Data.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using ZazasCleaningService.Data;
using ZazasCleaningService.Data.Models;
using ZazasCleaningService.Services.Data.Tests.Com... |
using Autodesk.DesignScript.Geometry;
using Autodesk.DesignScript.Runtime;
using Autodesk.RefineryToolkits.SpacePlanning.Graphs;
using Dynamo.Graph.Nodes;
using System;
using System.Collections.Generic;
using System.Linq;
using DSGeom = Autodesk.DesignScript.Geometry;
using GTGeom = Autodesk.RefineryToolkits.Core.Geom... |
using UnityEngine;
using System;
using System.Collections;
[System.Serializable]
public struct SerializableVector3
{
public float x;
public float y;
public float z;
public SerializableVector3(float rX, float rY, float rZ)
{
x = rX;
y = rY;
z = rZ;
}
public override... |
using System.Reflection;
using EdjCase.JsonRpc.Router.Abstractions;
namespace EdjCase.JsonRpc.Router.Swagger.Models
{
public class UniqueMethod
{
public string UniqueUrl { get; }
public IRpcMethodInfo Info { get; }
public UniqueMethod(string uniqueUrl, IRpcMethodInfo info)
{
this.UniqueUrl = uniqueUrl;
... |
using System.Threading.Tasks;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Logging;
using SchedulerBot.Business.Entities;
using SchedulerBot.Business.Interfaces.Commands;
using SchedulerBot.Database.Interfaces;
namespace SchedulerBot.Business.Commands
{
/// <summary>
/// Basic implementation of <see cref=... |
using System;
using System.Threading.Tasks;
using Orleans.Providers;
using Orleans.SqlUtils.StorageProvider.GrainInterfaces;
namespace Orleans.SqlUtils.StorageProvider.GrainClasses
{
[StorageProvider(ProviderName = "MemoryStore")]
public class DeviceGrain : Grain<DeviceState>, IDeviceGrain
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace TestableCodeDemos.Module4.Shared
{
public class Session : ISession
{
private readonly Login _login;
public Session(Login login)
{
_login = login;
}
public Login GetLogin()
... |
namespace MicroLite.Tests.TypeConverters
{
using System;
using System.Data;
using MicroLite.TypeConverters;
using Moq;
using Xunit;
public class ObjectTypeConverterTests
{
private enum Status
{
Default = 0,
New = 1
}
public class Whe... |
using UnityEngine;
using System.Collections;
public class MusicControl : MonoBehaviour {
public AudioSource[] allSoundEffects;
public AudioSource music;
private int musicC;
private int FxSound;
// Use this for initialization
void Start () {
musicC = PlayerPrefs.GetInt("SoundGame")... |
namespace Castaway.Components
{
public interface IContainer
{
}
} |
using System;
namespace UiBinding.Conversion
{
public class DefaultConverter : IValueConverter
{
private readonly Type _source;
private readonly Type _target;
public DefaultConverter(Type source, Type target)
{
_source = source;
_target = target;
... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using DemoRestSimonas.Data.Dtos.Posts;
using DemoRestSimonas.Data.Entities;
using DemoRestSimonas.Data.Repositories;
using Microsoft.AspNetCore.Mvc;
namespace DemoRestSimonas.Controllers
{
[ApiController]
[Rou... |
using Java.Lang;
namespace Toggl.Droid.Extensions
{
public static class JavaUtils
{
public static Class ToClass<T>()
=> Class.FromType(typeof(T));
}
}
|
using AmorosRisk.Infrastructure;
using EmptyKeys.UserInterface.Controls;
using System;
using System.Collections.Generic;
using System.Text;
namespace AmorosRisk.Components.UIComponents
{
internal class UiScreenComponent
{
public UserControl WindowRoot { get; set; }
public SystemContext Context { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ZWave.Channel;
namespace Threax.Home.ZWave.Models
{
public class CommandClassReportView
{
public CommandClass Class { get; set; }
public byte NodeId { get; internal set; }
public byte... |
namespace HEF.Sql
{
public class SqlBuilderFactory : ISqlBuilderFactory
{
public ISelectSqlBuilder Select()
{
return new SelectSqlBuilder();
}
public IInsertSqlBuilder Insert()
{
return new InsertSqlBuilder();
}
public IUpdateSql... |
@{
ViewData["Title"] = "Cảnh báo truy cập";
}
<div style="margin-top:20vh;font-size:30px">
<h1 style="color:red">@ViewData["Title"]</h1>
<p style="color:red">Bạn bị chặn truy cập vào nội dung này !</p>
</div> |
// This source code was generated by ClangCaster
namespace NWindowsKits
{
// C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um/d3d11.h:10014
public enum D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS
{
_DEINTERLACE_BLEND = 0x1,
_DEINTERLACE_BOB = 0x2,
_DEINTERLACE_ADAPTI... |
using System;
using System.IO;
using System.Net;
using System.Windows.Media.Imaging;
using System.Threading;
namespace GlobalcachingApplication.Plugins.Maps.MapControl
{
public class BitmapStoreOSM : BitmapStore
{
protected override BitmapImage DownloadBitmap(Uri uri)
{
BeginDownlo... |
using System.Collections.Generic;
namespace UnityVolumeRendering
{
public enum ImageSequenceFormat
{
ImageSequence,
DICOM
}
public interface IImageSequenceFile
{
string GetFilePath();
}
public interface IImageSequenceSeries
{
IEnumerable<IImageSequence... |
// IValidateNewAccountMultipleAccountsError
using Disney.Mix.SDK;
public interface IValidateNewAccountMultipleAccountsError : IValidateNewAccountError
{
}
|
namespace WinformsControlsTest
{
partial class ToolTipTests
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using Synergy.Contracts;
namespace Synergy.Sample.Web.API.Services.Users.Domain
{
public struct Login
{
public string Value { get; }
public Login(string value) => this.Value = value.OrFailIfWhiteSpace(nameof(Login));
public override string ToString() => this.Value;
}
} |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using WebApp.Api.Contracts;
using WebApp.Api.Models;
namespace WebApp.Api.Controllers
{
[ApiController]
[Route("[controller]")]
public class MojangController : ControllerBase
{
... |
using FluentValidation;
using System.Linq;
namespace ScheduleGenerator.Shared.Validators
{
public static class CustomValidators
{
public static IRuleBuilderInitial<T, string> MatchPassword<T>(this IRuleBuilder<T, string> ruleBuilder)
{
return ruleBuilder.Custom((password, context) ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LobbyElement : MonoBehaviour
{
[SerializeField] private Text itemName;
[SerializeField] private Button _button;
public event Action<string> NeedToJoinRoom;
private void ... |
using UnityEngine;
public class CameraController : MonoBehaviour
{
//移动边框大小
public float GUISize = 25f;
//相机移动速度
public float cameraSpeed = 1f;
//相机缩放速度
public float zoomSpeed = 1f;
public float maxZoom = 100f;
public float minZoom = 15f;
// Start is called before the first frame... |
namespace Fixie
{
using System;
/// <summary>
/// A discriminated union representing the result of a single run of a test.
/// <para>Use pattern matching to inspect:</para>
/// <list type="bullet">
/// <item>Passed</item>
/// <item>Failed (Exception Reason)</item>
/// </list>
... |
//--------------------------------------------------
// Motion Framework
// Copyright©2021-2021 何冠峰
// Licensed under the MIT license
//--------------------------------------------------
using System;
using System.IO;
using System.Xml;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using Motio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TilePalette : MonoBehaviour
{
public Tile.Type paletteType;
// Start is called before the first frame update
void Start()
{
switch (paletteType)
{
case Tile.Type.Path:
... |
namespace NBASharp.Model;
public class InternalModel
{
public string PubDateTime { get; set; }
public string Xslt { get; set; }
public string EventName { get; set; }
} |
// Copyright Finbuckle LLC, Andrew White, and Contributors.
// Refer to the solution LICENSE file for more inforation.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Finbuckle.MultiTenant.Strategies;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspN... |
namespace AIBehavior
{
public class LowHealthTrigger : HealthTrigger
{
public override bool IsThresholdCrossed(AIBehaviors fsm)
{
return fsm.GetHealthValue() <= healthThreshold;
}
public override string DefaultDisplayName()
{
return "Low Health";
}
#if UNITY_EDITOR
protected override str... |
using System;
using NDarrayLib;
namespace DustLore.Optimizers
{
public interface IOptimizer
{
string Name { get; }
IOptimizer Clone();
void Update(NDarray<double> w, NDarray<double> g);
}
}
|
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace DotNetCloud.SqsToolbox.Hosting
{
//public class SqsBatchDeleteBackgroundService : IHostedService
//{
// private readonly ISqsBatchDeleter _sqsBatchDeleter;
// public SqsBatchDeleteBackgroundServi... |
using Haven;
using SharpHaven.UI.Widgets;
namespace SharpHaven.UI.Remote
{
public class ServerCalendar : ServerWidget
{
private Calendar widget;
public ServerCalendar(ushort id, ServerWidget parent) : base(id, parent)
{
}
public override Widget Widget
{
get { return null; }
}
public static Ser... |
using Microsoft.WindowsAzure.MediaServices.Client;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MediaDashboard.Common.Data
{
public class MediaOrigin
{
static private int ReservedUnitCapacity = 160;
[JsonProperty("Health")]
public HealthStatus Healt... |
using Cake.Core.IO;
using Cake.Core.IO.NuGet;
using Cake.Testing;
using NSubstitute;
using Xunit;
namespace Cake.Core.Tests.Unit.IO.NuGet
{
public sealed class NuGetToolResolverTests
{
public sealed class TheConstructor
{
[Fact]
public void Should_Throw_If_File_System_I... |
using ArkSavegameToolkitNet.DataTypes.Properties;
namespace ArkSavegameToolkitNet.DataReaders.Properties
{
static class VectorStructReader
{
public static VectorStructProperty Get(ArchiveReader ar)
{
var result = new VectorStructProperty();
ar.GetFloat(out result.x, "x... |
using UnityEngine;
public class ScoreDisplayPack:ScriptableObject {
public Sprite[] images;
}
|
/*
* Copyright (c) 2019 Robotic Eyes GmbH software
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* PARTICULAR PURPOSE.
*
*/
using UnityEngine;
namesp... |
namespace AngleSharp.Dom.Css
{
/// <summary>
/// Available device update frequencies.
/// </summary>
public enum UpdateFrequency
{
/// <summary>
/// Once it has been rendered, the layout can no longer
/// be updated. Example: documents printed on paper.
/// </summary... |
using System.Reflection;
using System.Threading.Tasks;
using Xbehave.Test.Infrastructure;
using Xunit;
using Xunit.Abstractions;
namespace Xbehave.Test
{
public class AsyncCollectionFixtureFeature : Feature
{
[Background]
public void Background() =>
"Given no events have... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyCooperation.Abstraction.Security
{
public interface IDecryptorOption
{
}
}
|
using System.Data;
using System.Data.SQLite;
using MechanicalObject.Sandbox.TodoWithSQLite.Extensions;
using NUnit.Framework;
namespace MechanicalObject.Sandbox.TodoWithSQLite.Tests
{
[TestFixture]
public class DbCommandExtensionsTest
{
[Test]
public void TestAddParameterWithValue()
... |
using System;
using Boxters.Application.Interfaces;
using Boxters.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using System.Configuration;
using Npgsql;
namespace Boxters.Persistance
{
public partial class B... |
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets
{
using System.Management.Automation;
/// <summary>
/// <para type="synopsis">Creates... |
using ObjCRuntime;
[assembly: LinkWith ("libLottie-tvos.a",
Frameworks = "UIKit",
IsCxx = true,
SmartLink = true,
LinkerFlags="-ObjC",
ForceLoad = true)]
|
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RC_SpeechToText.Models.DTO.Incoming
{
public class ConvertionDTO
{
public ConvertionDTO(IFormFile audioFile, string userEmail, string description, string title)
{
Aud... |
namespace SimpleLogger.Models.Contracts
{
using System;
internal interface ICustomLogger
{
void LogException(Exception ex, string additionalMessage);
void LogMessage(string message);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.DotNet.CodeFormatting
{
internal interface IFormatLogger
{
void Write(string format, params object[] args);
void WriteLine(string format, params object[] args... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TouchController : MonoBehaviour
{
public GameObject controlButtons;
//public MainMenu isTouchControlOn;
void Update()
{
if(MainMenu.instance.ReturnTouchControl() == true){
controlButton... |
using System;
using System.Windows.Markup;
namespace Nuclear.Wpf.Data {
/// <summary>
/// Implements a markup extension to declare an inlined object inside XAML markup.
/// </summary>
/// <typeparam name="T">The type of the object.</typeparam>
public class DataExtension<T> : MarkupExtension {
... |
namespace ModPanel.App.Infrastructure.Validation.Posts
{
using SimpleMvc.Framework.Attributes.Validation;
public class TitleAttribute : PropertyValidationAttribute
{
public override bool IsValid(object value)
{
var title = value as string;
if (title == null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Swarmops.Basic.Types.Financial;
using Swarmops.Database;
using Swarmops.Logic.Support;
namespace Swarmops.Logic.Financial
{
public class HotBitcoinAddressUnspents: PluralBase<HotBitcoinAddress... |
using Apocalypse.Any.Domain.Server.Model.Interfaces;
namespace Apocalypse.Any.Infrastructure.Server.PubSub.Interfaces
{
public interface IEventQueue : IGenericTypeDataLayer
{
}
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="~/assets/img/apple-icon.png" />
<link rel="icon" type="image/png" href="~/assets/img/favicon.png" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>İlan Onay</title>
... |
<footer>
<section class="info">
<article class="contact-us">
<h3>Contact us</h3>
<ul>
<li><span>Address:</span> Sofia, Bulgaria <i class="fas fa-map-marker-alt"></i></li>
<li><span>E-mail:</span> cooking@gmail.com <i class="fas fa-envelope"></i></li>
... |
namespace mg.hr.Core
{
/// <summary>
/// DTO to pass to the UI
/// </summary>
public class EmployeeDTO
{
public int id { get; set; }
public string name { get; set; }
public string roleName { get; set; }
public decimal annualSalary { get; set; }
}
}
|
using Rehber.Model.MessageContracts;
using Rehber.Model.ViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Rehber.Model.DataModels
{
public class Units
{
public Units()
{
... |
namespace Libraries.Providers.Models.FlightAfiliateResponseModel
{
using System;
using IO.Swagger.Model;
public class CarierInfoResponseModel
{
public LogosResponseModel Logos { get; set; }
public string Name { get; set; }
public static Func<CarrierInfo, CarierInfoResponseMod... |
using System.Configuration;
using System.IO;
using System.Reflection;
namespace SeekU.FileIO
{
internal static class FileUtility
{
private static readonly string BaseDirectory;
/// <summary>
/// Finds the base location on disk where events and snapshots should be stored
/// </... |
using System.Collections.Generic;
namespace Yuniql.Core
{
/// <summary>
/// Interface for implementing replacement of tokens in the script using the pattern ${TOKEN_KEY}.
/// Throws exception and fails the migration when some tokens not replaced due to missing token values passed from the client.
///... |
using System.Collections.Generic;
namespace Common.Messages
{
public class RespMsg_List<T> : IResponseMessage
{
public List<T> ResultObject { set; get; }
public List<(ServiceStatus ServiceStatus, string Message)> Messages { set; get; }
}
public class RespMsg<T> : IResponseMessage
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
namespace Forum.WebApi.Middleware.Extensions
{
public static class FakeRemoteIpAddressMiddlewareExtension
{
public static IApplicationBuilder UseFakeRemoteIpAddressMiddl... |
using Microsoft.AspNetCore.Identity;
using System;
namespace Game_Store.Data.Entities
{
public class ApplicationRole : IdentityRole<Guid>
{
public ApplicationRole()
: this(null)
{
}
public ApplicationRole(string name)
: base(name)
{
... |
using HaloEzAPI.Model.Response.MetaData.HaloWars2.Imaging;
using HaloEzAPI.Model.Response.MetaData.HaloWars2.Views;
namespace HaloEzAPI.Model.Response.MetaData.HaloWars2.Shared
{
public class HW2CSRDisplayInfoItem : HW2ApiItem<HW2CSRDesignationDisplayInfoView>
{
}
} |
using System;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
namespace AntCrypter.Animations
{
class ImageChangeAnimations
{
public static void SelectedItemAnimation(Image CurrentControl)
{
string OldTooltip = CurrentControl.ToolTip.ToString();
strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BallProvider : MonoBehaviour {
public Ball RegularBall;
public Ball[] BonusBalls;
private ObjectPool RegularBallPool;
private ObjectPool[] BonusBallPools;
void Awake()
{
BonusBallPools = new ObjectPool[ BonusBall... |
using CommunalPayments.Common.Reports;
namespace CommunalPayments.Common.Interfaces
{
internal abstract class ReportCreator
{
public abstract void Create(Payment payment, BankInfo bank, string appDataPath, out string reportPath);
}
}
|
namespace ClashOfClans.Core.Labels.Interfaces
{
public interface IClashLabel
{
int Id { get; set; }
string Name { get; set; }
LabelBadges Icons { get; set; }
}
}
|
using Microsoft.Azure.Documents;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repsaj.Submerged.Common.SubscriptionSchema
{
public class SubscriptionModel
{
[JsonIgnore]
private List<TankMode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.DotNet.XHarness.CLI.CommandArguments.Android
{
internal enum AndroidArchitecture
{
X86,
X86_64,
Arm64_v8a,
Armeabi_v7a
}
internal sta... |
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software"),... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
namespace AutoCrane.Models
{
public sealed class DataRepositorySource
{
public DataRepositorySource(string archiveFilePath, string hash, DateTimeOffset timestamp)
{
this.ArchiveFilePath = arch... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace BoardViewApplication.Pages
{
public class IndexMod... |
/* see LICENSE notice in solution root */
using System;
using System.Collections.Generic;
using System.Text;
namespace VisualSquirrel.Debugger.Engine
{
public static class EngineConstants
{
public static readonly uint FACILITY_WIN32 = 7;
public static readonly uint ERROR_INVALID_NAME = 123;
... |
namespace PaymentGateway.Model.Entity
{
public class Phone
{
/// <summary>
/// Class constructor, requires all mandatory fields.
/// </summary>
public Phone(int type, int areaCode, int number)
{
Type = type;
AreaCode = areaCode;
... |
using UnityEngine;
using Cuvium.Core;
using Cuvium.Behaviours;
namespace Cuvium.Commands
{
[CreateAssetMenu(menuName = "Cuvium/Move Command")]
public class MoveScriptableCommand : ScriptableCommand
{
private void OnEnable()
{
Name = "Move";
}
public override vo... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc;
namespace Micr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RequisicaoAX.Dynamics.Model
{
public class PurchReqLine
{
public decimal LINENUM { get; set; }
public string ITEMID { get; set; }
public string INVENTDIMID { ... |
/**************************************************************************************
PdfPage
=======
Stores fonts and content tokens of a pdf page.
Written in 2021 by Jürgpeter Huber, Singapore
Contact: https://github.com/PeterHuberSg/PdfParser
To the extent possible under law, the author(s) have dedicated all... |
using MyNetworkLibrary;
using System;
using System.Collections.Generic;
using System.Text;
namespace ChatServer
{
class Program
{
static void Main()
{
Console.WriteLine("ChatServer started on port " + Settings.Port);
server = new Server();
server.ClientConne... |
namespace Endjin.Licensing.Specs.LicenseValidation
{
#region Using Directives
using System;
using System.Collections.Generic;
using Endjin.Licensing.Contracts.Crypto;
using Endjin.Licensing.Contracts.Validation;
using Endjin.Licensing.Domain;
using Endjin.Licensing.Exceptions;
using E... |
namespace Cake.Core.IO.Globbing.Nodes
{
internal abstract class MatchableNode : GlobNode
{
public abstract bool IsMatch(string value);
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using SpacyDotNet;
namespace Test
{
static class DisplaCy
{
public static void Run()
{
var spacy = new Spacy();
var nlp = spacy.Load("en_core_web_sm");
var doc = nlp.GetDocument("Apple is lo... |
using System.Collections.Generic;
using UnityEngine;
namespace MBaske.Sensors.Grid
{
/// <summary>
/// A <see cref="DetectionResult"/> is generated by an
/// <see cref="IDetector"/> and encoded by an <see cref="IEncoder"/>.
/// </summary>
public class DetectionResult
{
/// <summary>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.