text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Drawing;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Windows.Forms;
using UseFul.ClientApi;
using UseFul.ClientApi.Dtos;
using UseFul.Forms.Welic;
using UseFul.Uteis;
using UseFul.Uteis... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InventorLibrary.API
{
public static class EnumExtensions
{
public static T As<T>(this InvDocumentTypeEnum c) where T : struct
{
return (T)System.Enum.Parse(typeof(T), c.ToString(), false... |
using CommunicatingBetweenControls.UserControls;
using System;
using System.Collections.Generic;
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;
usi... |
using System;
namespace Union.Gateway.Abstractions.Enums
{
/// <summary>
/// 消费者类型
/// </summary>
[Flags]
public enum ConsumerType : int
{
/// <summary>
/// 消息id
/// </summary>
MsgIdHandlerConsumer = 1,
/// <summary>
/// 消息日志
/// </summar... |
using System;
using System.ComponentModel;
using System.Linq;
namespace Sitecore.Includes.AssemblyBinding.Data
{
/// <summary>
/// Binding redirect for assembly identity
/// </summary>
public class BindingRedirect
{
/// <summary>
/// The old version maximum
/// </summary>
private Version old... |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Support;
using System.Xml.Linq;
/*
Copyright (c) 2011-2012, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Re... |
namespace iSukces.Code.Irony
{
internal sealed class Exchange
{
public const string MethodForEvaluatingPropertyKey = "=MethodForEvaluatingProperty=";
public const string X = "=MethodForEvaluatingProperty=";
public sealed class MethodForEvaluatingProperty
{
public Met... |
using Ardalis.Specification;
using System;
using System.Linq;
using WritingPlatformCore.Entities;
namespace WritingPlatformCore.Specifications
{
public class CatalogItemsSpecification : Specification<CatalogItem>
{
public CatalogItemsSpecification(params int[] ids)
{
Query.Where(c ... |
namespace ChallengeTechAndSolve.Mappers
{
using ChallengeTechAndSolve.Business.Models;
using ChallengeTechAndSolve.ViewModels;
public static class ParticipantInformationMapper
{
public static ParticipantInformationDto Map(this ParticipantInformationViewModel dto)
{
return n... |
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;
using System.IO;
using iTextSharp.text;
using System.Reflection;
using iTextSharp.text.pdf;
namespace Q... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.SYS;
namespace com.Sconit.Entity.SI.SAP
{
[Serializable]
public partial class SAPPPMES0006 : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
[Export(ExportName = "SAPPPMES0006", E... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Services;
using System.Web.Services;
using BLL;
using BLL.MediosMagneticos;
using Entidades.Vistas;
using ByA;
namespace webSignusL.Servicios
{
/// <summary>
/// Descripción breve de wsMediosMagneticos... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CircleAttraction : MonoBehaviour {
public float radius;
public Transform[] allPOI;
public int valueCircle;
public bool repulse = false;
public Vector3 DirFromAngle(float angleDegrees){
return new Vector3(Mathf.Sin(ang... |
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using MassTransit;
using Meetup.Errors.Contracts;
using Serilog;
namespace Meetup.Errors.ServiceCaller
{
internal class CallExternalProcessCommandHandler : IConsumer<CallExternalProcess>
{
public async Task Cons... |
using System.Collections;
public interface IBullet
{
void checkEnds();
void move();
void bulletSpecial();
IEnumerator bulletCoroutine();
} |
namespace TripDestination.Web.MVC.Areas.Admin.ViewModels
{
using Common.Infrastructure.Mapping;
using Data.Models;
using System;
using System.Collections.Generic;
public class NotificationTypeAdminViewModel : IMapFrom<NotificationType>
{
public int Id { get; set; }
public stri... |
using System;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace HealthVault.Sample.Xamarin.Core.ViewModels.ViewRows
{
public class MenuItemViewRow : BindableObject
{
private bool _opening;
public MenuItemViewRow()
{
OpenCommand = new ... |
using Niusys.WebAPI.Common.Filters;
using Niusys.WebAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Niusys.WebAPI.Controllers
{
[RoutePrefix("api/products"), SessionValidate]
public class ProductController... |
using System;
using System.Collections.Generic;
using Microsoft.Bot.Builder.AI.Luis;
using Microsoft.Bot.Builder.AI.QnA;
using Microsoft.Bot.Configuration;
namespace ChatBot.Domain.Services.IA
{
public class BotServices
{
[Obsolete]
public BotServices(BotConfiguration botConfiguration)
... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsof... |
using System;
using System.Xml;
using Breeze.Helpers;
using Breeze.Screens;
using Breeze.Services.InputService;
using Breeze.AssetTypes.DataBoundTypes;
using Breeze.AssetTypes.XMLClass;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Breeze.AssetTypes
{
public class BoxShadowAsset... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2_harmadik_feladat
{
class Program
{
static string LegrosszabbAuto(byte[] allapot, string[] rendszam)
{
byte legrosszabbAuto = allapot.Min();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
namespace Blog
{
public class SqlHelper
{
public static DataTable GetDataBySql(string sql)
{
string sqlcon = @"Data Source=.;Initial Catalog=myblog;U... |
namespace Swan.Ldap
{
/// <summary>
/// LDAP Operation.
/// </summary>
internal enum LdapOperation
{
/// <summary>
/// The unknown
/// </summary>
Unknown = -1,
/// <summary>
/// A bind request operation.
/// BIND_REQUEST = 0
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UICanvas : MonoBehaviour {
public Transform iconContainer;
public GameObject hitSoundPrefab, enemyHitSoundPrefab, peHitSoundPrefab;
public UIExplosionEffect explosionPrefab;
public void SpawnHitSound(Vector3 ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SlerpFollow : MonoBehaviour {
[SerializeField]
public float minDistance;
[SerializeField]
public float followCoefficient;
[SerializeField]
public Transform target;
// Use this for initialization
void Start () {
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace jaytwo.Common.Time
{
public static class TimeProvider
{
private static ITimeProvider _provider;
public static void SetProvider(ITimeProvider provider)
{
_provider = provider;
}
private static void SetDefaultProviderIfNotSet(... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using UnityEngine;
public class IcePath_GenerateFog : MonoBehaviour {
// Fog-related variables
[Header("Fog-related")]
[SerializeField] private GameObject prefabFog;
[SerializeField] private float fog... |
using Data.Models.Interfaces;
using System.Collections.Generic;
using System.Linq;
namespace Data.Models
{
public class Profile : IModel, IIdentifier
{
public int Id { get; set; }
public string Description { get; set; }
public virtual ICollection<ProfileFeature> ProfileFeatures { get; set; } = new List<Profil... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
namespace Game.UI
{
/// <summary>
/// 自动更改画布大小:根据不同设备予以UI不同的显示模式
/// </summary>
public class MyUICanvasScaler : MonoBehaviour
{
public static float g_preferSizeX = 800;
public static float g_preferSizeY ... |
using System;
using System.Threading.Tasks;
using Cocona;
using Microsoft.Extensions.DependencyInjection;
using PlatformStatusTracker.Core.Configuration;
using PlatformStatusTracker.Core.Enum;
using PlatformStatusTracker.Core.Model;
using PlatformStatusTracker.Core.Repository;
namespace PlatformStatusTracker.Updater
... |
using UnityEngine;
public class SyncHuman : BaseSimpleSampleCharacterControl
{
private Vector3 lastPos;
private Vector3 lastRot;
public Vector3 forecastPos;
public Vector3 forecastRot;
private float forecastTime;
// Use this for initialization
private void Start()
{
//初始化预测信... |
using Sentry.Extensibility;
using Sentry.Internal.Extensions;
namespace Sentry;
/// <summary>
/// An interface which describes the authenticated User for a request.
/// </summary>
/// <see href="https://develop.sentry.dev/sdk/event-payloads/user/"/>
public sealed class User : IJsonSerializable
{
internal Action<U... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.IO;
using FastReport;
using FastReport.Data;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.... |
using Uintra.Infrastructure.Providers;
namespace Uintra.Features.CentralFeed.Links
{
public static class CentralFeedLinkProviderHelper
{
public static string GetFeedActivitiesAlias(IDocumentTypeAliasProvider aliasProvider) =>
aliasProvider.GetHomePage();
}
} |
/**
* \file UIMenu.cs
* \author Ab-code: Becky Linyan Li, Bowen Zhuang, Sekou Gassama, Tuan Ly
* \date 11-21-2014
* \brief contains the user interfaces of the UIMenu class and methods to invoke other class libraries
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
us... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Acquiring.Sdk {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.acquiring.sdk']/class[@name='DefaultKeyCreator']"
[global::Android.Runtime.Register ("ru/tinkoff/acquiring/sdk/DefaultKeyCreator", D... |
using BenchmarkDotNet.Attributes;
using Sentry.Extensibility;
using Sentry.Protocol.Envelopes;
using BackgroundWorker = Sentry.Internal.BackgroundWorker;
namespace Sentry.Benchmarks;
public class BackgroundWorkerFlushBenchmarks
{
private class FakeTransport : ITransport
{
public Task SendEnvelopeAsync... |
using Pe.Stracon.SGC.Aplicacion.TransferObject.Base;
using System;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual
{
/// <summary>
/// Representa el objeto request del contrato
/// </summary>
/// <remarks>
/// Creación : GMD 20150528 <br />
/// Modificación : ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AI.Neurons;
namespace AI
{
[Serializable]
[System.Runtime.Serialization.DataContract]
public class Layer
{
[System.Runtime.Serialization.DataMember]
private Neuro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Business.OnlinePay.Company.ChinaPay
{
public abstract class ResponseBase
{
/// <summary>
/// 应答名称
/// </summary>
public abstract string ResponseName
{
get
... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace CliqueLib
{
public class CliqueLib
{
public static List<List<T>> CliquesToStrategies<T>(List<List<int>> cliques, T[] seq) where T : IInput
{
List<List<T>> res = new ... |
namespace MySurveys.Web.Areas.Administration.Controllers
{
using System.Collections;
using System.Web.Mvc;
using Kendo.Mvc.UI;
using MvcTemplate.Web.Infrastructure.Mapping;
using Services.Contracts;
using ViewModels;
public class PossibleAnswersController : AdminController
{
pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LeveredDoor : MonoBehaviour {
public bool isOpen;
public Sprite openedDoor;
public Sprite closedDoor;
// Use this for initialization
void Start () {
//The door can start either opened or closed d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BusinessObjects;
using DataAccess.IRepository;
namespace DataAccess.Repository
{
public class CommentLikeRepository: ICommentLikeRepository
{
public CommentLike GetCommentLike(stri... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
public delegate void CallBackObjPool();
/// <summary>
///
/// </summary>
public class ObjectPool
{
private Type m_destType = null;
private object[] m_ctorArgs = null;
private int m_minObjCount = 0;
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HW05.iOS;
//using MonoTouch.Foundation;
//using MonoTouch.UIKit;
[assembly: Xamarin.Forms.Dependency(typeof(Who))]
namespace HW05.iOS
{
public class Who : IWho
{
public string Hello()
{
ret... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using LicenseObjects;
namespace AxiEndPoint.EndPointServer.MessageHandlers
{
public class GetClientMessageHandler:IMessageHandler
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
Initiali... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjectEvoscape.Components
{
public class Stats
{
#region Fields
int strength;
int stamina;
int agility;
int intellect;
int wisdom;
int education;
#en... |
/* INFINITY CODE 2013-2018 */
/* http://www.infinity-code.com */
using UnityEngine;
using UnityEngine.UI;
namespace InfinityCode.OnlineMapsDemos
{
[AddComponentMenu("Infinity Code/Online Maps/Demos/Demo")]
public class Demo : MonoBehaviour
{
public Text twoThreeDText;
public ... |
namespace CustomerApp.UnitTests
{
using System;
using System.Collections.Generic;
using System.Globalization;
using DataAccess;
using DataAccess.Entities;
using DataAccess.Models;
using Dtos;
using FluentAssertions;
using NUnit.Framework;
[TestFixture]
public class DtoMappe... |
namespace mssngrrr.utils
{
public static class Log4NetExtension
{
public static string SafeToLog(this string line)
{
return line.Trim().Replace("\r", "\\r").Replace("\n", "\\n");
}
}
} |
using UnityEngine;
using System.Collections;
public class HealthPowerup : Powerup {
private float _healthBonusMultiplier;
/// <summary>
/// Initializes a new instance of the <see cref="HealthPowerup"/> class.
/// </summary>
/// <param name="name">Name.</param>
/// <param name="description">Description.</param... |
using System;
using System.Collections.Generic;
using UnityEngine;
public class RegionBehaviour : MonoBehaviour
{
public static RegionBehaviour RegionSelected;
public static RegionBehaviour RegionLooking;
public static List<RegionBehaviour> Regions = new List<RegionBehaviour>();
public Color GroundCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web;
using System.Threading.Tasks;
using System.Net.Http.Headers;
using System.IO;
using Newtonsoft.Json;
namespace Api.Controllers
{
public class Upload... |
using System.Globalization;
using NeuroLinker.Enumerations;
namespace NeuroLinker.Helpers
{
/// <summary>
/// Assist with creation of MAL urls
/// </summary>
public static class MalRouteBuilder
{
#region Public Methods
/// <summary>
/// Url for adding an anime to a user's l... |
using SPA.Models;
using SPA.Models.DAO;
using SPA.Models.Email;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SPA
... |
using XH.Infrastructure.Query;
namespace XH.Queries.Security.Queries
{
public class ListRolesQuery : ListQueryBase
{
public string Keywords { get; set; }
public string Permission { get; set; }
}
} |
using Senai.Peoples.WebAp.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Senai.Peoples.WebAp.Interfaces
{
interface IFuncionarioRepository
{
/// <summary>
/// Me mostra todos os funcionarios do sistema
/// </summary>
... |
// Copyright 2013-2015 Serilog Contributors
//
// 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... |
namespace PROG1_PROYECTO_FINAL
{
partial class Reporte_Factura
{
}
}
namespace PROG1_PROYECTO_FINAL.Reporte_FacturaTableAdapters {
public partial class GenerarFacturaTableAdapter {
}
}
|
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.IO;
using System.Reactive.Linq;
using System.Threading;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraLayout.Utils;
using VideoPlayer.Properties;
using Vlc.DotNet.Core;
using Vlc.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SimpleImageHelper.HtmlHelpers
{
public static class HtmlHelperExtensions
{
public static MvcHtmlString Image(this HtmlHelper helper, string image, string alternative)
{
... |
#include<stdio.h>
#include<conion.h>
void main()
{
printtf("Hello, World");
}
|
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.Collections;
using System.Collections.Generic;
using System;
/// <summary>
/// 2D : Visual Novel: Choice : Sequencer Command
/// Shows several options each option jumps you to another section
/// </summary>
using System.Linq;
[Serializable]... |
using System;
using System.Collections.Generic;
using System.Windows.Input;
using FPGADeveloperTools.Common;
using FPGADeveloperTools.Common.Model.ModuleFiles;
using FPGADeveloperTools.Common.ViewModel;
using FPGADeveloperTools.Common.ViewModel.ModuleFiles;
using FPGADeveloperTools.Common.ViewModel.Ports;
using FPGADe... |
using SGCFT.Dados.Contextos;
using SGCFT.Dominio.Contratos.Repositorios;
using SGCFT.Dominio.Entidades;
using System.Collections.Generic;
using System.Linq;
namespace SGCFT.Dados.Repositorios
{
public class RespostaRepositorio : IRespostaRepositorio
{
private readonly Contexto _contexto;
publ... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Serilog;
using Witsml;
using Witsml.Data;
using Witsml.Extensions;
using Witsml.ServiceReference;
using WitsmlExplorer.Api.Jobs;
using WitsmlExplorer.Api.Models;
using WitsmlExplorer.Api.Query;
using WitsmlExplorer.Api.Services;
namespace WitsmlExplo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace trade.client
{
class FunctionList
{
public static Dictionary<string, Type> QuickBar = new Dictionary<string, Type>()
{
{"持仓查询", typeof(FrmQueryPositions) }... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Obstacle : MonoBehaviour
{
void OnCollisionEnter(Collision collision)
{
//Check for a match with the specified name on any GameObject that collides with your GameObject
if (collision.gameObject... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
namespace ArticleManage.ViewModels
{
public static class Utity
{
public static string DropHtml(string htmlstring, int strLen)
{
return CutSt... |
using UserService.DTO;
using UserService.Model;
namespace UserService.Mapper
{
public static class CityMapper
{
public static CityDTO ToCityDTO(this City city)
{
var memento = city.GetMemento();
return new CityDTO()
{
Id = memento.Id,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Foundation;
using UIKit;
using UserNotifications;
namespace ParPorApp.iOS
{
public class UserNotificationCenterDelegate : UNUserNotificationCenterDelegate
{
public override void WillPresentNotification(UNUserN... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SGCFT.Dominio.Entidades;
using SGCFT.Utilitario;
using System.Linq;
namespace SGCFT.Dominio.Teste
{
[TestClass]
public class PerguntaTeste
{
[TestMethod]
public void CriarNovaPerguntaComTextoValido()
{
string tex... |
using Moq;
using Moq.Language.Flow;
using System.Threading;
using System.Threading.Tasks;
namespace DDMedi.UnitTest.Helper
{
public static class SetUpMockHelper
{
public static ISetup<IDDBroker, Task<TOutput>> SetUpProcessAsyncAny<TInputs, TOutput>(this Mock<IDDBroker> ddBroker) where TInputs : IInput... |
using System;
using Autofac;
using Framework.Core.Common;
using Framework.Core.Helpers.PDF;
using NUnit.Framework;
using Tests.Data.Van;
using Tests.Data.Van.Input.Filters;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main.Common.DefaultPage;
using Tests.Pages.Van.Main.PdfPages;
using Tests.Pages.Van.M... |
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Sitecore.Framework.Runtime.Configuration;
using Avanade.Plugin.IdentityProvider.Ids4Facebook.Configuration;
using System;
using Microsoft.AspNet... |
// <copyright file="ImageUtil.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2019 Firoozeh Technology LTD. 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... |
using UnityEngine;
public class GameManager : MonoBehaviour
{
[SerializeField] private CardManager CardManager = null;
[SerializeField] private SoundManager SoundManager = null;
[SerializeField] private TextManager TextManager = null;
[SerializeField] private TimeBarController TimeBarController = null... |
using SMG.Common.Algebra;
using SMG.Common.Code;
using SMG.Common.Gates;
using SMG.Common.Transitions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace SMG.Common.Conditions
{
/// <summary>
/// Base class for conditions based on variables value... |
#region MIT License
/*
* Copyright (c) 2009 University of Jyväskylä, Department of Mathematical
* Information Technology.
*
* 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 res... |
using System;
namespace CourseHunter_91_Delegate
{
public class Car
{
// Делегаты представляют такие объекты, которые указывают на методы.
// То есть делегаты - это указатели на методы
// и с помощью делегатов мы можем вызвать данные методы.
int speed = 0;
// 1. ... |
using FluentValidation;
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
namespace SFA.DAS.ProviderCommitments.Web.Validators.Cohort
{
public class DeleteCohortViewModelValidator : AbstractValidator<DeleteCohortViewModel>
{
public DeleteCohortViewModelValidator()
{
RuleFor(x =>... |
using NUnit.Framework;
using Moq;
#pragma warning disable 618
namespace Emkay.S3.Tests
{
[TestFixture]
public class EnumerateBucketsTests : S3TestsBase
{
[Test]
public void should_find_all_buckets()
{
Mock.Get(MockS3Client).Setup(x => x.EnumerateBuckets()).R... |
using System;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;
using Jobs.Controllers;
using Data.Models;
using Data.Infrastructure;
using Service;
using Model.Models;
using AutoMapper;
using Model.ViewModel;
using Model.ViewModels;
namespace Jobs.App_Start
{
/// <summary>
/// Sp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json;
namespace ShoppingCart.ViewModels
{
public class CategoryViewModel
{
[JsonProperty(PropertyName = "id")]
public int Id { get; set; }
[JsonProperty(PropertyName = "n... |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Gruzer.Data.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using AutoMapper;
using BlazorShared.Models.Schedule;
using FrontDesk.Core.Aggregates;
using Microsoft.AspNetCore.Mvc;
using PluralsightDdd.SharedKernel.Interfaces;
using Swashbuckle.AspNet... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPI.MoneyXChange.Models;
namespace WebAPI.MoneyXChange.Services.Contracts
{
public interface IOperationService
{
Task<CurrencyRate> FindCurrencyRate(DateTime date, int currencyFrom, int currencyTo... |
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 WebApp1
{
public partial class Form1 : Form
{
private int counte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace pjank.BossaAPI
{
/// <summary>
/// Lista raportów z wykonania kolejnych transakcji dla naszego zlecenia.
/// </summary>
public class BosOrderTradeReports : IEnumerable<BosOrderTrade... |
using System;
using System.Windows;
using System.Windows.Forms.Integration;
namespace IKriv.Windows.Integration
{
public class SizeToContentWinFormsHost : WindowsFormsHost
{
private readonly System.Windows.Forms.UserControl _control;
public SizeToContentWinFormsHost(System.Windows.Forms.UserC... |
namespace Sentry.EntityFramework.Tests;
public class TestDbContext : DbContext
{
public TestDbContext(DbConnection connection, bool ownsConnection)
: base(connection, ownsConnection)
{ }
public virtual DbSet<TestData> TestTable { get; set; }
public class TestData
{
[Key]
p... |
using Stock_Exchange_Analyzer.Data_Storage;
using System;
using System.Windows.Forms;
using Stock_Exchange_Analyzer.Properties;
namespace Stock_Exchange_Analyzer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... |
namespace DChild.Gameplay
{
public interface IJump
{
bool Jump(bool isPressed);
}
}
|
using System;
using System.Text;
namespace Base64Translator {
class Base64Translator {
/// <exception cref="FormatException"></exception>
public static string EncryptBase64(string input, Encoding encoding) {
byte[] inBytes = encoding.GetBytes(input);
return Convert.ToBase64... |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Funding.Data.Migrations
{
public partial class up : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
... |
using OnboardingSIGDB1.Domain.Interfaces;
using OnboardingSIGDB1.Domain.Notifications;
using System.Linq;
using System.Threading.Tasks;
namespace OnboardingSIGDB1.Domain.Empresas.Validators
{
public class ValidadorDeEmpresaDuplicada: IValidadorDeEmpresaDuplicada
{
private readonly IEmpresaRepository _... |
namespace TripDestination.Web.MVC.Areas.Admin.Controllers
{
using Common.Infrastructure.Mapping;
using Kendo.Mvc.Extensions;
using Kendo.Mvc.UI;
using MVC.Controllers;
using Services.Data.Contracts;
using System.Web.Mvc;
using ViewModels;
public class NotificationTypeAdminController : ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.