text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlattenArray
{
class Program
{
static int[] FlattenArray(int[][] arr)
{
var counter = 0;
int[] newArr = new int[arr.Length * arr.GetUpperBound(0... |
using System;
namespace Shapes
{
class Program
{
static void PrintNumberOfPoints(IPointy iface)
{
Console.WriteLine("Число вершин {0}",
iface.NumberOfPoints());
}
static IMeasurable GetTheLargest(params object[] figures)
{
IMeas... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIGodGaugeManager : MonoBehaviour
{
public GodData GD;
public RectTransform BackGround;
public RectTransform Gauge;
private float MaxWidth;
// Use this for initialization
private... |
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 MultiplechoiseSystem.DTO;
namespace MultiplechoiseSystem.FORM
{
public partial class UCEditInfo... |
using System.Collections.Generic;
using Framework.Core.Common;
using Tests.Pages.Oberon.Contact;
using NUnit.Framework;
using Tests.Data.Oberon;
using Tests.Pages.Oberon.Common;
using Tests.Pages.Oberon.Contribution;
using Tests.Pages.Oberon.Disbursement;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.P... |
using System.Reflection;
using StardewModdingAPI;
using StardewValley;
using StardewValley.Locations;
namespace BetterSkullCavernFalling
{
internal class SkullCavernFallMessageIntercepter
{
private static readonly MethodInfo MINESHAFT_AFTERFALL_METHOD = typeof(MineShaft).GetMethod("afterFall", Binding... |
namespace Assets.Scripts.Models.ResourceObjects
{
public class StoneResource : ResourceObject
{
public StoneResource()
{
LocalizationName = "stone_resource";
IconName = "stone_icon";
CanBuy = true;
ShopPrice = 2;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace RPC.JsonRPC
{
[AttributeUsage(AttributeTargets.Interface)]
public sealed class JsonRPCAttribute : RPCAttribute
{
public JsonRPCAttribute(string cat... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Caserraria.Items;
namespace Caserraria.Items.Weapons
{
public class PhantomDagger : ModItem
{
public override void SetStaticD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using BlazorShared.Models.Appointment;
using BlazorShared.Models.AppointmentType;
using BlazorShared.Models.Room;
using FrontDesk.Blazor.Services;
using Microsoft.AspNetCore.Components;
using Micros... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace Data.Models.Mapping
{
public class subjectMap : EntityTypeConfiguration<subject>
{
public subjectMap()
{
// Primary Key
this.HasKey(t => t.id_subject);
... |
using System;
using System.Collections.Generic;
namespace Mio.TileMaster {
public enum SongItemType {
Normal = 0,
Hot = 1,
New = 2
}
[Serializable]
public class SongDataModel
{
//unique id for each song
public int ID;
//name of the song to be display... |
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using SuperMario.Collision;
using SuperMario.Entities.Items;
using SuperMario.Entities.Mario;
using SuperMario.Entities.Mario.MarioCondition;
using static SuperMario.Entities.MovementDirectionsEnum;
namespace SuperMario.Entities.Blocks
{
public abst... |
using System;
using System.Windows;
using AIMLbot.Utils;
using System.Windows.Input;
namespace AIMLbot.UI
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
readonly ChatBot _chatBot = new ChatBot();
public MainW... |
using System;
using System.Threading.Tasks;
namespace CC.Utilities
{
public class Timer
{
public bool IsPaused{ get; private set; }
public bool IsRunning { get; set; }
public int WaitTime { get; set; }
public event EventHandler Elapsed;
protected virtual void OnTimerElapsed()
{
if (Elapsed != null)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training
{
public abstract class Shape
{
public Shape()
{
Console.WriteLine("The shape is created...");
}
public abstract void Draw();
... |
using System;
namespace SharpNES.Utility
{
public enum LogLevel
{
Debug3, Debug2, Debug,
Info, Warning, Error, Fatal
}
// ---------- Policies ---------- //
public interface IFormatPolicy
{
string Format(string timestamp, LogLevel level, string tag, string message);
... |
using Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Core.Context;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.... |
using System;
namespace RetContorno
{
class Program
{
static void Main(string[] args)
{
int altura, largura, meio = 1;
bool vlvalido; //vl = valor
Console.ForegroundColor = ConsoleColor.Blue;
Console.WriteLine(" ----- CONTORNO ----- \n"... |
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using StickFigure.Helpers;
namespace StickFigure.Graphics
{
/// <summary>
/// Code from https://social.msdn.microsoft.com/Forums/vstudio/en-US/0c4252c8-8274-449c-ad9b-e4f07a8f8cdd/how-could-i-create-an-animat... |
using System;
namespace LogManager.Models
{
/// <summary>
/// Logs 테이블과 일대일로 매핑되는 모델(뷰 모델, 엔터티) 클래스
/// </summary>
public class LogViewModel
{
/// <summary>
/// 일련번호
/// </summary>
public int Id { get; set; }
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Meshop.Framework.Model;
using Meshop.Framework.Security;
using Meshop.Framework.Services;
namespace Meshop.Core.Areas.Admin.Controllers
{
[Admin]
public abstract class AdminController :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FootballManager {
public class Utils {
public static string UPLOAD = "~/Content/uploads";
public static string EncodeFile(string fileName) {
return @"data:image/gif;base64," + Convert.ToBase... |
using System;
using System.Collections.Generic;
using StardewModdingAPI;
namespace Entoarox.Framework
{
public static class IMonitorExtensions
{
/*********
** Fields
*********/
private static readonly HashSet<string> Cache = new HashSet<string>();
/*********
**... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event Reference Listener of type `FloatPair`. Inherits from `AtomEventReferenceListener<FloatPair, FloatPairEvent, FloatPairEventReference, FloatPairUnityEvent>`.
/// </summary>
[EditorIcon("atom-icon-orange")]
[AddComponen... |
using System;
using System.IO;
using System.Text.RegularExpressions;
namespace Robot.Cli
{
// PLACE X,Y,F
// MOVE
// LEFT
// RIGHT
// REPORT
public class TextInterface
{
readonly TextReader _inputReader;
readonly TextWriter _outputWriter;
readonly TextWriter _errorWr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace masodik_feladat
{
class FileAdatok
{
string nev;
DateTime modositasDatuma;
long meret;
public string Nev { get ... |
/// This code is written by Tijndagamer and released under the MIT license.
using System;
class Calculator
{
static void Main()
{
Console.WriteLine("Welcome, if you need help type help");
do
GetAnswer();
while (true);
}
static void add()
{
double a, b, c;
stri... |
using Xamarin.Forms;
namespace RRExpress.Express.Views {
public partial class PickupView : ContentView {
public PickupView() {
InitializeComponent();
}
}
}
|
using System;
using System.Windows.Markup;
namespace SqlServerRunnerNet.Infrastructure
{
public sealed class EnumValues : MarkupExtension
{
private readonly Type _enumType;
public EnumValues(Type enumType)
{
_enumType = enumType;
}
public override object ProvideValue(IServiceProvider serviceProvider)... |
using DocumentManagement.Common;
using Model.DAO;
using Model.EF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DocumentManagement.Areas.Admin.Controllers
{
public class HomeController : BaseController
{
// GET: Admin/Home
... |
using GufENuffLogInApi.DataAnnotations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace GufENuffLogInApi.ViewModels
{
/// <summary>
/// A View Model for changing passwords.
/// </summary>
public class ChangePas... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class scene_switcher : MonoBehaviour
{
public void GoToPlayerSelectScene(){
SceneManager.LoadScene("player_select_scene");
}
public void GoToMapScene(){
Scene... |
using GalaSoft.MvvmLight.Command;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Windows.Input;
using VesApp.Models;
using VesApp.Services;
using Xamarin.Forms;
namespace VesApp.ViewModels
{
public class PublicationViewModel:BaseViewModel
... |
using System.Collections.Generic;
namespace TransactionRegistry.Core
{
using System.Collections.Concurrent;
using TransactionRegistry.Core.Models;
public class Data
{
public ConcurrentDictionary<string, ServiceState> Key;
public SortedSet<ServiceState> List;
}
} |
using System;
using System.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class PivotGridController: DemoController {
public ActionResult Templates() {
return DemoView("Templates", NorthwindDataProvider.GetProductReports());
}
public ActionResult TemplatesPartial() {
... |
using MediatR;
using AspNetCoreGettingStarted.Data;
using AspNetCoreGettingStarted.Features.Core;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using System.Threading;
namespace AspNetCoreGettingStarted.Features.Dashboards
{
pu... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace InstituteOfFineArts.Models
{
public class CompetitionPost
{
public int ID { get; set; }
[Required]
public int CompetitionID { get; se... |
using UnityEngine;
using System.Collections;
public class CameraFollowScript : MonoBehaviour {
[SerializeField]
private float distanceAway;
[SerializeField]
private float distanceUp;
[SerializeField]
private float smooth;
[SerializeField]
private Transform follow;
private Vector3 targetPosition;
// Use th... |
using LibraryCoder.UtilitiesMisc;
using System;
using Windows.UI.Xaml.Controls;
/*
* This sample runs various code snipplets initializing, using, and validating enumerations.
*
*
* This bit of code was thowing me for a loop since could not convert a enum into a system base Enum without compiler error!!!!
*
*... |
using BetterRNG.Framework;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
namespace BetterRNG
{
/// <summary>The main entry point.</summary>
public class ModEntry : Mod
{
/*********
** Properties
*********/
/// <summary>The mod configuration.<... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Car : Obstacles
{
[SerializeField]
private bool m_canMove = false;
private float m_speed = 10;
public override void HitPlayer(Vector3 pos)
{
base.HitPlayer(pos);
}
public override void OnS... |
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 WebQz.Models;
namespace WebQz.Controllers
{
public class HomeController : Controller
{
private readonly I... |
// <copyright file="FourthTask.cs" company="MyCompany.com">
// Contains the solutions to tasks of the 'Basic Coding in C#' module.
// </copyright>
// <author>Daryn Akhmetov</author>
namespace Basic_coding_in_CSharp
{
using System.Linq;
/// <summary>
/// Contains implementation of the given by the task al... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SecurityPlusCore
{
public class BaseSettings<T>
{
protected string settingsPath;
public BaseSettings(string settingsPath)
{
if (nu... |
/**
* Copyright 2019 Oskar Sigvardsson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pub... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
namespace Hakaima
{
public class Bonus
{
public enum Type
{
None,
Bonus0,
Bonus1,
Bonus2,
Bonus3,
Bonus4,
Bonus5,
Bonus6,
}
public const float SIZE = Data.SIZE_CHIP;
public co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Caapora
{
public interface IAutoMovable
{
void moveRight();
void moveLeft();
void moveUp();
void moveDown();
}
}
|
using System.ComponentModel.DataAnnotations;
using System.Threading;
using System.Threading.Tasks;
using Justa.Job.Backend.Api.Application.MediatR.Requests;
using Justa.Job.Backend.Api.Identity.Models;
using MediatR;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
namespace Justa.Job.Backend.Api.A... |
using ISE.Framework.Common.CommonBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISE.SM.Common.DTO
{
public partial class PermissionToUserConstraintDto:BaseDto
{
public PermissionToUserConstraintDto()
{
this.PrimaryKeyName = "Pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectMaker : MonoBehaviour
{
[SerializeField]
private Transform objectParent;
[SerializeField]
private SparkEffect sparkPrefab;
[SerializeField]
private DropItem dropItemPrefab;
private ObjectP... |
using Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repository
{
public class EmployeeCommandRepository
{
public void SaveEmployee(Employees emp)
{
DbClass.ExecuteNo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.SSO
{
/// <summary>
/// 角色信息
/// </summary>
public class RoleInfo
{
public int RoleID { get; set; }
public string RoleCode { get; set; }
public int Role... |
using Cs_Gerencial.Aplicacao.Interfaces;
using Cs_Gerencial.Dominio.Entities;
using Cs_Notas.Aplicacao.Interfaces;
using Cs_Notas.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
us... |
using System.Threading;
// ReSharper disable once CheckNamespace
namespace System
{
/// <summary>
/// Extensions for the <see cref="double"/> class.
/// </summary>
public static class DoubleExtensions
{
/// <summary>
/// The double epsilon.
/// </summary>
public con... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using WebStore.DAL.Context;
using WebStore.DomainNew.Dto;
using WebStore.DomainNew.Entities;
using WebStore.DomainNew.Filters;
using WebStore.DomainNew.Helpers;
using WebStore.Interfaces;
namespace WebStore.Services.Sql
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEditor.IMGUI.Controls;
using UnityEngine;
namespace UnityAtoms.Editor
{
public static class AtomsSearchableAssetCreationMenu
{
class StringTree<T>
{
public Dict... |
using System;
using System.Threading;
using System.Threading.Tasks;
using IdentityServer3.Core.Logging;
using IdentityServer3.Shaolinq.DataModel.Interfaces;
using Shaolinq;
namespace IdentityServer3.Shaolinq
{
public class TokenCleanup
{
private static readonly ILog Logger = LogProvider.GetCurrentClassLogger();
... |
using Alabo.Domains.Entities;
using Alabo.Domains.Services;
using Alabo.Framework.Basic.Grades.Domain.Configs;
using Alabo.Framework.Basic.Grades.Dtos;
using System;
using System.Collections.Generic;
namespace Alabo.Framework.Basic.Grades.Domain.Services {
public interface IGradeService : IService {
User... |
/*
* Class representing the Moved state in player's state machine (player has moved, but can upgrade or take role)
* Limits Player's action to Upgrade() and TakeRole()
* Copyright (c) Yulo Leake 2016
*/
using Deadwood.Model.Rooms;
using Deadwood.Model.Exceptions;
namespace Deadwood.Model.PlayerStates
{
cl... |
using EPI.Sorting;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Sorting
{
[TestClass]
public class CountingSortUnitTest
{
[TestMethod]
public void ReorderElementsWithSameKey()
{
CountingSort.Element[] array = new CountingSort.Element[]
{
ne... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MayaBot.Knowledge
{
[Serializable]
public class Subject
{
public Subject()
{
SubjectNames = new List<string>();
InformationPoints = new List... |
using Chess.v4.Models.Enums;
namespace Chess.v4.Engine.Models
{
public class DirectionInfo
{
public bool IsOrthogonal { get; set; } = false;
public bool IsDiagonal { get; set; } = false;
public Direction Direction { get; set; } = Direction.Invalid;
public DiagonalDirection Diag... |
using FrameOS.Systems.CommandSystem;
using System;
using System.Collections.Generic;
using System.Text;
using FrameOS.FileSystem;
using Cosmos.HAL;
namespace FrameOS.Commands
{
class TouchCommand : ICommand
{
public string description { get => "Make a file."; }
public string command => "touch... |
using Justa.Job.Backend.Api.Application.Services.Jwt.Models;
using Justa.Job.Backend.Api.Identity.Models;
namespace Justa.Job.Backend.Api.Application.Services.Jwt.Interfaces
{
public interface IJwtService
{
JsonWebToken CreateJsonWebToken(ApplicationUser user);
}
} |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Serilog;
using Witsml;
using Witsml.Data;
using Witsml.Extensions;
using Witsml.ServiceReference;
using WitsmlExplorer.Api.Jobs;
using WitsmlExplorer.Api.Models;
using WitsmlExplorer.Api.Query;
using WitsmlExplorer.Api.Services... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.Extensions.Configuration;
using OBS_Net.Entities.Tables;
using System;
using System.Collections.Generic;
using System.Text;
namespace OBS_Net.DAL.ORM.EFCore
{
public class ObsContext:DbContext
{
... |
using UnityEngine;
[RequireComponent(typeof(Health))]
[RequireComponent(typeof(CharacterSheet))]
[RequireComponent(typeof(Animator))]
public class DemonBrain : MonoBehaviour {
private static int faceLeftAnimParam { get; } = Animator.StringToHash("FaceLeft");
private static int walkingAnimParam { get; } = Animator.... |
// <copyright file="Global.asax.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Site
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpr... |
// Utility.cs
//
using System;
using System.Collections;
using System.Html;
using System.Runtime.CompilerServices;
using jQueryApi;
namespace SportsLinkScript.Shared.Facebook
{
[IgnoreNamespace]
[Imported]
[ScriptName("Object")]
public class AuthResponse
{
public SessionResponse Session;
... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class ReadStory : MonoBehaviour
{
public MeshRenderer textToShow;
void OnTriggerStay2D(Collider2D collision)
{
if (Input.GetKey("e") && collision.gameObject.tag == "Player")
{
... |
namespace Cs_Gerencial.Infra.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class PessoasAdd : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Pessoas",
c => new
{
... |
using UnityEngine;
[CreateAssetMenu(fileName = "Cell Rail", menuName = "MS49/Cell/Cell Rail", order = 1)]
public class CellDataRail : CellData {
public EnumRailMoveType moveType;
public enum EnumRailMoveType {
STRAIGHT = 0,
CROSSING = 1,
CURVE = 2,
STOPPER = 3,
MERGER... |
using UnityEngine.Events;
public class SpawnBallEvent : UnityEvent
{
}
|
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
[Migration(201305061423)]
public class AddRoleFunctionCols : Migration
{
public override void Down()
{
Delete.Column("RoleNameFr").FromTable("PRF_Role");
Delete.Column("Description").FromTable("PRF_R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EighthQueens
{
partial class Map
{
private const int cellsNumber = 8;
private char[,] field = new char[cellsNumber, cellsNumber];
private void Wri... |
using System;
using System.Collections;
using System.Linq;
using HiLoSocket.Compressor;
using NUnit.Framework;
namespace HiLoSocketTests.Compressor
{
[TestFixture]
[Category( "CompressorFactoryTests" )]
public class CompressorFactoryTests
{
[TestCaseSource( typeof( CompressTypeSource ) )]
... |
using Common.Data;
using Common.Exceptions;
using System;
using System.Collections.Generic;
using System.Data;
namespace Entity
{
public partial class ImagesAssignments
{
public bool CheckExists(string connectionString, int id)
{
bool result = false;
string sql = "select count(*) from images_assignments ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AntibacSledge : MonoBehaviour
{
public GameObject attack;
private GameObject meleeATK;
public float meleeATKCooldown;
public bool sledgeCraft;
public GameObject pS;
public PlaySound playSound;
pri... |
namespace MockDelegates
{
public delegate T Add<T>(T a, T b);
}
|
namespace PriceChangeAlert
{
using System;
public class StartUp
{
public static void Main()
{
int n = int.Parse(Console.ReadLine());
double threshold = double.Parse(Console.ReadLine());
double last = double.Parse(Console.ReadLine());
for (int... |
using System;
namespace Nono.Engine.Extensions
{
public static class CuesExtensions
{
public static int Sum(this ReadOnlySpan<int> span)
{
int sum = 0;
for (int i = 0; i < span.Length; i++)
{
sum += span[i];
}
return ... |
using SGCFT.Dominio.Entidades;
using System.Collections.Generic;
using System.Linq;
namespace SGCFT.Apresentacao.Models
{
public class QuestionarioViewModel
{
public QuestionarioViewModel(Pergunta pergunta)
{
this.IdPergunta = pergunta.Id;
this.Pergunta = pergunta.Texto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrendyolApiTest.Entities
{
public class Books
{
public List<Book> BookList { get; set; }
}
}
|
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace VoxelSpace {
public class SelectionWireframe {
V[] _verts;
public BasicEffect Effect { get; private set; }
public SelectionWireframe(BasicEffect effect) {
Effect = eff... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Extensions.Configuration;
namespace Zesty.Core.Common
{
public static class Cache
{
private static object Lock = new object();
private static int LifetimeInMinutes = 5;
private static re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Library.Model
{
public class LeaderboardLine
{
private int _score;
private float _timeElapsed;
private int _stepsTaken;
public LeaderboardLine()
... |
using System;
using Autofac;
using Tests.Pages.ActionID;
using Framework.Core.Common;
using NUnit.Framework;
using Tests.Data.Oberon;
using Tests.Pages.Oberon;
using Tests.Pages.Oberon.Common;
using Tests.Pages.Oberon.GivingRecipient;
using OpenQA.Selenium;
namespace Tests.Projects.Oberon.GivingHistory
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SodaMachineProject
{
public class FileWriter
{
public static void WriteToInventoryFile(string fileName, List<Inventory> inventory)
{
using ... |
using UnityEngine;
using IsoTools.Internal;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace IsoTools {
[ExecuteInEditMode, DisallowMultipleComponent]
public class IsoObject : MonoBehaviour {
// ------------------------------------------------------------------------
//
... |
using Alabo.Data.People.Internals.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Data.People.Internals.Domain.Repositories
{
public class InternalRepository : RepositoryMongo<Internal, ObjectId>, IInternalRepository
{
public Interna... |
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameController : MonoBehaviour
{
public static GameController instance;
public static int highScore = 0;
public Text scoreText, highScoreText, scorePauseText, highScorePauseText, gameOverText, tapToStartText... |
namespace Funding.Data
{
using Funding.Data.Builder;
using Funding.Data.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
public class FundingDbContext : IdentityDbContext<User>
{
public FundingDbContext(DbContextOptions<Fund... |
using System;
namespace TableProjectRepetition
{
class MainClass
{
/*
* The Project name:
* TableProjectRepetition
*
* This file is created only to repeat impressions of the last few lessons. Main TOPICS:
* 1. Arrays
* 2. Strings
* 3. Strings as an arrays
* 4. Two dimention arrays (also k... |
using CustomerService.Utils.Helpers;
using System.Web.Http;
using Teste_CRUD_CiaTecnica.Application;
using Teste_CRUD_CiaTecnica.Application.Interfaces;
using Teste_CRUD_CiaTecnica.Domain.Interfaces.Repositories;
using Teste_CRUD_CiaTecnica.Domain.Interfaces.Services;
using Teste_CRUD_CiaTecnica.Domain.Services;
using... |
using HastaOtomasyonLib;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace HastaneOtomasyonu
{
public partial class HastaGüncellemeForm : BaseForm
{
public HastaGüncellemeForm()
{
InitializeComponent();
... |
namespace CheckIt.ObjectsFinder
{
using System.Collections.Generic;
using System.Linq;
using CheckIt.Syntax;
internal class ReferencesObjectsFinder : IObjectsFinder
{
private readonly IEnumerable<IReference> checkReferences;
public ReferencesObjectsFinder(IEnumerable<IReference> c... |
namespace CheckIt.ObjectsFinder
{
using System.Collections.Generic;
using System.Linq;
using CheckIt.Syntax;
internal class AssembliesObjectsFinder : IObjectsFinder
{
private readonly IEnumerable<IAssembly> checkAssemblies;
public AssembliesObjectsFinder(IEnumerable<IAssembly> che... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.MES
{
public class MesScanControlPointSearchModel : SearchModelBase
{
public string ControlPoint { get; set; }
public string TraceCode { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.