text stringlengths 13 6.01M |
|---|
#region using statements
using System;
#endregion
namespace ObjectLibrary.BusinessObjects
{
#region class State
[Serializable]
public partial class State
{
#region Private Variables
private bool findByName;
#endregion
#region Constructor
public State()
... |
using System;
using System.Diagnostics;
using System.Reflection;
using System.Windows.Forms;
namespace swsp
{
public partial class About : Form
{
public About()
{
InitializeComponent();
this.versionLabel.Text = String.Format(this.versionLabel.Text, Assembly.... |
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 MySql.Data.MySqlClient;
namespace OrekiLibraryManage
{
public partial class RemoveUser : Form
... |
//
// TranspositionTableTests.cs
//
// Author:
// Jon Thysell <thysell@gmail.com>
//
// Copyright (c) 2017, 2018 Jon Thysell <http://jonthysell.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using online_knjizara.EF;
using online_knjizara.EntityModels;
using online_knjizara.Helpers;
using online_knjizara.ViewModels;
namespace online_knj... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Smart.Distribution.Station.Controls
{
public class NavBarClickEventArgs : EventArgs
{
private ButtonType _buttonType;
public NavBarClickEventArgs(ButtonType buttonType... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _24.PrintSorted
{
class PrintSorted
{
static void Main(string[] args)
{
/*Write a program that reads a list of words, separated by spaces and prints the list in an alphabetical order.*/
... |
using System.Diagnostics;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ",nq}")]
public record TextDocumentItem : TextDocumentIdentifier
{
/// <summary>
/// The text document's language identifier.
/// </summary>
... |
using System.Collections.Generic;
using BookStore.Model;
namespace BookStore.SearchByXml
{
public interface IQueryProcessor
{
IEnumerable<Review> Process();
}
}
|
using System;
using System.Collections.Generic;
namespace GovermentApp
{
class FakeGovermentGenerator
{
public static ICompositable GetGoverment()
{
ICompositable goverment = new Ministry("Goverment");
string[] firstNames = { "John", "Mike", "Peter", "Bob", "Frank", "A... |
using System;
//For MethodImpl
using System.Runtime.CompilerServices;
namespace Unicorn
{
public static class Input
{
// Keyboard
[MethodImpl(MethodImplOptions.InternalCall)]
public extern static bool GetKeyPress(VK val);
[MethodImpl(MethodImplOptions.InternalCall)]
public extern static bool ... |
using Microsoft.EntityFrameworkCore;
using MyPage.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyPage.Data.DAL
{
public class PostDAL
{
private readonly Contexto _contexto;
public PostDAL(Contexto contexto)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlayTennis.Model.Dto
{
public class EditPurposeDto
{
///// <summary>
///// 微信用户id
///// </summary>
//public Guid wxUserid { get; set; }
public G... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
//using Plugin.Toast;
using Newtonsoft.Json;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace ExpenseTracker.ViewModels
{
public class ExpenseEntriesViewModel : INotifyProp... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using UnityEditor;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Console2.From_026_To_050
{
/*
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [−2,1,−3,4,−1,2,1,−5,4],
the contiguous ... |
using System.Web.Mvc;
using Logs.Authentication.Contracts;
using Logs.Models;
using Logs.Services.Contracts;
using Logs.Web.Controllers;
using Logs.Web.Infrastructure.Factories;
using Logs.Web.Models.Logs;
using Moq;
using NUnit.Framework;
using TestStack.FluentMVCTesting;
namespace Logs.Web.Tests.Controllers.LogsCon... |
using Braspag.Domain.DTO;
using Braspag.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Braspag.Domain.Interfaces.Repository
{
public interface IUsuarioRepository : IRepositoryBase<Usuario>
{
Usuario Autenti... |
using UnityEngine;
using System.Collections;
public class Game : MonoBehaviour {
int gold = 100;
int time = 100;
int Time { get; set; }
int Gold { get; set; }
void Start()
{
//InvokeRepeating("testUpdate", 0.0f, 1.0f);
testActions();
}
public void testActions()
... |
using System;
namespace UniqueElementsInArray
{
class Program
{
static void Main(string[] args)
{
int n, ctr = 0;
int[] arr = new int[100];
int i, j, k;
Console.Write("Input the number of elements to store in the array: ");
n = Con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 9
namespace Solve_Equation
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter a: ");
int a = int.Parse(Console.ReadLine());
... |
using MCC.Utility;
using System;
using System.IO;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace MCC.Twitch
{
public class IrcClient : ILogged
{
protected TcpClient TcpClient;
private StreamReader input;
private StreamWriter output;
public bool Connected { g... |
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 System.Threading;
using MySql.Data.MySqlClient;
namespace HO偏差
{
public parti... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using System.Threading.Tasks;
using UnityCommon;
namespace Naninovel.UI
{
public class LoadingPanel : ScriptableUIBehaviour, ILoadingUI
{
private StateManager stateManager;
private InputManager inputManager;
pu... |
using Microsoft.Win32;
using System;
using System.Diagnostics;
using System.IO;
using System.Management;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Windows.Forms;
namespace StealerBin
{
public class Hook
{
[STAThread]
private static void Main()
{
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Encryption.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------------------... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OrderedSet;
using System.Collections.Generic;
namespace OrderedSet
{
[TestClass]
public class UnitTestOrderedSet
{
[TestMethod]
public void Add_EmptyOrderedSet_NoDuplicates_ShouldAddElement()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using EFCore.BulkExtensions.SqlAdapters;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
namespace EFCore.BulkExtensions.SQLAdapters.SQLite
{
public c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace Console2.G_Code
{
public class G_008_PrePostOrder
{
/*
*
* Given preorder and inorder traversal of a tree, construct the binary tree.
*/
public TreeNode Cons... |
using kelvinho_airlines.Entities.CrewMembers;
using kelvinho_airlines.Utils;
using System.Collections.Generic;
using Xunit;
namespace Tests.Utils
{
public class CrewCheckerTests
{
[Fact]
public void Should_return_false_when_two_incompatible_crew_members_are_alone()
{
var in... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class InterfaceController : MonoBehaviour
{
public static Dictionary<string, Transform> Menus = new Dictionary<string, Transform>();
// Start is called before the first frame update
private static List... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace Common.SmartThread
{
public class SmartThread
{
private List<Thread> threadList = new List<Thread>();
public void Invoke(ParameterizedThreadSta... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Configuration;
using MySql.Data.MySqlClient;
namespace Tes4.G... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Collections;
public class GameManager : MonoBehaviour {
public short game = 0;
public int score = 0;
int savedScore;
float timer = 0;
[SerializeField] AudioClip click;
[SerializeField] Sprite black;
... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Shop.Web.Migrations
{
public partial class Update_Shop_List : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Shops",
... |
namespace Computers.Manufacturers
{
public class Manufacturer
{
public Manufacturer(string name)
{
this.Name = name;
}
public string Name { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Protogame;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Audio;
using System.Collections.ObjectModel;
using Microsoft.Xna.Framework.Input;
using Protogame.SHMUP;
using RedM... |
using System.Text.Json.Serialization;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json;
internal sealed class JsonSpawnAliensOutgoingPacket : JsonPacket
{
private protected override string InternalType => "spawnAliens"... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using JoggingDatingAPI.Models;
namespace JoggingDatingAPI.Controll... |
using UnityEngine;
using System.Collections;
public class StayInArena : MonoBehaviour {
private GameObject m_camera;
private Vector3 m_basePos;
void OnTriggerExit(Collider col) {
if (col.tag == "MainCamera")
m_camera.transform.position = m_basePos;
}
void OnTriggerEnter(Colli... |
using Contoso.XPlatform.ViewModels.ReadOnlys;
using System;
using System.Collections.ObjectModel;
using Contoso.XPlatform.Constants;
using Xamarin.Forms;
namespace Contoso.XPlatform.Utils
{
internal class CollectionCellIViewHelpers
{
public static View GetCollectionViewItemTemplateItem(string template... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Assignment___Chloe_Green
{
public class StockManager
{
private List<Stock> stocks = new List<Stock>();
private List<TransactionLog> tranLogs = new List<TransactionLog>();
private List<PersonalUsage> ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NumbersInTree
{
public class Tree<T>
{
private TreeNode<T> root;
private int countEncounters = 0;
private int countLeafs = 0;
private int countInnerPeak... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CMS_ShopOnline.Areas.CMS_Sale.Models
{
public class POSViewModel
{
public int Id { get; set; }
public int? IdNhanVien { get; set; }
public int? IdKhachHang { get; set; }
public str... |
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using Syste... |
using Car.Super.Market.Test.Pages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TechTalk.SpecFlow;
namespace Car.Super.Market.Test.StepDefinitions
{
[Binding]
public sealed class SearchSteps : BaseClass
{
HomePage homePage = new HomePage();
Se... |
using System.Collections.Generic;
using System.Linq;
using LuizalabsWishesManager.Domains.Models;
using LuizalabsWishesManager.Domains.Repositories;
using LuizalabsWishesManager.Domains.Services;
namespace LuizalabsWishesManager.Services
{
public class WishService : ServiceBase<Wish>, IWishService
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using Utility;
using Uxnet.Web.WebUI;
namespace eIVOGo.Module.SYS
{
public partial class UploadQRCodeKey : System.Web.UI.UserControl
{
protected vo... |
using Infra;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCodeCSharp
{
public class _011_PopuldateNextRight
{
/*
* http://leetcode.com/onlinejudge#question_117
*/
public void PopuldateNextRig... |
using MvvmCross.Core.ViewModels;
namespace EsMo.MvvmCross.Support
{
public abstract class MvxNavigatingObject<T>: MvxNavigatingObject where T:class
{
public T Model { get; private set; }
public MvxNavigatingObject(T model)
{
this.Model = model;
}
}
}
|
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("TutorialLesson3")]
public class TutorialLesson3 : MonoBehaviour
{
public TutorialLesson3(IntPtr address) : this(address, "TutorialLesson3")
{
}
public TutorialLesson3(IntPtr address, string cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace Custom.Models
{
public class TCContext:DbContext
{
public TCContext():base("name=TenantContext")
{
}
public TCContext(string context) : base("Data Source=.;I... |
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace NMoSql.Helpers
{
public class Only : Helper, IQueryHelper
{
public string Fn(JToken only, IList<object> values, Query query) => ((IQueryHelper)this).Fn(only, values, query);
string IQueryHelper.Fn(JToken value, IList<obje... |
using System;
using System.Collections.Generic;
using System.Text;
using ServiceDesk.Core.Entities.RequestSystem;
using ServiceDesk.Core.Enums;
using ServiceDesk.Core.Interfaces.Common;
namespace ServiceDesk.Core.Interfaces.Factories.RequestSystem
{
public interface IRequestFactory<in TData> : IGenericFactory<Req... |
namespace Composite
{
using System;
using System.Collections.Generic;
public class TextArea : UIControl
{
private readonly ICollection<UIControl> controls;
public TextArea()
: base()
{
this.controls = new List<UIControl>();
this.Name = " Tex... |
using System;
using System.Collections.Generic;
using System.Text;
namespace StackQueue
{
class Stack
{
int[] arr;
int max, top;
public Stack(int size)
{
arr = new int[size];
max = size;
top = -1;
}
public voi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navig... |
using AutoMapper;
using FluentValidation.Results;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestApplicationDomain.DTO;
using TestApplicationDomain.Entities;
using TestApplicationDomain.Validator... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class CurrentTarget : MonoBehaviour
{
private Text textArea;
void Start()
{
textArea = GetComponent<Text>();
}
public void SetText(string text)
{
textArea.text = text;
}
} |
using System;
using System.Collections.Generic;
using SMSEntities.SMSDBEntities;
using System.Data;
using MySql.Data.MySqlClient;
namespace SMSDAL.SMSDB
{
public class KeyStatusesDBA
{
public int InsertKeyStatuses(KeyStatuses p_KeyStatuses)
{
int result = 0;
MySqlParameter... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.EntityFrameworkCore.Query;
namespace Microsoft.EntityFrameworkCore.Sqlite.Query.Internal
{
/// <summary>
/// This is an in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Lite_Berry_Pi.Models.Api
{
public class DesignDto
{
public int Id { get; set; }
public string Title { get; set; }
public string DesignCoords { get; set; }
}
}
|
using Spine;
using System;
using UnityEngine;
[RequireComponent(typeof(CharacterController))]
public class BasicPlatformerController : MonoBehaviour
{
public string XAxis = "Horizontal";
public string YAxis = "Vertical";
public string JumpButton = "Jump";
public float walkSpeed = 4f;
public float runSpeed = 1... |
using System.Collections;
using System.Collections.Generic;
using Managers;
using UnityEngine;
using UnityEngine.UI;
public class SmarmotBarController : MonoBehaviour
{
private Slider _bar;
private void Start()
{
_bar = GetComponentInChildren<Slider>();
_bar.value = 0;
_bar.maxValue = 100;
EventManager.In... |
using System;
using System.Net;
using CoreFoundation;
using SystemConfiguration;
using Xamarin.Forms;
using MCCForms.iOS;
[assembly: Dependency (typeof(Reachability_iOS))] //How to use in Forms project: DependencyService.Get<IReachability> ().IsConnected();
namespace MCCForms.iOS
{
public class Reachability_iOS ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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 System.Windows.Navigati... |
using Mosa.Kernel.x86;
using System;
namespace $safeprojectname$
{
public static class PS2Mouse
{
private const byte Port_KeyData = 0x0060;
private const byte Port_KeyStatus = 0x0064;
private const byte Port_KeyCommand = 0x0064;
private const byte KeyStatus_Send_NotReady = 0x0... |
using BlockChain;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ReportGenerator
{
public class Generator
{
private static BlockchainData blockchainData;
... |
using System;
class ReverseOrder
{
static void ReverseNumbers(int number)
{
int devidedNumber = number;
int remainder = 0;
while (devidedNumber != 0)
{
remainder = devidedNumber % 10;
devidedNumber = devidedNumber / 10;
Console.Wr... |
using KekManager.Database.Interfaces;
using KekManager.Security.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace KekManager.Security.Data.Contexts
{
public interface ISecurityDbContext : IDatabaseContext
{
DbSet<SecurityUser> Sec... |
/* 3. Write a program that safely compares floating-point numbers with precision of 0.000001.
* Examples:(5.3 ; 6.01) -> false; (5.00000001 ; 5.00000003) -> true */
using System;
class CompareFloatingPointNumbers
{
static void Main()
{
float firstNumber = 5.00000001f;
float secondNumber =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IES.JW.Model;
using IES.CC.OC.Model;
namespace IES.Service
{
/// <summary>
/// 用户获取相关的权限
/// </summary>
public class AuService
{
/// <summary>
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.UI.WebControls
{
/// -----------------------------------------------------------------------------
/// <summary>
/// Enum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using EntityFramework.Extensions;
using SO.Urba.Models.ValueObjects;
using SO.Urba.DbContexts;
using SO.Urba.Managers.Base;
using SO.Utility.Classes;
using SO.Utility.Models.View... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ex_Polynômes
{
class Polynome
{
public Monome _premier{ private set; get; }
public Monome _dernier{ private set; get; }
// constructeur permettant d'initialiser les variables : ... |
using PetSharing.Contracts.UserContracts;
using System;
using System.Collections.Generic;
using System.Text;
namespace PetSharing.Contracts
{
public class CommentContract
{
public int Id { get; set; }
public int PostId { get; set; }
public int LikeCount { get; set; }
public str... |
using DataLayer.TipoAccesosData;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLayer.TipoAccesos
{
public class TipoAccesos : BusinessBase
{
#region Constructores
public TipoAccesos
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileParse
{
class FileParseException : Exception
{
public FileParseException(string fileName, int exceptionLine)
: base(String.Format("Error! Can't parse to int lin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DamageDealer : MonoBehaviour
{
[SerializeField]
FloatReference damagePoints = null;
public float DamagePoints
{
get => damagePoints;
}
public void OnHit()
{
gameObjec... |
using System.Collections;
using OuterRimStudios.Utilities;
using UnityEngine;
using Random = UnityEngine.Random;
public class Panel : MonoBehaviour
{
private int NUM_SOCKETS = 6;
private int NUM_ROUNDS = 3;
public GameObject sockets;
public GameObject vacuumTubes;
public Animator buttonPanel;
... |
using System;
namespace Fonlow.Testing
{
public class IisExpressFixture : IisExpressFixtureBase
{
public IisExpressFixture(): base(!String.IsNullOrWhiteSpace(TestingSettings.Instance.HostSite))
{
}
}
}
|
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters
{
public class TextEditOrInsertReplaceEditConverter : JsonConverter<TextEditOrInsertReplaceEdit>
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using LePapeo.Models;
using LePapeoGenNHibernate.EN.LePapeo;
namespace LePapeo.Models
{
public class AssemblerHorarioSemana
{
public HorarioSemanaViewModel ConvertENToModelUI(HorarioSemanaEN semEN)
{
... |
using System;
using System.Linq;
using Xunit;
namespace TreeStore.Model.Test
{
public class FacetTest
{
[Fact]
public void Facet_hasnt_properties_at_the_beginning()
{
// ACT
var facet = new Facet();
// ASSERT
Assert.Empty(facet.Propert... |
namespace SGDE.Domain.ViewModels
{
public class WorkBudgetDataViewModel : BaseEntityViewModel
{
public string description { get; set; }
public string reference { get; set; }
public int workId { get; set; }
public string workName { get; set; }
public double? total { get; ... |
using ITQJ.Domain.DTOs;
using ITQJ.Domain.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ITQJ.API.Controllers
{
[ApiC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MobilePhone
{
public class GSMCallHistoryTest
{
public static void StartGSMCallHistoryTest()
{
//add mobile phone for test
Console.WriteLine("GS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Benchmark.Benchmarks
{
using System.Collections.ObjectModel;
using BenchmarkDotNet.Attributes;
/*
TODO: Cost differential due to creating a new collection. BCL caches, even f... |
using Ninject;
using QuickCollab.Accounts;
using QuickCollab.Security;
using QuickCollab.Services;
using QuickCollab.Session;
using System;
using System.Collections.Generic;
using System.Web.Http.Dependencies;
namespace QuickCollab
{
public class NinjectDependencyResolver : IDependencyResolver, System.Web.Mvc.IDe... |
using UnityEngine;
using System.Collections;
public class DialogueContainer : MonoBehaviour {
public DialogueScript dialogueScript;
public float dialogueSpeed;
public string speakerName; // Name-box remains hidden if no name is entered
public string[] dialogue;
public string[] answers;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace DocumentSystem
{
public interface IDocument
{
string Name { get; }
string Content { get; }
void LoadProperty(string key, string value);
vo... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameController : MonoBehaviour
{
[SerializeField] private List<Cell> cells;
[SerializeField] private List<GameObject> combinationGrid;
[SerializeField] private Text xScoreElement... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SGDE.Domain.Supervisor;
using SGDE.Domain.ViewModels;
using System;
namespace SGDE.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class WorkHistoriesController : ControllerBase
{
private readonly IS... |
///
/// Generated by Sybase AFX Compiler with templateJ
/// Compiler version - 2.2.6.482
/// mbs - false
///
using System;
using System.Reflection;
namespace MMSCAN
{
public class ClientPersonalization : Sybase.Reflection.IClassWithMetaData
{
#region MetaData
private static MM... |
namespace VRTK
{
using UnityEngine;
using System.Collections;
#if UNITY_5_5_OR_NEWER
using UnityEngine.AI;
#endif
public class VRTK_BlinkDash : MonoBehaviour
{
VRTK_ControllerEvents CE;
GameObject RightController;
protected Transform headset;
protected Transform pla... |
using UnityEngine;
using System.Collections;
//Данный класс предназначен для синхронизации текстовых строк
public class LAbelSyncScr : MonoBehaviour
{
// компонент NetworkView и его настройки
private NetworkView netView;
void Awake()
{
netView = GetComponent<NetworkView> ();
netView.stateSynchronization = Ne... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IES.Resource.Model
{
/// <summary>
/// 习题的公共信息
/// </summary>
public class ExerciseInfoCommon
{
/// <summary>
/// 习题的基本信息
/// </su... |
using SULS.Data;
using SULS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SULS.Services
{
public class SubmissionService : ISumbissionService
{
private readonly SULSContext dbContext;
public SubmissionService(SULSContext dbContext)
... |
namespace InternetShop.Enums
{
public enum OrderStatuses : byte { Opened = 1, Rejected, Completed, Returned }
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace cataloguehetm.ViewModels
{
public class AdminViewModel
{
public Admin admin { get; set; }
public bool authenticated { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.