text stringlengths 13 6.01M |
|---|
//------------------------------------------------------------------------------
/*anytime
you use types that have a Dispose() method, it’s your responsibility to
release those resources by calling Dispose(). The best way to ensure that
Dispose() always gets called is to utilize the using statement or a
try... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_JointSuspension2D : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
JointSuspension2D jointSuspension2D = default(JointSuspension2D);
LuaObje... |
/*
* 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 appl... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("StoreManager")]
public class StoreManager : MonoClass
{
public StoreMan... |
using GymBooking.Controllers;
using GymBooking.Core;
using GymBooking.Core.Models;
using GymBookingTests.Extensions;
using GymBooking.Core.ViewModels;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collection... |
using EFCoreDemo.Entity;
using EFCoreDemo.face;
using EFCoreDemo.service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EFCoreDemo
{
public class buniessBll
{
private static IRepository<TestAccounts> res = new RepositoryService<TestAccounts>(new Conte... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ApplicationsReviewResult.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------... |
using System.IO;
namespace FlWaspMigrator.Core
{
public class FstDataPacketConverter : IFstDataPacketConverter
{
public FstDataPacket Decode(FstPacket packet)
{
var reader = new BinaryReader(new MemoryStream(packet.Data));
reader.ReadByte();
var... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Relocation.Com;
using System.ComponentModel;
using Relocation.Com.Tools;
using Relocation.Data;
using Relocation.ControlLibrary;
using System.Diagnostics;
namespace Relocation.Base.UI
{... |
using System;
namespace Caliburn.Light.WinUI
{
/// <summary>
/// Resolves view and view-model types.
/// </summary>
public interface IViewModelTypeResolver
{
/// <summary>
/// Locates the view type based on the specified model type.
/// </summary>
/// <param name="m... |
using Enrollment.Forms.Configuration.DataForm;
using Enrollment.Forms.Configuration.ListForm;
using Enrollment.Forms.Configuration.SearchForm;
using Enrollment.Forms.Configuration.TextForm;
using Enrollment.XPlatform.Flow.Settings.Screen;
using Enrollment.XPlatform.Tests.Helpers;
using Enrollment.XPlatform.ViewModels.... |
// Copyright 2016 Google Inc. 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... |
namespace ComputerBuilderSystem.Contracts
{
public interface IRandomAccessMemmory
{
int Amount { get; }
void SaveValue(int newValue);
int LoadValue();
}
} |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.W... |
using System.IO;
namespace iQuest.VendingMachine.UseCases.Reports.Interfaces
{
internal interface IZippedReportFileStream
{
bool CanRead { get; }
bool CanSeek { get; }
bool CanWrite { get; }
long Length { get; }
long Position { get; set; }
void Flush();
... |
using DeliverySystem.Models;
namespace DeliverySystem.Dtos.Delivery
{
public class GetDeliveryDto
{
public int Id { get; set; }
public string State { get; set; }
public AccessWindow AccessWindow { get; set; }
public Recipient Recipient { get; set; }
public Order Order { ... |
namespace TPLinCSharpSample
{
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
public class StockController
{
private ConcurrentDictionary<string, int> stock;
private int totalQuantityBought;
private int totalQuantitySold;
... |
using OmniGui.Xaml;
using OmniXaml;
using OmniXaml.Attributes;
using System;
using CoreGraphics;
using UIKit;
namespace OmniGui.iOS
{
public static class Converter
{
[TypeConverterMember(typeof(Bitmap))]
public static Func<string, ConvertContext, (bool, object)> ThicknessConverter = (str, v) =... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_HumanLimit : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
HumanLimit humanLimit = default(HumanLimit);
LuaObject.pushValue(l, true);
Lu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringConcatApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(123 + 456);
Console.WriteLine("123" + 456);
Co... |
using System.Drawing;
namespace QuanLyTiemGiatLa
{
public class MauTrangThaiDo
{
public Color ChuaGiat { get; set; }
public Color DaGiat { get; set; }
public Color GhiChu { get; set; }
public Color DaTra { get; set; }
public Color PhieuHuy { get; set; }
... |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
namespace Caliburn.Light.WPF
{
/// <summary>
/// A service that manages windows.
/// </summary>
public class W... |
namespace ns13
{
using System;
[AttributeUsage(AttributeTargets.Method, Inherited=true)]
internal sealed class Attribute14 : Attribute
{
}
}
|
using System;
namespace PE
{
class e15
{
/// <summary>
/// The number of paths available is the sum of the number of paths to the right and below the position.
/// </summary>
/// <param name="args"></param>
static void Main(string[] args)
{
long siz... |
using System;
using Newtonsoft.Json;
namespace InstagramMVC.Models.InstagramModels
{
public class InstagramAuthResponse
{
public string access_token { get; set; }
public UserInfo user { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SizeLaser : MonoBehaviour {
public string type;
public Vector3 direction;
public Material laserMaterial;
public GameObject laserSpawn;
public AudioSource laserNoise;
void Start()
{
laserNo... |
using System.Collections.Generic;
using System.Linq;
using MvcTurbine.GoogleSiteMap.Models;
namespace MvcTurbine.GoogleSiteMap.Helpers
{
public interface IGoogleSiteMapProvider
{
IEnumerable<GoogleUrl> GetUrls();
}
public class GoogleSiteMapProvider : IGoogleSiteMapProvider
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace Console2.From_076_To_100
{
public class _086_UniqueBinaryTree
{
/*
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
... |
namespace Enrollment.Spa.Flow.Responses.TransientFlows
{
public class ErrorFlowResponse : BaseFlowResponse
{
}
}
|
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System;
namespace Problem2
{
class Program
{
static int M, V;
static void CalcNumber(int n)
{
string str = n.ToString();
str = str.TrimStart('0');
int digits = str.Length;
if (digits > 9) digits = 9;
if ((digits % 2) ... |
using System;
using System.Linq;
using System.Text.RegularExpressions;
using ConnectLibrary.Logger;
using ConnectLibrary.Service;
using HelperLibrary.CustomExceptions;
using HelperLibrary.Models;
using HelperLibrary.Models.Interfaces;
using static ConnectLibrary.LibrarySettings;
namespace ConnectLibrary
{
public s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace DicomLoaderManager
{
/// <summary>
/// Service contract for a dicom scan manager, that scans a particular path
/// recursively and stores the resul... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
/* Есть предложение String str1 =
* " Предложение один Теперь предложение два Предложение три";
* нужно превести строку к нормально виду
* " Предложение один.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Tester : MonoBehaviour {
void OnMouseDown()
{
// check that it worked
Debug.Log("Player has clicked " + gameObject.name);
// run your interaction code here
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace DuaControl.Web.Models
{
public class UserViewModel
{
public int Id { get; set; }
[Display(Name = "Username")]
public string UserName { get; set; }
[Display(Name = "First Nam... |
using CryptoInvestor.Core.Domain;
using CryptoInvestor.Core.Repositories;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using System;
using System.Threading.Tasks;
namespace CryptoInvestor.Infrastructure.Repositories
{
public class FavouritesRepository : IFavouritesRepository, IMongoRepository
{
pr... |
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;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using GestDep.Entities;
using GestDep.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GestDep.Services
{
public interface IGestDepService
{
void RemoveAllData();
void Commit();
void AddCityHall(... |
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameStore.Domain.Identity
{
[MetadataType(typeof(RoleMetaData))]
public class AppRole : Id... |
using MobileWx.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MobileWx.Web.Controllers
{
public class BaseController : Controller
{
public JSONResult JSON(object obj)
{
JSONResult result = new JSONRes... |
using System.Collections.Generic;
using System.Xml.Linq;
using Bindable.Linq.Documentation.Transformation;
namespace Bindable.Linq.Documentation.Tests.Behaviour
{
public class behaves_like_batch_writer_with_fileSystem_in_play : BehaviourBase
{
internal static int DocumentCount;
internal static IFileSys... |
using SDL2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace SharpDL.Events
{
public class TextInputEventArgs : GameEventArgs
{
public String Text { get; set; }
public UInt32 WindowID { get; set; ... |
using System;
namespace WorkingWithStrings
{
class Program
{
static void Main(string[] args)
{
string phrase1 = "Working Strings";
string phrase2 = "Working" + "Strings";
Console.WriteLine("Working\nStrings");
Console.WriteLine("Working\"Strings... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace CatAndDogServer.Migrations
{
public partial class changeName : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "FullName",
table:... |
using FatCat.Nes.OpCodes.AddressingModes;
namespace FatCat.Nes.OpCodes.ClearingFlags
{
public class ClearCarryFlag : ClearFlagOpCode
{
public override string Name => "CLC";
protected override CpuFlag Flag => CpuFlag.CarryBit;
public ClearCarryFlag(ICpu cpu, IAddressMode addressMode) : base(cpu, addressMode) ... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class ArcAktenaufenthaltStatus
{
public ArcAktenaufenthaltStatus()
{
ArcAktenaufenthalt = new HashSet<ArcAktenaufenthalt>();
}
public int Aktenaufent... |
using System;
using System.Linq;
using System.Threading.Tasks;
using W3ChampionsStatisticService.CommonValueObjects;
using W3ChampionsStatisticService.PadEvents;
using W3ChampionsStatisticService.Ports;
using W3ChampionsStatisticService.ReadModelBase;
namespace W3ChampionsStatisticService.W3ChampionsStats.HeroWinrate... |
using System;
namespace HCL.Academy.Model
{
public class RoleAssignmentRequest:RequestBase
{
public string Email { get; set; }
public string UserId { get; set; }
public string RoleId { get; set; }
public bool Ismandatory { get; set; }
public DateTime Lastdayofcompletion... |
using System.Collections;
using System.Collections.Generic;
using Engine;
using UnityEngine;
namespace Game
{
public class MgrIniter
{
private static bool _inited;
public static void Init()
{
if (_inited)
{
return;
}
Gam... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Remote
{
/**
* User info for a remote user
*
* @since 13.0.0
*/
public interface IUser
{
/**
* @return string
*
* @since 13.0.0
*/
string getUserId();
... |
using System;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Configuration;
using System.Web.UI.WebControls;
using System.Collections.Generic;
using System.Web.UI.DataVisualization.Charting;
using System.Drawing;
using System.Data;
public partial class Duplicate : System.Web.UI.Page... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameController : MonoBehaviour
{
public GameObject TBlockPrefab;
public GameObject OBlockPrefab;
public GameObject JBlockPrefab;
public GameObject LBlockPrefab;
public GameObject IBlockPrefab;
public Ga... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class DynDokumenttyp
{
public DynDokumenttyp()
{
DynBeleg = new HashSet<DynBeleg>();
DynDokumenttypMatching = new HashSet<DynDokumenttypMatching>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManagerSoftware.CoreEngine
{
internal class Director : Employee
{
Queue<Archive> queu = new Queue<Archive>();
public Director(string name, string email, string... |
using System;
using System.Data.Linq.Mapping;
namespace Diablo3Analyzer.DatabaseStructs
{
[Table(Name = "game_leaderboards_index")]
public class GameLeaderboardsIndex
{
[Column(Name = "leaderboard_index_id", IsPrimaryKey = true, UpdateCheck = UpdateCheck.Never)]
public int leaderboardInde... |
namespace FacultyV3.Core.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Initialize_18 : DbMigration
{
public override void Up()
{
DropIndex("dbo.Account", new[] { "Role_Id" });
CreateIndex("dbo.Account", "Role_ID");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Widget;
using SimpleCRUD.DataHelper;
using SimpleCRUD.Models;
using SimpleCRUD.Resources;
nam... |
using bot_backEnd.Models;
using bot_backEnd.Models.AppModels;
using bot_backEnd.Models.ViewModels;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.DAL.Interfaces
{
public interface IPostDAL
{
Task<Ac... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Users.DB
{
public class User
{
[Key]
public int Id { get; set; }
public string Username { get; set; }
public double Money { get; set; }
public List<Item> Items { get; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using MySql.Data.MySqlClient;
using Utils;
namespace DataAccess {
public class ProductDA {
public BindingList<Product> listProducts() {
... |
static public int MissingNumber(int[] nums) {
if (nums.Length == 0) {
return 0;
}
int max = 0;
int min = Int32.MaxValue;
int total = 0;
foreach (int i in nums) {
total += i;
min = i < min ? i : min;
max = i > max ? i : max;
}
int rest = max * (max + 1) / ... |
#region Copyright (C)
// ---------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="Smurf-IV">
//
// Copyright (C) 2011-2012 Smurf-IV
//
// This program is free software: you can redistribute it and/or modify
// it unde... |
using MetroFramework;
using MetroFramework.Forms;
using PDV.CONTROLER.Funcoes;
using PDV.UTIL;
using PDV.VIEW.App_Context;
using PDV.VIEW.Forms.Cadastro;
using PDV.VIEW.Forms.Util;
using System;
using System.Data;
using System.Windows.Forms;
namespace PDV.VIEW.Forms.Consultas
{
public partial class FCO_Fornecedor... |
/*
* Copyright 2019 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license
*
* Unless required by appli... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CommonCore;
using CommonCore.State;
using CommonCore.World;
using CommonCore.Messaging;
using CommonCore.Audio;
using CommonCore.ObjectActions;
namespace World.Ext.TestIsland
{
public class TestIslandJunkScript : MonoBehaviour
... |
using System;
using System.Threading;
namespace progr5
{
class Program
{
static long Factorial(long n)
{
long res = 1;
do
{
res = res * n;
} while (--n > 0);
return res;
}
static void Ma... |
using Microsoft.Extensions.Logging;
using System.Threading;
using System.Threading.Tasks;
namespace BackgroundJob
{
public class Worker : IWorker
{
private readonly ILogger<Worker> _logger;
private int number = 0;
public Worker(ILogger<Worker> logger)
{
_logger = l... |
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 MilkBot.Core;
namespace MilkBot {
public partial class QueueBox : UserControl {
private Queue... |
using UnityEngine;
using System.Collections.Generic;
public class EnemySetter : MonoBehaviour {
public List<SpriteRenderer> renders;
// Use this for initialization
public void UpdateSlot(Mission m){
// Debug.Log ("Update slot");
for ( int i = 0 ; i < 5 ; i++ ){
try {
// Debug.Log ("Update slot "+ i +" " ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using HarmonyLib;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace ValheimDiyagi
{
/// <summary>
/// Hooks Minimap methods
/// </summary>
[HarmonyPatch(typeof(Minimap))]
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LibEqmtDriver.NFA
{
public class NoiseSource
{
public float[] Flist346A
{
get
{
float[] flist = new float[20];
flist[0] = 0.01f;
... |
namespace Template
{
internal class Barato : IPrimitiva
{
public double Decorar(int cantidad)
{
return 2 * cantidad;
}
public double Empacar(int cantidad)
{
return 20 * cantidad;
}
}
}
|
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Kit.Forms.Converters
{
[TypeConversion(typeof(ImageSource))]
public class MyImageSourceConverter : TypeConverter
{
public override object ConvertFromInvariantString(string value)
{
if (string.IsNu... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using AgentStoryComponents.core;
namespace AgentStoryComponents.extAPI.commands
{
public class extraStrategyReport : ICommand
{
private int reveal = 1;
private Dict... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DbInstanceList.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ---------------------------------------------------------------------------------... |
using System;
using System.Net;
using System.IO;
using System.Text;
using System.Web;
using System.Collections.Specialized;
namespace WF.SDK
{
/// <summary>
/// Summary description for wwHttp.
/// </summary>
public class wwHttp
{
/// <summary>
/// Fires progress events when using GetU... |
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
using System.ComponentModel.Composition;
namespace Color.Comment
{
internal static class Definitions
{
#pragma warning disable 169
#pragma warning disable IDE0051
// > The field is never used
// Reason: The field is u... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Datos
{
public class MatriculaDao : ConnectionToSql
{
public DataTable listarMatriculas()
{
DataTable lst_Ma... |
using Scheduler.Models;
using System.Collections.Generic;
namespace Scheduler.ViewModels
{
public class FullDoctorViewModel
{
public IEnumerable<Doctor> Doctors { get; set; }
public IEnumerable<DoctorWorkHours> WorkHours { get; set; }
public IEnumerable<DoctorImage> Image { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Domain.Services.TodayObject
{
public class TodayRiseCabinRequest
{
/// <summary>
/// 订单编号(接口)
/// </summary>
public string _OrderNo { get; set; }
... |
using UnityEngine;
public class PathConst
{
public static string FilePath
{
get
{
string relativePath = "/Resources/behaviac/exported";
if (Application.platform == RuntimePlatform.WindowsEditor)
{
return Application.dataPath + relativePath;
... |
using AspNetCoreSample.Models.Message;
using AspNetCoreSample.Models.Message.Dtos;
using Hybrid.Application.Services;
using System;
using System.Threading.Tasks;
namespace AspNetCoreSample.Services
{
public interface IMessageService : IBaseService<Message, Guid, MessageDto, CreateMessageInput, UpdateMessageInpu... |
using UnityEngine;
using System.Collections;
public class TransparentOcclusion : MonoBehaviour {
private float duration = 0.5f;
private float t = 0f;
private bool collisionOccuring = false;
void Update() {
// Inspired by http://answers.unity3d.com/questions/328891/controlling-duration-of-col... |
using DotNetCoreDemos.Entities;
using Microsoft.AspNetCore.Mvc.Rendering;
using System.Collections.Generic;
namespace DotNetCoreDemos.Models
{
public class EmployeeAddViewModel
{
public Employee Employee { get; set; }
public List<SelectListItem> Cities { get; internal set; }
public Li... |
namespace KompasKeyboardPlugin
{
enum SketchType
{
BlackKeyCut = 0
};
} |
using Mercado.Bo.Log;
namespace Mercado.Bo
{
public abstract class BaseBo
{
protected readonly LogBo Log;
protected BaseBo()
{
Log = new LogBo(GetType().FullName);
}
}
}
|
using Publicon.Infrastructure.DTOs;
using System;
namespace Publicon.Infrastructure.Managers.Abstract
{
public interface ICridentialsManager : IManager
{
public string GenerateSecurityCode();
public TokenDTO GenerateToken(Guid userId, string email, string role, string givenName, string familyN... |
using UnityEngine;
using System.Collections;
using System.IO;
public class PhotoBooth : MonoBehaviour
{
public static string Snapshots = "";
public static string GetFileName(int id)
{
return Snapshots + "/SavedScreen_" + id + ".png";
}
void Awake()
{
Snapshots = Application.pe... |
using System;
using System.Windows.Forms;
namespace QuanLyTiemGiatLa.Danhmuc
{
public partial class frmDSNhanVien : Form
{
public frmDSNhanVien()
{
InitializeComponent();
this.Load += new EventHandler(frmDSNhanVien_Load);
}
private void frmDSNhanVien_Load(object sender, EventArgs e)
{... |
using System.Data;
using System.Data.SqlClient;
using System.Web.Mvc;
using GeoCore.Models;
using Dapper;
namespace GeoCore.Controllers
{
public class AdminController : Controller
{
//
// GET: /Admin/
public ActionResult Index()
{
return View();
}
... |
using NReco.VideoConverter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EasyVideoEdition.Model
{
class Video : ObjectBase, IFile
{
#region Attributes
private String _filePath;
private String _fileName;
... |
using System.Runtime.Serialization;
namespace ZendeskApi.Contracts.Models
{
[DataContract]
public class Via
{
[DataMember(Name = "channel")]
public string Channel { get; set; }
[DataMember(Name = "source")]
public Source Source { get; set; }
}
public class Source
... |
/// <summary>
/// End controller.
/// Arlina Ramrattan
/// 300799246
/// Last Modified by: A.R.
/// Date last modified: October 22, 2016
/// This program is a 2D top down scroller. The plyer is a green tank and they have to try and avoid the red enemy tanks. They have 5 lives.
/// </summary>
using UnityEngine;
using... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Peppy.Domain.UnitOfWork
{
/// <summary>
/// Used to complete a unit of work. This interface can not be injected or directly used.
/// </summary>
public interface IUnitOfWorkCompleteHandle : IDisp... |
using Booking.Agency.Models;
using Booking.Agency.Base.Web.Http;
using Booking.DataAccess;
using Microsoft.Ajax.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
us... |
namespace PicoShelter_DesktopApp
{
public static class ServerRouting
{
public static class WebAppRouting
{
public const string HomeUrl = "https://www.picoshelter.tk";
//public const string HomeUrl = "https://localhost:4200";
public const string ResetPasswordU... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RequesterHead.cs" company="">
//
// </copyright>
// <summary>
// The requester head.
// </summary>
// ------------------------------------------------------------------------... |
using NUnit.Framework;
namespace TypicalInterviewQuestions.Tests
{
[TestFixture]
public class SumOfDigitsInNumberUsingRecursionTests
{
private SumOfDigitsInNumberUsingRecursion _digitCalculator;
[SetUp]
public void SetUp()
{
_digitCalculator = new SumOfDigitsIn... |
using UnityEngine;
using System.Collections;
[System.Serializable]
public class UpdateHealth : MonoBehaviour
{
private int healthInitial; //health
private double percentage; //porcentaje health
public Material[] shaders = new Material[4];
public int[] percentageToChange = new int[4]; //porcentaje para el cambio ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.