text stringlengths 13 6.01M |
|---|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host.Executors;
using Microsoft.Azure.WebJobs.Host.Loggers;
using Microsoft.Extensions.Loggi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities;
using Voronov.Nsudotnet.BuildingCompanyIS.Logic.DbInterfaces;
namespace Voronov.Nsudotnet.BuildingCompanyIS.UI.ViewModels
{
pub... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Diablo3Analyzer.JsonStructs
{
public class EraIndexJson
{
public class Self
{
public string href { get; set; }
public override string ToString()
{
return href;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestCase.Basics;
using TestCase.Services.Contracts;
namespace TestCase.Services.Implementations
{
public class PointValidatorService : IPointValidatorService
{
/// <summary>
... |
using SparkAuto.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SparkAuto.Model.ViewModel
{
public class CarServiceVM
{
public Car Car { get; set; }
public ServiceHeader ServiceHeader { get; set; }
public ServiceType Ser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using StructureMap;
namespace Pes.Core.Impl
{
public class UserSession : IUserSession
{
private IWebContext _webContext;
public UserSession()
{
_webConte... |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Me... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpielerScript : MonoBehaviour
{
public float speed;
float winkelY = 0.0f;
public float InputH;
public float InputV;
bool walk1;
public int Leben;
public float mousePositionAlt;
publ... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodingChallenge
{
public class PathNode
{
public int data { get; set; } = new int();
public int coordinate_X { get; set; }
public in... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace NMoSql.Helpers
{
public class Queries : Helper, IQueryHelper
{
private readonly IQueryBuilder _queryBuilder;
private readonly HelperManager<IQueryHelper> _queryHelpers;
public Quer... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace _160824_TasKagıtMakasOyunu
{
public partial class Oyun : Form
{
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.IO.Compression;
using System.Windows.Forms;
using Damnsoft.Utils;
namespace Damnsoft.DbCopier.WinApp
{
public partial class FormHome : Form
{
private static string extractionPath = @"C:\AzureCopyUtils\"... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class UIButton : Button
{
protected UIButton()
{
m_onDoubleClick = new ButtonClickedEvent();
}
private ButtonClickedEvent m_onDoubleClick;
public But... |
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Dapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PlebBot.Data;
using PlebBot.Data.Models;
using PlebBot.Data.Repository;
using PlebBot.Services;
namespace PlebBot.Tests
{
[TestClass]
public class Tests
{
... |
namespace Automatron.Interfaces.Workflow.Nodes
{
public interface IOutput<TSettings> : IHasLeftPoint<TSettings> where TSettings : IWorkflowElementSettings
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawner : GameManager {
public GameObject red;
public GameObject green;
public GameObject purple;
public static bool isPurajThere = false;
// Use this for initialization
void Start () {
InvokeRepeating ("spawnRed", ... |
using TemporaryEmploymentCorp.Models.Editable;
namespace TemporaryEmploymentCorp.Models.Company
{
public class NewCompanyModel : CompanyEditModel
{
public NewCompanyModel() : base(new DataAccess.EF.Company())
{
InitializeRequiredFields();
}
private void InitializeR... |
using OtelProjesi.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OtelProjesi.Formlar.Ürün
{
public partial class FrmUrunCikisHare... |
namespace DemoApp.Mapping.DataToModel
{
public static class MetroDataToModel
{
public static Model.ViewModels.Station Map(
Data.Station data)
{
return new Model.ViewModels.Station
{
StationId = data.StationId,
StationUid = data... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ZadanieNaProvrku_1
{
static class Program
{
/// <summary>
/// Главная точка входа для приложения.
/// </summary>
[STAThread]
static voi... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.ComponentModel;
#region Usings
using System;
using System.Collections;
using System.Linq;
using DotNetNuke.Common.Utilities;
using DotNetN... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HCL.Academy.Model
{
public class KalibreActivationResponseBody
{
public string emailID { get; set; }
public string message { get; set; }
public bool candidateEx... |
using System;
using System.Collections.Generic;
using System.Linq;
using SubSonic.Extensions;
namespace Pes.Core
{
public partial class PrivacyFlag
{
public static List<PrivacyFlagType> GetPrivacyFlagTypes()
{
return PrivacyFlagType.All().OrderBy(x => x.SortOrder).ToList(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public struct OnStateAction {
public Action onStart;
public Action onEnd;
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace encrypt.Model
{
class EncryptionTest2
{
public string OriginalValue { get; set; }
public byte[] EncryptedValue { get; set; }
}
}
|
namespace Payment.Domain.Transfer
{
public class MoneyTransferService
{
internal void Transfer(Account source, Account destination, Money money, Title title)
{
source.Withdraw(money, title);
destination.Deposit(money, title);
}
}
public class MoneyCollect... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AgendaAPI.Dominio.Entidades
{
public class Telefone
{
public int Id { get; set; }
public string Numero { get; set; }
public ETipoTelefone TipoTelefone { get; set; }
public Contato Contato { get; set; ... |
using PDV.CONTROLER.Funcoes;
using PDV.DAO.Entidades;
using PDV.VIEW.App_Context;
using PDV.VIEW.Forms.Cadastro;
using PDV.VIEW.Forms.Util;
using System;
using System.Security;
using System.Windows.Forms;
namespace PDV.VIEW.Forms.Consultas
{
public partial class FCO_Servico : DevExpress.XtraEditors.XtraForm
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.iOS;
public class AcceleratorOssiclate : MonoBehaviour {
void Start(){
Input.gyro.enabled = true;
}
void Update ()
{
//transform.Translate(Input.acceleration.x, 0, -Input.acceleration.z);... |
namespace series.Enum
{
public enum Genero
{
Ação = 1,
Aventura = 2,
Comédia = 3,
Documentário = 4,
Drama = 5,
Policial = 6,
Faroeste = 7,
Fantasia = 8,
Ficção = 9,
Suspense = 10,
Terror = 11,
Adulto = 12,
In... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem02BankАccounts.Accounts
{
interface IWithdrawable
{
void Withdraw(decimal ammount);
}
}
|
using LoadBalancer.Providers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Timers;
namespace LoadBalancer.Heartbeat
{
public interface IHeartbeatChecker
{
void Start();
}
public class HeartbeatChecker : IHeartbeatChecker
{
private readonly IProvi... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Rinsen.IdentityProvider.Core
{
public class SessionStorage : ISessionStorage
{
private string _connectionString;
private const string _insertSql = @"INSERT I... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
namespace TBH.UpdateHandler
{
/// <summary>
/// Interface for each proccessor class.
/// </summary>
public interfa... |
using ProManager.Entities.Base;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ProManager.Entities.Common
{
public class MenuItemGroup : BaseModel
{
[StringLength(20)]
public string Code { get; set; }
[StringLength(200)]
public string D... |
namespace MusicShopManager.Interfaces
{
using System;
using MusicShopManager.Interfaces;
public interface IBassGuitar : IGuitar
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QualificationExaming.Services
{
using Services;
using Dapper;
using IServices;
using MySql.Data.MySqlClient;
using System.Configuration;
using Entity;
public class... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DualCentrip : MonoBehaviour {
public string bulletType = "EnemyBullet3";
protected Rigidbody2D rigBod;
public int startY;
public int startPos = 0;
// Use this for initialization
void Start () {
if (startPos == 0) {
... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace nargileotomasyon.Models.Mapping
{
public class ürünlerMap : EntityTypeConfiguration<ürünler>
{
public ürünlerMap()
{
// Primary Key
this.HasKey(t => t.ürünid);
... |
using Senai.Peoples.WebApi.Domains;
using Senai.Peoples.WebApi.Interfaces;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Senai.Peoples.WebApi.Repositories
{
//Classe responsalvel pelo repositorio dos funcionarios
public ... |
using System.ComponentModel;
using System.Globalization;
using System;
namespace ShCore.Types
{
[ConverterOf(Target = typeof(decimal))]
public class DecimalConverter : ShTypeConverter
{
/// <summary>
/// Thực hiện Convert
/// </summary>
/// <param name="context"></param>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SoccerFieldServer.Core.Entities;
using SoccerFieldServer.Infrastructure.Data;
namespace SoccerFieldServer.api.Controllers
{
[Route("api/[controlle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
namespace BUS
{
public class t_cttk
{
KetNoiDBDataContext db = new KetNoiDBDataContext();
public void moi(string id, string iddv, string loaichungtu, string machungt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace ExactMVPForms.JsonData
{
[DataContract(Name ="user")]
class User
{
[DataMember(Name ="id")]
public string id { get; set; }
... |
using UnityEngine;
using System.Collections;
using System;
public class CustomAnimation : MonoBehaviour
{
private String m_AnimationPlaying;
private bool m_AnimationBlocking = false;
void Start ()
{
}
void Update ()
{
if (m_AnimationBlocking)
m_AnimationBlocking = GetCompon... |
namespace RedLine.Models.WMI
{
public class WmiProcessor
{
internal const string MANUFACTURER = "Manufacturer";
internal const string CAPTION = "Caption";
internal const string NAME = "Name";
internal const string PROCESSOR_ID = "ProcessorId";
internal const string NUM_OF_CORES = "NumberOfCo... |
namespace SGDE.Domain.Supervisor
{
#region Using
using Domain.Helpers;
using System.Collections.Generic;
using System.Linq;
using ViewModels;
#endregion
public partial class Supervisor
{
public WorkerHiringViewModel GetWorkerHiring(WorkerHiringViewModel workerHiringViewModel)... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Naninovel.Commands
{
/// <summary>
/// Plays or modifies currently played SFX (sound effect) track with the provided name.
/// </summary>
/// <r... |
namespace RockPaperScissorsConsoleApp
{
public class GameScore
{
private static GameScore _instance;
private GameScore()
{
ComputerWin = 0;
YouWin = 0;
}
public static GameScore GetInstance()
{
if (_instance == null)
... |
using System;
using System.Linq;
using System.Net;
using DnsClient;
namespace TestDnsClient
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
try
{
IDnsQuery dnsQuery = new LookupClient(IPAddress.Parse("12... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("UIBButton")]
public class UIBButton : PegUIElement
{
public UIBButton(IntPtr address) : this(address, "UIBButton")
{
}
public UIBButton(IntPtr address, string className) : base(address, classNa... |
using System;
using Windows.UI.Xaml.Data;
namespace Demo.Converter
{
public sealed class DateTimeFormatConverter
: IValueConverter
{
public String Format { get; set; }
public Object Convert(Object value, Type targetType, Object parameter, String language)
{
return... |
using PDV.DAO.Atributos;
using System;
namespace PDV.DAO.Entidades
{
public class EventoNFe
{
[CampoTabela("IDEVENTONFE")]
public decimal IDEventoNFe { get; set; } = -1;
[CampoTabela("IDMOVIMENTOFISCAL")]
public decimal? IDMovimentoFiscal { get; set; }
[CampoTabela("... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using OfficeOpenXml... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
//General information about the assembly is controlled with these attributes
//To change information associated to an assembly, modify these values
[assembly: AssemblyTitle("CaffemodelLoader")]
[assembly: AssemblyDesc... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Core.Metadata.Edm;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InteractivePreGeneratedViews.Helpers
{
public class Entity
{
public int Id { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsultingManager.Dto
{
public class ModelTaskDto
{
public Guid Id { get; set; }
public string Description { get; set; }
public string Instructions { get; set; }
public int Duration { get; set; }
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpUtils.Utils
{
/// <summary>
/// Class that makes it easy to write to a temp file that will be moved to it's final destination once it has fully been written.
... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System;
namespace JumpAndRun.MapEditor.Components
{
class Player
{
public Vector3 Position;
public World world;
ContentManager content;
Matrix View;
Matrix Proj;
Game game;
... |
using Ghost.Attribute;
using Ghost.Extensions;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class ExitPoint : AreaTrigger
{
[SetProperty("ID"), SerializeField]
private int ID_;
public string mapIcon = "map_portal";
public int nextSceneID;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace database
{
public partial class Accounts
{
static public Accounts Get(Guid id)
{
return new tarotContainer().Accounts.SingleOrDefault(a => a.Id == id);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows... |
// Copyright 2021 Google LLC. 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 applica... |
// A simple timer that keeps track of time elapsed and can
// call functions with an event when it's finished
public class Timer
{
#region -Fields-
// Constant / Readonly
private readonly bool resetOnFinish;
// Private field
private float length;
// Events
// Call subscribed function w... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HomeController.cs" company="Eyefinity, Inc.">
// Copyright © 2013 Eyefinity, Inc. All rights reserved.
// </copyright>
// <summary>
// Defines the HomeController type.
// </s... |
using System;
using System.Collections.Generic;
namespace CustomJwtApp.DataAccess.Entities
{
public class Role
{
public Role()
{
Permissions = new HashSet<Permission>();
Users = new HashSet<User>();
}
public Guid Id { get; set; }
public string Na... |
using System;
namespace ThreatsParser.Exceptions
{
class NoFileException : Exception
{
public NoFileException() : base("Отсутствует файл базы данных угроз.")
{
}
}
}
|
using Espades.Domain.Contracts.Services;
using Espades.Domain.Contracts.Services.Base;
using Espades.Domain.Contracts.UnitOfWork;
using Espades.Domain.Repository;
using Espades.Infrastructure;
using Espades.Infrastructure.Base.Repositories;
using Espades.Infrastructure.UnitiesOfWork;
using Espades.Services.Base;
using... |
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace BoxDrag.Android
{
[Activity(Label = "BoxDrag.Android", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
protect... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_RSAHelper : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int constructor(IntPtr l) {
try {
#if DEBUG
var method = System.Refl... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace BAKKAL_BOL.Entities
{
[Table("Musteri")]
public class Mus... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IES.Resource.Model;
namespace IES.G2S.Resource.IBLL
{
public interface IChapterBLL
{
#region 列表
List<Chapter> Chapter_List(int OCID);
List<Chapter> ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AspNet.Identity.PostgreSQL
{
internal static class Consts
{
internal static string Schema = "public";
}
}
|
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using Ws2008.MODEL;
using Ws2008.Common;
using System.Data;
namespace Ws2008.DAL
{
/// <summary>
///
/// </summary>
public class GuestBookDAL
{
/// <summary>
/// 添加留言
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntidadesCarreraAnimales;
using System.Xml;
using System.Xml.Serialization;
namespace TestCarreraAnimales
{
class Program
{
static void Main(string[] args)
{
Ca... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Document.Entities;
using ShCore.Utility;
namespace WebApiSample.Controllers
{
[RoutePrefix("api/devices")]
public class ValuesController : ApiController
{
// GET... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
namespace Assets.Scripts {
public class PlayerMovement : MonoBehaviour {
private GameObject player;
public float HorizontalMultiplier = 1;
public float VerticalMultiplier = 10;
private Rigidbody rb = new Rigidbody ();
/// <summary>
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Media.SpeechRecognition;
namespace Ocularis.IO.Input
{
public static class SpeechRecognizer
{
public static async Task<string> GetText()
{
var language ... |
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Xml;
namespace BeliefEngine.HealthKit
{
/*! @brief Wraps information about an error from HealthKit.
Mainly just a wrapper around Objective-C NSError objects
*/
public class Error :System.Object {
public int code; /*!< @brief T... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class Grenade : MonoBehaviour
{
CameraShake CameraShake;
[SerializeField]
private GameObject Boom;
void Start()
{
CameraShake = FindObjectOfType<CameraShake>();
}
void Update()
... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// 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 must retain the abo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace performanceTest.zorgvoorwaarde {
class ZorgvoorwaardeVergoedingSpecificatie {
public long Id { get; set; }
public int? MaxAantal { get; set; }
public int? MaxBedr... |
using System;
using System.Diagnostics;
using System.Net;
using System.Net.Sockets;
namespace ConnorsNetworkingSuite {
public class SimpleStreamHost : NetStreamHost {
private bool run = true;
private TcpListener listener;
public override void Start(IPEndPoint end) {
listener =... |
using System.Collections;
using UnityEngine;
namespace Assets._Src.Systems.Game_Management
{
public class AudioManager : MonoBehaviour
{
private AudioSource _musicSource;
private AudioSource _musicSource2;
private AudioSource _sfxSource;
private bool _firstMusicSour... |
using System.Threading.Tasks;
using RoboBank.Merchant.Domain;
namespace RoboBank.Merchant.Application.Ports
{
public interface IMerchantWebsiteRepository
{
Task<MerchantWebsite> GetByWebsiteKeyAsync(string websiteKey);
Task AddAsync(MerchantWebsite website);
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace TfsWitAnnotateField.UI.Infra
{
public class AssemblyLoader
{
private string _productInstallationFolder = null;
/// <summary>
... |
namespace Triton.Game.Mapping
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct Rect
{
public float m_XMin;
public float m_YMin;
public float m_Width;
public float m_Height;
}
}
|
namespace NameApi
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
internal class HTApi
{
[DllImport("HTDll.dll")]
public static extern int W1DScanConnect(byte portNo);
[DllImport("HTDll.dll")]
public static extern int W1D... |
using Clubber.Data;
using Clubber.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// What is a student profile for?
// Later, maybe for highlihting clubs that correspond to hobbies, maybe for restricting parent access?
//
namespace Clubber.se... |
using System;
using System.Linq;
using OpenTK;
namespace Common.Geometry
{
public partial class BoundingVolume
{
private float _maxDimension;
public Vector3 BottomLeftBack { get; set; }
public Vector3 TopRightFront { get; set; }
public Vector3 Centre { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ejercicio39
{
/*Tomar el ejercicio anterior. Sobreescrito será una clase abstracta.
a. Agregar un atributo miAtributo del tipo string, con visibilidad protected.
b. Generar un constructor ... |
// dnlib: See LICENSE.txt for more info
using System;
using System.Diagnostics;
using System.Text;
namespace dnlib.DotNet {
/// <summary>
/// Assembly flags from Assembly.Flags column.
/// </summary>
/// <remarks>See CorHdr.h/CorAssemblyFlags</remarks>
[Flags, DebuggerDisplay("{Extensions.ToString(this),nq}")]
... |
//------------------------------------------------------------------------------
// Whenever you expose data in your type’s public or protected interfaces, use properties.
/*Use an indexer for sequences or dictionaries. All data members should be private, without
exception. You immediately get support for data bin... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TypeExtensions.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project root for licens... |
// -----------------------------------------------------------------------
// <copyright file="HashFunctionTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </copy... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SqlServerDocumentator.DocumentedDatabaseObjects
{
public class DocumentedSimpleObject
{
public DocumentedSimpleObject(string serverName, string databaseName, string objectName, string schemaName, string description, TypeDocumentedObject ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Kino
{
public partial class DodajTerminFilma : Form
{
public Dod... |
using UnityEngine;
using System.Collections;
public class UIScaleCenterChild : MonoBehaviour {
/// <summary>
/// The strength of the spring.
/// </summary>
public float springStrength = 8f;
/// <summary>
/// Callback to be triggered when the centering operation completes.
/// </summary>
... |
using ListUtility;
using System;
using System.Collections.Generic;
using UnityEngine;
// Handles using skills, cooldown times
public class CharacterSkill : MonoBehaviour
{
// For combos
public enum ComboKey
{
PrimaryClick,
PrimaryHold,
SecondaryClick,
SecondaryHold,
... |
/*
* Copyright 2014 Technische Universitšt Darmstadt
*
* 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 appli... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.