text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Aroma_Violet.Models { public class PayOrderViewModel { public PayOrderViewModel() { this.AccountInfo = new List<PayOrderAccountInfo>(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; using Cashflow.Models; using Microsoft.AspNet.Identity; namespace Cashflow.Controllers { [Authorize(Roles = "user")] public class CompararController : Controller { ...
/* * Copyright (c) 2021 Samsung Electronics Co., 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
using System.ServiceModel.Description; using Windows.UI.Xaml; namespace Uwp.Xaml.Navigation.Navigation { public static class NavigationServiceProvider { private static INavigationService _navigationService; private static INavigationService CreateNavigationService() { var frame = ((MainPage)Window.Current....
// Copyright 2020 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...
using Assets.Scripts.Generic.Dice; using Assets.Scripts.Player; using Assets.Scripts.RobinsonCrusoe_Game.Characters; using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes; using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes.Food; using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes.Inventions_and_Terrain; usi...
using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.Extensibility; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Win...
namespace OCP.AppFramework { /** * Base controller for public shares * * It will verify if the user is properly authenticated to the share. If not a 404 * is thrown by the PublicShareMiddleware. * * Use this for example for a controller that is not to be called via a webbrowser * directly. For example a PublicPr...
using Sandbox.Shared; using RuntimeUnitTestToolkit; using System; using System.Collections.Generic; using System.Linq; using System.Text; using ZeroFormatter.Formatters; using ZeroFormatter.Segments; using UnityEngine; namespace ZeroFormatter.Tests { public class UnionTest { public void UnionLike() ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; public enum Algoritmo { PerlinNoise, PerlinNoiseSuavizado } public class Generator : MonoBehaviour { [Header("Referencias")] public Tilemap tileMap; public TileBase tile; [Header("Dimens...
using System; using System.Collections.Generic; using System.Windows.Forms; using Microsoft.EnterpriseManagement.UI.SdkDataAccess; using Microsoft.EnterpriseManagement.ConsoleFramework; using Microsoft.EnterpriseManagement.UI.Extensions.Shared; using Microsoft.EnterpriseManagement.GenericForm; using Microsoft.En...
using System; using System.Collections.Generic; using UnityEngine; [CustomLuaClass] public class DynamicGrass : MonoBehaviour { public enum E_PlantType { Wheat } private class EffectiveBody { public int id; public int force; public bool isNew; public bool isMoving; } private List<DynamicGrass.Eff...
// // 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; using DotNetNuke.ComponentModel; using DotNetNuke.Entities.Portals; namespace DotNetNuke.Framework { /// <summary> /// Enables modu...
using Org.BouncyCastle.Crypto.Utilities; using Org.BouncyCastle.Utilities; using System; namespace Org.BouncyCastle.Crypto.Modes.Gcm { internal abstract class GcmUtilities { internal static byte[] OneAsBytes() { return new byte[16] { 128, 0, 0, 0, 0, 0, 0, ...
using System; namespace WeatherService { public class WeatherOptions { public string ApiKey { get; set; } public Uri BaseAddress { get; set; } = new Uri("https://api.openweathermap.org/data/"); public void Validate() { if (string.IsNullOrWhiteSpace(ApiKey)) ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YoutubePlaylists.Data.Models { public class Rating { public int Id { get; set; ...
using LuaInterface; using SLua; using System; using UnityEngine; public class Lua_UnityEngine_MeshRenderer : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int constructor(IntPtr l) { int result; try { MeshRenderer o = new MeshRenderer(); LuaObject.pushValue(l, true); LuaObjec...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace CarParkingSystem.Models { public class ParkingSpace { [Key] public int Id { get; set; } public string PSName { get; set; } public string F...
using System.Collections.Generic; using System.Threading.Tasks; using API.Data; using API.DTOs; using API.Entities; using API.Extensions; using API.Helpers; using API.Interfaces; using AutoMapper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace A...
using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Yandex.Dialogs.Models.Analytics { [JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))] public class Analytics { public Analytics() { Events = new List<Event>();...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Salesforce.Force { public class QueryResult<T> { public string nextRecordsUrl { get; set; } public int totalSize { get; set; } public string done { get; set; } public Lis...
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; namespace NoodleBot.Modules.DataUsage { internal static class DataDB { public static UserAccounts.UserAccount AddUserAccounts(ulong user /*, string server*/) { SqlConn...
using NChampions.Application.ViewModels; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace NChampions.Application.Queries { public interface IChampionshipGameQueries { Task<List<ChampionshipGamesViewModel>> GetGamesByChampionship(Guid ChampionshipId); } }
using AutoMapper; using Crt.Data.Database.Entities; using Crt.Data.Repositories.Base; using Crt.Model; using Crt.Model.Dtos.Tender; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Crt.Data.Repositories {...
using System; using System.Collections.Generic; using System.Text; namespace RFID_Inventarization { internal class JunkObject { private string _ID; private string _Name; public JunkObject(string name, string id) { this._Name = name; this._ID = id; ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Bai14_DBFirst.Models { public partial class Loai { public Loai() { HangHoa = new HashSet<HangHoa>(); } [Key] ...
namespace NDDDSample.Interfaces.BookingRemoteService.Common { #region Usings using System; using System.Collections.Generic; using System.ServiceModel; using Dto; #endregion /// <summary> /// This facade shields the domain layer - model, services, repositories - /// from concerns...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SortingAlgorithms.cs" company=""> // // </copyright> // <summary> // The sorting algorithms. // </summary> // ----------------------------------------------------------------...
using UnityEngine; public class GhostTrail : MonoBehaviour { public GameObject ghost; [Range(0f, 1f)] public float delay = 1f; public CharacterMovement move; public CharacterAnimation anim; private Timer ghostTimer; private void Awake() { ghostTimer = new Timer(delay); ...
using UnityEngine; using System.Collections; public class Move : MonoBehaviour { Vector3 moveVector = new Vector3(0, 0, 0); //Move Vector is added to my transform every frame Vector2 touchVector = new Vector2(0, 0); //Where the touch is on the screen public float moveSpeed = 1.0f; private float scree...
 using Entity; using System.Data.SqlClient; using System; using System.Data; namespace DataAccess { public class InformationDA { public static void Insert1RowIfNeeded() { SqlCommand command = DUtils.GetCommand(); command.CommandType = System.Data.CommandTyp...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; namespace Motion.Tools { public class SceneSwicher : SingletonMonoBehaviour<SceneSwicher> { static readonly List<string> scenes = new List<string> { "PlanarRefle...
using System; using System.Collections.Generic; using System.Linq; namespace StringSearch { public abstract class ASearchAlgorithm : ISearchAlgorithm { virtual protected string Ignore { get { return String.Empty; } } vi...
using System; namespace LePapeoGenNHibernate.Enumerated.LePapeo { public enum ValoracionEnum { muy_baja=1, baja=2, media=3, alta=4, muy_alta=5 }; }
using System; namespace Bruteforce { class Program { //Main static void Main(string[] args) { //Display Title Console.Title = "Simple Local Bruteforce"; //Title colour Console.ForegroundColor = ConsoleColor.DarkGreen; ...
using System; using System.Data.SqlClient; namespace ConnectToDB.Examples { public static class BasicConnectionExample { public static void ShowBasicSyntaxConnection() { SqlConnection connection = new SqlConnection(); connection.ConnectionString = "Server = UKR-RUSLANAN...
using System; using System.Text; namespace Goop { public static class StringBuilderEx { public static StringBuilder AppendFormatted (this StringBuilder builder, FormattableString value) { builder.AppendFormat(value.Format, value.GetArguments()); return builder; } } }
//Problem 9. Delete odd lines //Write a program that deletes from given text file all odd lines. //The result should be in the same file. using System; using System.Text; using System.IO; namespace Problem09DeleteOddLines { class DeleteOddLines { static void Main() { try ...
namespace BPiaoBao.Cashbag.Domain.Models { /// <summary> /// 临时额度实体接收对象 /// </summary> public class TempCreditInfo { /// <summary> /// 最近未逾期周期(天) /// </summary> public int Day { get; set; } /// <summary> /// 周期内申请次数 /// </summary> pub...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using CsvHelper; using CsvHelper.Configuration; using CsvHelper.Configuration.Attributes; using Lunr; using Spectre.Console; // our database var cities = new Dictionary<string, City>(); var status = AnsiCon...
//-------------------------------------------------------------------------- // <copyright file="OMSDataLib.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <summary> // OMSDataLib.cs // </summary> //----------------------------------------------------...
using System; class Program { public static void Main() { double x1 = double.Parse(Console.ReadLine()); double y1 = double.Parse(Console.ReadLine()); double x2 = double.Parse(Console.ReadLine()); double y2 = double.Parse(Console.ReadLine()); double x = double.Parse(Con...
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_02 { public class Program { public static void Main() {} } }
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 ITDepartment.Attributes; using ITDepartment.DataAccess; using ITDepartment.Models.Sprint; using WebGrease.Configuration; namespace ITDepartmen...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebApplication1.Models { public class Firm { public int FirmID { get; set; } public string FirmName { get; set; } public string FirmAddress { get; set; } public List<Wall...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Test scene game controller; /// </summary> public class TSGC : IGGC { public static TSGC TSIS { get; private set; } //TSGC instance; protected override void Awake() { TSIS = this; } // Star...
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 SchoolManager { public partial class Message : Form { public Message() ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Satelita : MonoBehaviour { public Text wyswietlwysokosc; public Text wyswietlPredkosc; public ConfigurableJoint CFJ; public ConfigurableJoint OwiewkaLewaCFJ; public ConfigurableJoint...
using System; using System.Collections.Generic; using System.Threading.Tasks; using GoalBook.Core.Domain.Entities; using GoalBook.SharedKernel; using Microsoft.EntityFrameworkCore; namespace GoalBook.Infrastructure.Data.Repositories { /// <summary> /// Предоставляет взаимодействие с таблицей цели. ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text.Json.Serialization; using Blazored.LocalStorage; using Microsoft.CodeAnalysis; using Microsoft.JSInterop; namespace AppBuilder.Shared { public class AppState : I...
namespace RedLine.Models.WMI { public class WmiGraphicCardQuery : WmiQueryBase { public WmiGraphicCardQuery() : base("Win32_VideoController", null, new string[4] { "Name", "AdapterRAM", "Caption", "Description" }) { } } }
namespace DichVuMotCua.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("chitietthutuc")] public partial class chitietthutuc { public...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; namespace PatientJournalClassLib.Models { public class Patient { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Pat...
using UnityEngine; using System.Collections; public class CutButtonScript : MonoBehaviour { public Vector3 targetPosition = new Vector3(); private Clickable button = null; public Cutable item = null; public static Cutable currentItem = null; public static Vector3 exitPosition = new Vector3(20,0,0); void Awak...
using System; namespace KRF.Core.Entities.Customer { public class JobInvoice { public int InvoiceID { get; set; } public int JobID { get; set; } public string InvoiceCode { get; set; } public DateTime InvoiceDate { get; set; } public string Notes { get; set; } p...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace ECommerceSite.Controllers { [Route("[controller]")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Webcorp.Model; namespace Webcorp.Controller { public interface IBusinessAssemblyProvider { List<Assembly> Assemblies { get; } List<Type> Businesse...
using UnityEngine; using System.Collections; using UnityEditor; namespace ProjectV.ItemSystem{ public partial class ISObjectEditor { // int _listviewwidth = 200; // int _listviewbuttonwidth = 190; // int _listviewbuttonheight = 25; // int _selectedindex = -1; // void ListView(){ // if (state != DisplayStat...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Windows.Media.Imaging; namespace Tff.Pa...
namespace SGDE.Domain.ViewModels { public class ReportResultsByWorkViewModel { public int clientId { get; set; } public string clientName { get; set; } public int workId { get; set; } public string workName { get; set; } public double costWorkers { get; set; } pu...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using DataGridCustomColumns; using System.Threading; using System.Reflection; namespace kkmKassa { public partial class confUsers : Form { ...
using System; using System.Collections.Generic; using Assets.Scripts.Buildings; using Assets.Scripts.Core; using Assets.Scripts.Selection; using Assets.Scripts.Units; using UnityEngine; namespace Assets.Scripts { public class MapController : Singleton<MapController> { private readonly Dictionary<int, ...
using System; using System.Collections.Generic; using System.Collections; using System.Linq; namespace linq2 { class TasandiPunkt { int x, y; public TasandiPunkt(int ux, int uy) { x = ux; y = uy; } public int KysiX() { return x; } public int KysiY()...
using System.Collections; using System.Collections.Generic; using NUnit.Framework; using Unity.GoQL; using UnityEngine; using UnityEngine.TestTools; namespace Tests { public class TestTokens { [Test] public void TestTokenSimple() { var tokenizer = new Tokenizer(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; namespace AttackDragon.Models { public class InspectorTreeItem { public string Name { get; set; } public ImageSource ImageSource { get; set; } ...
using System; namespace Ambassador.Models.ScheduledDates.Interfaces { public interface IScheduledDateCalculatorCalculateScheduleModel { // Weekday of week bool EveryMonday { get; set; } bool EveryTuesday { get; set; } bool EveryWednesday { get; set; } bool EveryThur...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //02. Command Interpreter namespace CommandInterpreter { class CommandInterpreter { static void Main(string[] args) { List<string> lines = Console.ReadLine().Split(new ...
using LuaInterface; using SLua; using System; public class Lua_UILabel_Crispness : LuaObject { public static void reg(IntPtr l) { LuaObject.getEnumTable(l, "UILabel.Crispness"); LuaObject.addMember(l, 0, "Never"); LuaObject.addMember(l, 1, "OnDesktop"); LuaObject.addMember(l, 2, "Always"); LuaDLL.lua_pop(l...
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 PDV.UTIL.FORMS.Forms.Caixa { public partial class frmContadorMoedas : Form { p...
using System.Linq; using System.Web.Mvc; using CS.Services; using CS.Data; namespace CS.Web.Controllers { public class CategoryController : Controller { private readonly ICategoryService _categoryservice; public CategoryController(ICategoryService categoryservice) { _catego...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.ServiceModel; using System.Data.SqlClient; namespace BLL集团客运综合管理.VehicleManage { [ServiceContract] class FRM_JiaShiYuanGuanLi_Update { DALPublic.DALMethod myDALMethod = new DALPubl...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Emanate.Core; namespace Emanate.Vso.Admin.Inputs { public partial class VsoInputSelectorView { private VsoInputSelectorViewModel viewModel; public VsoInputSelectorView() { InitializeCo...
using WebDataDemo.Model; namespace WebDataDemo.Option_06_Repo; public interface IAuthorRepository { Task<IEnumerable<Author>> ListAsync(); Task<Author> GetByIdAsync(int id); Task<Author> GetByIdAsyncWithCourses(int id); Task CreateAsync(Author newAuthor); Task UpdateAsync(Author author); Tas...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace api.Models { [Table("tb_estoque")] public partial class TbEstoque { [Key] [Column("id_estoque")] public int IdEstoque { get; se...
using System.Collections.Generic; namespace MvcMonitor.Models { public class StackTraceLocationResult { public List<string> Locations = new List<string>(); } }
using System; using Schedule.MyControls; using Schedule.Pages; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Schedule.Tools { public static class PageSelector { static int _selectedPage = 1; static Footer_Button button_1; static Footer_Button button_2; static Footer_...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class bag_manager : MonoBehaviour { public GameObject bag_box; public Text sword_count; public Text shield_count; public Text health_potion_count; public Text berry_count; public Text ma...
using Microsoft.Extensions.DependencyInjection; using NMoSql.Helpers; using System; namespace NMoSql { public static class QueryHelpersExtensions { public static IServiceCollection AddQueryHelpers(this IServiceCollection services) { services .AddSingleton<HelperMana...
 namespace Yeasca.Metier { public class Adresse { public Adresse() { initialiser(); } public Adresse( string numéroVoie, string répétitionVoie, string typeVoie, string nomVoie, string complémentVoie, ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; using System.Data; using System.Data.SqlClient; public partial class DeveDetails : System.Web.UI.Page { string str = ConfigurationManager.Connectio...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Text; using System.Threading.Tasks; namespace FuzzyLogic.Operations { public class Difference : IBinaryOperation { public double Operate(double operand1, double operand2) => Math.Mi...
using MaterialSurface; using System; using System.Windows.Forms; using TutteeFrame2.Controller; using TutteeFrame2.Model; using TutteeFrame2.Utils; namespace TutteeFrame2.View { public partial class ClassView : UserControl { public HomeView Home; public string gradeFilter = ""; public ...
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.IO; using System.Drawing; namespace Uxnet.W...
// **************************************************************** // Copyright 2002-2011, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org // **************************************************************** // ****************...
using System; using Amazon.Runtime; using Amazon.SQS.Model; using OpenTracing; using OpenTracing.Util; namespace Epsagon.Dotnet.Instrumentation.Handlers.SQS.Operations { public class ReceiveMessageRequestHandler : IOperationHandler { public void HandleOperationAfter(IExecutionContext context, IScope scop...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace MyCore { public class PanelFade : UIBase { Image m_fadeImage; protected override void Start() { base.Start(); m_fadeImage = transform.Find("Image").G...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using trpo_lw7.Models; namespace trpo_lw7.Controllers { public class HomeController : ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using Newtonsoft.Json; #endregion namespace Dnn.PersonaBar.SiteSettings.Services.Dto { public class UpdateProfilePropertyRequest ...
using System; class Program { static void Main() { var text = Console.ReadLine(); var index = 0; var power = 0; var oldPower = 0; while ((index = text.IndexOf('>', index)) > 0) { power = int.Parse(text[index + 1].ToString()) + oldPower; ...
using System; using FluentAssertions; using NSubstitute; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol.Document; using OmniSharp.Extensions.LanguageServer.Protocol.General; using OmniSharp.Extensions.LanguageServer.Protocol.Workspace; using OmniSharp.Extensions.LanguageServer.Sh...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Sesi.WebsiteDaSaude.WebApi.Models { public partial class Servicos { public int IdServico { get; set; } [Required(ErrorMessage = "O serviço deve ter uma categoria vinculada.")] ...
using System; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Runtime.InteropServices.ComTypes; using System.Runtime.Remoting.Channels; using System.Windows.Markup; using System.Xml.XPath; namespace LINQ { internal class Program { /* Practice your LINQ! *...
using System; using Microsoft.Exchange.WebServices.Data; using TestExchange.Properties; namespace TestExchange { class Program { static void Main(string[] args) { var service = new ExchangeService(ExchangeVersion.Exchange2010); // Setting credentials is unnecessary whe...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace CopiasSeguras.Cifrado { class RSA { //Tamaño de clave RSA stat...
using System; namespace SparamTestLib { public class SparamFreqAt : SparamTestCase.TestCaseAbstract { private int iStartCnt, iStopCnt; private bool blnInterStart, blnInterStop; public override void Initialize() { _Result = new SResult(); for (int seg ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace MobyDickConsoleApp { [XmlRoot("words")] public class WordList { [XmlElement("word")] public List<Word> words { get; set...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EuclidianSpace3D { public struct Point3D // Task 1 { private static readonly Point3D StartCoordSys = new Point3D(0, 0, 0); private static readonly int zero = 0; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PC : MonoBehaviour { public KeyCode rightKey = KeyCode.RightArrow; public KeyCode leftKey = KeyCode.LeftArrow; public float speed = 8f; public LayerMask borderMask; private Rigidbody2D body; float hor...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace ImmedisHCM.Web.Models { public class CreateJobViewModel { [Required] [Display(Name = "Job Title")] public string Name { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Domain { public class Forum { public virtual Guid Id { get; set; } public virtual string ForumName { get; set; } public virtual string Host { get; set; } public virtual s...