text stringlengths 13 6.01M |
|---|
namespace MundoMascotaRosario.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class correccionmenu : DbMigration
{
public override void Up()
{
AddColumn("dbo.Menu", "PadreId", c => c.Int(nullable: false));
DropColumn("dbo.Menu",... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Docller.Core.Common;
using Docller.Core.Models;
using Microsoft.Practices.EnterpriseLibrary.Data;
namespace Docller.Core.Repository.Mappers.StoredProcMappers
{
public class ... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
namespace UPDServer {
public struct Received
{
public IPEndPoint Sender;
public string Message;
}
class Program
{
static Player p1 = new Player(""); //Add parameters later
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using OnlineQuiz.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace OnlineQuiz.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class QuestionController : ControllerBase
{
priv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;
public class PlaneDetectionController : MonoBehaviour
{
public ARPlaneManager arPlaneManager;
void Start()
{
DelegatesHandler.GameStart += DisableAl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Password
{
class Program
{
static void Main(string[] args)
{
string password = Console.ReadLine();
int lowerCaseCount = 0;
int upperCaseCount = 0;
int digitsCount = 0;
fo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace NSTOX.BODataProcessor.Model
{
[Serializable]
public class SalesTransactionDetailItem
{
public long ItemID { get; set; }
public int MerchandiseHierarchy { get; se... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class page : MonoBehaviour
{
public Sprite page2;
public bool next;
void Start()
{
}
// Update is called once per frame
void Update()
{
if (next == true)
... |
using System;
namespace PatronBridge
{
public abstract class Expendedora
{
//Abstracion que encapsula la interfaz IBebida
protected IBebida Bebida;
protected Expendedora(IBebida bebida)
{
this.Bebida = bebida;
}
public string mostrarAdverte... |
using DAL.Basics;
using DAL.RawMaterial;
using DAL.Stock;
using Model;
using Model.Basics;
using Model.RawMaterial;
using Model.Stock;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web;... |
using CreamBell_DMS_WebApps.App_Code;
using Elmah;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI;
namespace CreamBell_DMS_WebApps
{
public partial class Login : System.Web.UI.Page
{
SqlConnection conn = null;
SqlCommand cmd = null;
... |
using Grpc.Core;
using GrpcServer.Models;
using GrpcServer.Protos;
using GrpcServer.Repository;
using GrpcServer.Repository.DBModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Loggi... |
using System.Diagnostics;
using System.Windows;
using System.Windows.Media;
namespace BimPlusDemo.Controls
{
public class IntegerTextBox : CultureInfoTextBox
{
public IntegerTextBox()
{
TextAlignment = TextAlignment.Right;
LostFocus += IntegerTextBox_LostFocus;
... |
using System;
using System.IO;
using System.Net;
namespace Emanate.Core.Input.TeamCity
{
public class TeamCityConnection : ITeamCityConnection
{
private readonly Uri baseUri;
private readonly NetworkCredential networkCredential;
private readonly bool isGuestAuthentication;
publ... |
using Photon.Pun;
using System.Collections;
using TMPro;
using UnityEngine;
namespace Source.Code.MyPhoton
{
public class NickNameSetter : MonoBehaviour
{
[SerializeField] private float blinkPeriod = 0.2f;
[SerializeField] private int blinkCounts = 7;
[SerializeField] private TMP_Input... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ChessDotNetBackend;
namespace ChessWinForms
{
public partial class ChessBoard2D :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Effigy.Entity.Entity
{
public class MenuDetails
{
public int MenuId { get; set; }
public string MenuText { get; set; }
public string MenuDesc { get;... |
using WinterIsComing.Core.Exceptions;
using WinterIsComing.Models.Units;
namespace WinterIsComing.Core
{
using System;
using Contracts;
using Models;
public static class UnitFactory
{
public static IUnit Create(UnitType type, string name, int x, int y)
{
switch (type)
... |
using SuperMario.Collision;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SuperMario.Entities.Mario.MarioCondition
{
public class SmallMario : MarioConditionState
{
public SmallMario(IPlayerTexturePack playerTexturePack) : base(playerTexturePack) {}
public o... |
using iText;
using iText.Kernel.Geom;
using iText.Kernel.Pdf;
using iText.Kernel.Pdf.Canvas.Parser;
using iText.Kernel.Pdf.Canvas.Parser.Filter;
using iText.Kernel.Pdf.Canvas.Parser.Listener;
using Parser_Console.Classes;
using Parser_Console.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _11_Poisonous_Plants
{
public class _11_Poisonous_Plants
{
public static void Main()
{
var plantsNumber = int.Parse(Console.ReadLine());
var plants = Console.ReadLine().Split().Select(int.Parse... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Xml;
public partial class mont2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btn... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MultiplechoiseSystem.DTO;
namespace MultiplechoiseSystem.DAO
{
class UserDAO
{
private static UserDAO instance;
public static UserDAO Instance
{
... |
using Terraria.ModLoader;
using Terraria.ID;
namespace Intalium.Items.Tools
{
public class PickaxeOfTerraria : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Pickaxe of Terraria");
}
public override void SetDefaults()
... |
using NfePlusAlpha.Domain.Entities;
using NfePlusAlpha.Services.Correios.wsCorreios;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
... |
namespace DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Parts
{
public interface ITermPartGraphSyncer : IContentPartGraphSyncer
{
}
}
|
using System;
using System.Collections.Generic;
using System.Drawing;
namespace SharpMap.UI.Tools
{
public class LegendToolItem
{
#region fields
private bool centered;
private Bitmap symbol;
private IList<LegendToolItem> items = new List<LegendToolItem>();
private Legen... |
using UnityEngine;
using System.Collections;
public class summonLS : MonoBehaviour {
public float lifeSpan = 15.0f;
public int Combo = 0;
private randomInst Inter;
private addForce Spd;
// Use this for initialization
void Start () {
Inter = GameObject.Find ("keys").GetComponent<randomInst> ();
}
// ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using KulujenSeuranta.Models;
using KulujenSeuranta.ViewModels;
using KulujenSeuranta.Interfaces;
using KulujenSeur... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StatePointAI : MonoBehaviour
{
#region class variables
[SerializeField] public float health = 100f;
[SerializeField] public float maxHealth = 100f;
[SerializeField] private float regenHealthValue = 15f;
[S... |
using JT808.Protocol.Attributes;
using JT808.Protocol.Formatters;
using JT808.Protocol.MessagePack;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 位置汇报方案,0:根据 ACC 状态; 1:根据登录状态和 ACC 状态,先判断登录状态,若登录再根据 ACC 状态
/// </summary>
public class JT808_0x8103_0x0021 : JT808_0x8103_BodyBase, IJT808Message... |
namespace CWI.Desafio2.Domain.Entities.Enums
{
public enum PropertyType
{
Invalid, Cpf, Cnpj, SaleId
}
}
|
namespace Airelax.Application.Houses.Dtos.Response
{
public class HonorDto
{
public int Type { get; set; }
public string Description { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace FactionCombinationAnalysis.FactionCombine
{
public static class Consts
{
public const int CombineMax = 5;
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
namespace MainWebApplication.Models
{
public class ServicesUUID : Dictionary<string, Guid>
{
private ServicesUUID()
{
base["MyService"] = new Guid("94ec923e... |
using Data.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Data.Mappings
{
public class ProfileFeatureMap : IEntityTypeConfiguration<ProfileFeature>
{
public void Configure(EntityTypeBuilder<ProfileFeature> builder)
{
// Primary Key
builder.Has... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem213 : ProblemBase {
private Square[,] _grid;
private decimal[,] _counts;
public override string ProblemName {
... |
using MediatR;
using AspNetCoreGettingStarted.Data;
using AspNetCoreGettingStarted.Model;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using AspNetCoreGettingStarted.Features.Core;
using System.Threading;
//https://docs.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads
namespace AspNetCore... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Проверка
{
public partial class MobForm : Form... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CharacterCreation
{
public class Character
{
public Race RaceType { get; set; }
public List<Stat> Stats { get; set; }
public int HitPoints { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotelManagement.BusinessObject;
namespace HotelManagement.DataObject
{
public class DanhSachSuDungDichVuInFo
{
private string m_MaSuDungDVu;
public string MaSuDungDV
{
g... |
using Anywhere2Go.DataAccess.Entity;
using Anywhere2Go.DataAccess.Object;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace Claimdi.WCF.Public
{
// NOTE: You can use the "Ren... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
/// <summary>
/// リザルト画面
/// </summary>
public class ResultManager : SingletonMonoBehaviour<ResultManager>
{
[SerializeField]
RectTransform[] uiRectTransforms = new RectTransform[3];
int selec... |
using System;
using UIKit;
using Aquamonix.Mobile.IOS.UI;
using Aquamonix.Mobile.Lib.Utilities;
namespace Aquamonix.Mobile.IOS.Views
{
public class AquamonixLabel : UILabel
{
public AquamonixLabel() : base()
{
ExceptionUtility.Try(() =>
{
this.LineBreakMode = UILineBreakMode.TailTruncation;
});
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InvoiceNet.Data
{
public class SqlDataReader : IDataReader
{
IDataReader m_dataReader;
#region Properties
public object this[string name]
... |
// Copyright (c) Bruno Brant. All rights reserved.
namespace RestLittle.UI.Models
{
/// <summary>
/// The status of the user.
/// </summary>
public enum UserStatus
{
/// <summary>
/// User has been working for more than the max. time.
/// </summary>
Tired,
/// <summary>
/// User is rested and is acti... |
namespace Ingen.Network
{
public interface ICryptoService
{
byte[] Encrypt(byte[] input);
byte[] Decrypt(byte[] input);
}
}
|
namespace WinAppDriver
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using Newtonsoft.Json;
internal class Server
{
private static ILogger logger = Logger.GetLogger("WinAppDriver");
private RequestMa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ButtleManager_vsNPC : MonoBehaviour {
// 外部から設定される
public int[] playerChoicedHand = new int[3];
public int enemyChoicedHand;
// 勝ち負け
int[] WoL = new int[3];
GameObject[] ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data;
using System.Reflection;
namespace Rwd.Framework.IO
{
public static class File
{
/// <summary>
/// Converts datatable to CSV file
/// </summary>
/// <param... |
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Text;
using ByteData = System.Collections.Generic.List<System.ArraySegment<byte>>;
namespace SAAS.FrameWork.Util.Pool
{
public class DataPool
{
#region Bytes
public static byte[] BytesGet(... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.App.Share.Rewards.Domain.Enums
{
/// <summary>
/// 分润价格类型
/// </summary>
[ClassProperty(Name = "分润价格类型")]
public enum PriceType
{
/// <summary>
/// 售价
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ConchScript : MonoBehaviour
{
public GameObject anchor;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
... |
using System;
using UnityEngine;
using UnityEngine.UI;
namespace RPG.Resources
{
public class HealthDisplay : MonoBehaviour
{
Health health;
private Text healthText;
private void Awake()
{
health = GameObject.FindGameObjectWithTag("Player").GetComponent<Health>();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
namespace Sharp.Pipeline.Example
{
public static class ConsoleHelp
{
public static void Help(IEnumerable<MethodInfo> methods)
{
Console.WriteLine("Valid Commands");
for... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2021 {
public class Problem04 : AdventOfCodeBase {
private List<int> _randoms;
private List<int[,]> _boards;
private List<bool[,]> _finals;
private Dictionary<int, List<F... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
namespace HabMap.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
// Dummy columns for layers 0 and 1:
Col... |
namespace Forca.Repositorio.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class RetirandoEntidadeRanking : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.Ranking", "Jogador_Id", "dbo.Jogador");
DropIndex("dbo.Ra... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Demon : MonoBehaviour
{
public Transform attackPos;
public LayerMask whatIsEnemies;
public Animator attackAnim;
[Space]
[Header("Demon status :")]
public static bool IsDead;
... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace FiiiChain.DataAgent
{
public class P2PNode
{
public string IP { get; set; }
public int Port { get; set; }
public bool IsConnected { get; set; }
public long LatestHeartbeat { get; s... |
// <copyright file="DependencyMocker.cs" company="Morten Larsen">
// Copyright (c) Morten Larsen. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// </copyright>
using System.IO.Abstractions;
using System.Net;
using System.Net.Http;
using S... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Projeto.Models;
namespace Projeto.Data.Maps
{
public class ClienteMap : IEntityTypeConfiguration<Cliente>
{
public void Configure(EntityTypeBuilder<Cliente> builder)
{
builder.ToTable("... |
using AutoMapper;
using CarRental.API.BL.Models.Prices;
using CarRental.API.DAL.DataServices.Prices;
using CarRental.API.DAL.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CarRental.API.BL.Services.Prices
{
public class PriceService : IPriceSe... |
using gView.Core.Framework.Exceptions;
using gView.Framework.Security;
using gView.Security.Framework;
using gView.Server.AppCode;
using gView.Server.Extensions;
using gView.Server.Services.MapServer;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
... |
using ApplicationCore.Entities;
using AutoMapper;
using Web.ViewModels;
namespace Web.Mapping
{
public class ProductProfile : Profile
{
public ProductProfile()
{
CreateMap<Product, ProductListItemVM>()
.ForMember(dest => dest.Price, opt => opt.MapFrom(o => o.Price.To... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using DotNetBrightener.LinQToSqlBuilder.Adapter;
using DotNetBrightener.LinQToSqlBuilder.Resolver.ExpressionTree;
namespace DotNetBrightener.LinQToSql... |
using Tweetinvi.Core.Injectinvi;
using Tweetinvi.Core.Web;
using Tweetinvi.Factories.Properties;
using Tweetinvi.Models.DTO;
namespace Tweetinvi.Factories
{
public interface IMessageFactoryQueryExecutor
{
// Get Existing Message
IMessageDTO GetExistingMessage(long messageId);
// Creat... |
using System;
using System.IO;
using System.Security;
using System.Security.Cryptography;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace ManagedUtilities
{
public class Crypto
{
public string EncryptString(string stringToEncrypt, string strKey)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Linq;
using UnityEngine.SceneManagement;
public enum MissionType {
Hits,
Hoops,
}
public class MissionController : MonoBehaviour {
[SerializeField]
private Missions missionSystem;
private MissionComp... |
namespace sc80wffmex.GlassStructure
{
using System;
using System.Collections.Specialized;
using Glass.Mapper.Sc;
using Sitecore.Mvc.Presentation;
using Sitecore.Web;
public class ContextSitecoreContext : IControllerSitecoreContext
{
private readonly ISitecoreContext _sitecoreCont... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CodingTest;
namespace UnitTest
{
[TestClass]
public class ValidBaseTest : ValidBase
{
public ValidBaseTest()
: base("")
{ }
/// <summary>
/// Ensure HasValidChars method returns true when pr... |
using System;
using Microsoft.EntityFrameworkCore;
namespace Orders.Models
{
public class OrdersContext : DbContext
{
public OrdersContext(DbContextOptions options) : base(options)
{
}
public DbSet<Order> Orders { get; set; }
}
}
|
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 Management_Plus
{
public partial class Claculator : Form
{
public Claculator()
{
... |
using UnityEngine;
using System.Collections;
public class BoostDesc {
public Sprite buttonSprite;
public Sprite introScreenSprite;
public float effectiveTime;
public string boostName;
public TipConfig tipConfig;
public BoostDesc(string boostName,
string buttonImageName,
s... |
using BradescoPGP.Repositorio;
using BradescoPGP.Web.Areas.Portabilidade.Interfaces;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace BradescoPGP.Web.Areas.Portabilidade.Servicos
{
public class UsuarioService : IUsuarioService
{
p... |
using System.Windows.Controls;
namespace WPF.NewClientl.UI.Dialogs
{
/// <summary>
/// SiginStatisticsDialog.xaml 的交互逻辑
/// </summary>
public partial class ControlCenterDialog : UserControl
{
public ControlCenterDialog()
{
InitializeComponent();
}
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Machine.Specifications;
using Moq;
using MvcContrib.TestHelper;
using ScoreSquid.Web.Controllers;
using ScoreSquid.Web.Models;
using ScoreSquid.Web.Tasks;
using ScoreSquid.Web.Te... |
using System;
using UBaseline.Shared.Node;
using Uintra.Core.Search.Entities;
namespace Uintra.Core.Search.Converters.SearchDocumentPanelConverter
{
public interface ISearchDocumentPanelConverter
{
Type Type { get; }
SearchablePanel Convert(INodeViewModel panel);
}
public interface I... |
using Crystal.Plot2D.Common;
using System;
using System.ComponentModel;
using System.Globalization;
using System.Windows;
using System.Windows.Markup;
namespace Crystal.Plot2D
{
/// <summary>
/// Describes a rectangle in viewport or data coordinates.
/// </summary>
[Serializable]
[ValueSerializer(typeof(Dat... |
namespace Visitor
{
public class UnSubscribeOperation : IOperation
{
public void apply(EmailNotification notification)
{
System.Console.WriteLine($"User email address {notification.EmailAddress} UnSubscribed to Email notification");
}
public void apply(BannerNotifica... |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Data;
using System.Globalization;
using System.Collections;
using System.IO;
using Wpro.GSM.TelerikUI.Services;
using System.Web.Security;
using System.Data.SqlClient;
using DataLayer;
u... |
using App.Base.MyAppModel;
using App.Model;
using App.Model.Product;
using App.Utils.Extensions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
namespace App.DA.Product
{
public class ProductImplement : BaseDA
{
public ProductImplemen... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Teleport : BendingBehaviour
{
public override void OnBendStart()
{
base.OnBendStart();
TryBendEnd();
}
public override void OnBendEnd()
{
base.OnBendEnd();
... |
using Framework.Core.Common;
using Tests.Data.Van.Input;
using OpenQA.Selenium;
namespace Tests.Pages.Van.Main.Events.EventWizardNewPageTabs
{
public class LocationTab : EventWizardNewPageTab
{
#region Element Declarations
public new IWebElement TabLabel { get { return TabLabel("Loc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CheckAvability.Model;
using CheckAvability.Common;
using System.Net.Http;
namespace CheckAvability.Service
{
public class AuthService : BaseHttpClient, IAuthService
{
... |
using System;
using Xunit;
using Moq;
using SourceCode;
namespace Demo.Test
{
public class DeskfanTest
{
[Fact]
public void PowerLowerThanZero_OK()
{
var mock = new Mock<Ipower>();
mock.Setup(power => power.GetPower()).Returns(() => 0);
//var fan = ne... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Vortex.Decay.Kernels;
namespace VortexTests
{
[TestClass]
public class Decay
{
[TestMethod]
public void ExponentialTest()
{
var e = new Ex... |
using LightingBook.Test.Api.Common.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LightingBook.Tests.Api.Dto.GetItinerary;
using LightingBook.Tests.Api.Proxy.v10;
using TravelAvailabilityResponse = LightingBook.Test.Api.Client.v10.Models.T... |
using System;
using Foundation;
using WeChat.iOS;
namespace WeChat.iOS.Samples
{
public class WeChatAPI: WXApiDelegate
{
//微信登录
public bool Log(string appID)
{
var result = WXApi.RegisterApp(appID);
return result;
}
//微信链接打开
public bool Open(NSUrl url)
{
var result = WXApi.HandleOpenURL(url, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using alg;
/*
* tags: bs, dp
* bs: Time(nlogw), Space(1)
* dp[i, m] = min(max(dp[j, m-1], sum[j+1..i])), j=[0..i]
*/
namespace leetcode
{
public class Lc410_Split_Array_Largest_Sum
{
public int SplitArrayBs(int[] nums, int m)
... |
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 Movie_Database
{
public partial class Form5 : Form
{
public Form5()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using EventSystem;
public class TenantDisplay : MB
{
public Unit unit;
public Text tenantName;
public GameObject evictButton;
public Text feedback;
void Start() {
evictButton.SetActiv... |
namespace HobbyGenCoreTest.Base
{
using HobbyGen.Persistance;
using Microsoft.EntityFrameworkCore;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// Base testing class for any interaction with datbase contexts
/// </summary>
[TestClass]
public class Databa... |
using AutoMapper;
using OnboardingSIGDB1.Domain.Cargos;
using OnboardingSIGDB1.Domain.Cargos.Dtos;
using OnboardingSIGDB1.Domain.Empresas;
using OnboardingSIGDB1.Domain.Empresas.Dtos;
using OnboardingSIGDB1.Domain.Funcionarios;
using OnboardingSIGDB1.Domain.Funcionarios.Dtos;
using OnboardingSIGDB1.Domain.Utils;
name... |
using fNbt;
public class CellBehaviorSign : CellBehavior, IHasData {
public string message { get; set; }
public override void onRightClick() {
base.onRightClick();
PopupSign popup = Main.instance.findPopup<PopupSign>();
if(popup != null) {
popup.open();
popup... |
//=====================================================================
//
// THIS CODE AND INFORMATION IS PROVIDED TO YOU FOR YOUR REFERENTIAL
// PURPOSES ONLY, AND IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
// WARRANTIES OF MERCHANTABILI... |
using Domain.FixingDomain;
using Domain.FixingDomain.Interfaces;
using Kursator.Interfaces;
using Library.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Kursator.Services
{
public class FixingService : IFixingService
{
private rea... |
using System;
using System.ComponentModel.Composition.Hosting;
using System.Reflection;
namespace AssemblyResolver
{
/// <summary>
/// Class AssemblyResolver.
/// </summary>
public static class AssemblyResolver
{
private static IAssemblyResolutionStrategy strategy;
/// <summary>
... |
namespace MeriMudra.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
[Table("CcDetails")]
public partial class CcDetail
{
[Key]
[Column("CcDetailId")]
[DatabaseG... |
using System.Threading.Tasks;
namespace gView.Framework.IO
{
public interface IPersistStream : IErrorReport
{
object Load(string key);
object Load(string key, object defVal);
object Load(string key, object defVal, object objectInstance);
Task<T> LoadAsync<T>(string key, T obje... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.