text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace RunPath.Controllers
{
using RunPath.Models;
using RunPath.Services;
[Route("runpath/[controller]")]
[ApiController]
public class RunPathController : Controlle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EditDistance
{
class Program
{
static void Main(string[] args)
{
string x = "anagram";
string y = "agnar";
var dist1 = EditDistanceH... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class teacherAnim : MonoBehaviour
{
private NavMeshAgent nav;
private Animator anim;
void Start()
{
nav = GetComponent<NavMeshAgent>();
anim = GetComponent<Animator>();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyApplication
{
class Program
{
static int Main(string[] args)// Изменён метод Main
{
Console.Write("Hello");
Console.WriteLine("World");
... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace MinecraftToolsBoxSDK.Json.LootTable
{
public class LootTable
{
}
}
|
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using SignalRSimples.Web.Hubs;
namespace SignalRSimples.Web
{
public class Startup
{
// This method gets called by the runtime. Use this method to add services to the container.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace SampleMVCSolution
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute(... |
using UnityEngine;
using System.Collections;
using UnityEditor;
//View only for test
public class CellView : MonoBehaviour {
public MapCell model;
void OnDrawGizmos() {
if (model != null)
Handles.Label (transform.position, model.IsAvailable.ToString());
}
}
|
using MessagePack;
using System;
using System.Collections.Generic;
namespace CSBaseLib
{
public class PacketDef
{
public const Int16 PACKET_HEADER_SIZE = 5;
public const int MAX_USER_ID_BYTE_LENGTH = 16;
public const int MAX_USER_PW_BYTE_LENGTH = 16;
public const int INVALID_... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace WpfSuduko.MVC.Models
{
class Square
{
public const int DefaultStoredValue = -1;
public int StoredValue { get; set; }
public int XGridPosition { get; set; }
public int YGr... |
using UnityEngine;
public class PlayerInteract : MonoBehaviour {
public GameObject currentInterObj = null;
public interactionObject currentInterObjScript = null;
public Inventory inventory;
public Player player;
public GameObject pauseMenu;
void Update() {
//if player is dead
if (player.health ==... |
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Condor.Tests.Learn.Tasks
{
[TestFixture]
[Explicit]
internal class Tasks1
{
private CancellationTokenSource _cancellationTokenSource;
[Test]
public vo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ContestsPortal.WebSite.Controllers
{
[Authorize(Roles = Roles.Moderator)]
public class ModeratorController : Controller
{
// GET: Moderator
public ActionResult Index()
... |
using System;
using System.Text;
using System.Windows.Forms;
using Cryptlex;
namespace Sample
{
public partial class ActivationForm : Form
{
public ActivationForm()
{
InitializeComponent();
try
{
// LexActivator.SetProductFile ("... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using MetroFramework;
using MetroFramework.Forms;
using MetroFra... |
using System.Collections.Generic;
namespace Chloe.Models
{
public class Page
{
public Page()
{
this.Components = new HashSet<Component>();
}
public int Id { get; set; }
public string Name { get; set; }
public string RouteName { get; set; }
... |
using IBLLService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MODEL;
namespace BLLService
{
public abstract class BaseBLLService<T> : IBaseBLLService<T> where T : class ,new()
{
public BaseBLLService()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Loja.Dominio
{
public interface IProdutoRepositorio
{
List<Produto> ListarProdutos(string nome="");
void SalvarProduto(Produto produto);
Produto BuscarPorId(i... |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace WebApi.ViewModels
{
public class UpdateUserModel
{
[Required]
[EmailAddress]
public string OldEmail {... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Item : MonoBehaviour
{
public enum Type { Ammo, Coin, Grenade, Heart, Weapon };
public Type type;
public int value;
Rigidbody rigid;
SphereCollider sphereCollider;
void Awake() {
rigid = GetCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Editor
{
public class NativeTypes
{
#region Native structs
[StructLayout(LayoutKind.Sequent... |
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
[StructLayout(LayoutKind.Sequential)]
internal struct LibvlcAudioOutputDeviceT
{
public IntPtr Next;
public IntPtr DeviceIdentifier;
public IntPtr Description;
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace checkMusic
{
public partial class checkFile : Form
{
static... |
using ChartTest.Domain.Entities;
namespace ChartTest.WebUI.Abstract
{
public interface IGetMeasurementsData
{
void GetResponseTime(Measurement measurement);
void SaveResponseTime(Measurement response);
}
} |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using NStack;
namespace Terminal.Gui {
/// <summary>
/// Text alignment enumeration, controls how text is displayed.
/// </summary>
public enum TextAlignment {
/// <summary>
/// Aligns the text to the left of the fr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine.Rendering;
public class Loading : MonoBehaviour
{
private AsyncOperation async;
[SerializeField] private Image circle; //circle loading image
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity;
namespace DAL
{
public class ContratoRepositorio
{
List<Contrato> ListaContrato;
public ContratoRepositorio()
{
ListaContrato = new List<Contra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Newtonsoft.Json;
using System.Net.Http;
using Microsoft.Azure.WebJobs;
using System.Threading;
using Microsoft.Azure.WebJobs.... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using DataAccess.Context;
using Domain;
namespace DataAccess.Repository
{
public class BlogRepository : IBlogRepository
{
private BlogContext _context;
private readonly IContextFactory _contextFactory... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Client.Features.Duplicates.ViewModels;
namespace Client.Features.Duplicates
{
public class DuplicatesRepository : IDuplicatesRepository
{
private readonly Internal.ILogger _logger;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SliderScript : MonoBehaviour {
private const int MAX_VALUE_CAP = 200;
private const int MIN_VALUE_CAP = -200;
private const int MAX_SPEED = 2;
private int maxValue, minValue;
private float speed, currentV... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.App.ViewModels;
using Welic.App.ViewModels.Base;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Welic.App.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial... |
namespace HotelBookingSystem.Views.Users
{
using System.Text;
using Interfaces;
public class Register : View
{
public Register(IUser user) : base(user)
{
}
protected override void BuildViewResult(StringBuilder viewResult)
{
var user = this.Model as ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Threading;
using System.Net.Sockets;
using System.IO;
using System.Security.Cryptography;
using System.N... |
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 lab_053
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System;
using System.Runtime.Serialization;
namespace Engine
{
[Serializable]
[DataContract]
public class SingletonComponent<T> : BaseComponent where T : BaseComponent
{
[DataMember] public static T Instance;
public override void Start()
{
base.Start();
... |
namespace Xamarin.Android.Tasks.LLVMIR
{
interface IStructureInfo
{
void RenderDeclaration (LlvmIrGenerator generator);
}
}
|
namespace FiveMClothingAssistant
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Media.Animation;
using Microsoft.Win32;
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
p... |
using System.Text.RegularExpressions;
using Cradiator.MigrateConfig;
using NUnit.Framework;
namespace Cradiator.Tests.MigrateConfig
{
[TestFixture]
public class Migrate_Tests
{
private const string PRE_MULTIVIEW_XML =
@"<?xml version=""1.0""?>
<configuration>
<configSections>
<section name=""log4n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WeatherWeb.Services
{
public class GlobalService
{
public static string Key = "98bb4fd5800e43fb973a99ae601af49e";
public static string ForeCastDailyByCity = "https://api.weatherbit.io/v2.0/forecast/daily";
}
}
|
//------------------------------------------------------------------------------
// <copyright file="MainWindow.xaml.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace Mic... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatternsApp.FoodOrdering
{
public interface IFoodOrderCommand
{
void ExecuteCommand();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
using System.Xml;
using System.Data.SqlClient;
using System.Configuration;
using System.Text.RegularExpressions;
using DotNetOpenAuth.OAuth2;
using System.Net.Htt... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using FastReport;
using KartLib;
using KartObjects;
namespace KartSystem.Presenters
{
// ReSharper disable once InconsistentNaming
public class ABCanalysisGoodPresenter : BasePresenter
{
private const int Coun... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightingBook.Tests.Api.Product.Dto.GetItinerary.Response
{
public class ItineraryResponse
{
public Search Search { get; set; }
public List<Passenger> Passengers... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Comment
{
/// <summary>
/// 评论维护
/// </summary>
public class CommentBusiness<TType, TModel> : BaseProvider<TModel>
where TType : class
where TModel : Comment, new()
{
public ... |
using System;
namespace Futbol5.DAL.Infrastructure
{
public interface IDatabaseFactory : IDisposable
{
Futbol5Entities Get();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
public class LoadButton : MonoBehaviour {
GameObject btn;
public SaveScript sv;
string path;
string nombre;
bool downFile;
bool fadmin;
bool online;
// Use this for initialization
... |
using System.Collections.Generic;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
using log4net;
namespace SharpMap.UI.Snapping
{
public class SnapResult : ISnapResult
{
private static readonly ILog log = LogManager.GetLogger(typeof(SnapResult));
public ICoordinate Location { get; pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XH.Infrastructure.Command;
namespace XH.Infrastructure.Bus
{
public interface ICommandBus : IBus
{
/// <summary>
/// Send the command
/// </summary>
/// <ty... |
using Arch.Data.Test.OtherTest.MyRightManageDesign.Privilege;
using Arch.Data.Test.OtherTest.MyRightManageDesign.RightManagers.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arch.Data.Test.OtherTest.MyRightManageDesign.Test.UserRights
{
public class UserRig... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Inheritage
{
internal class AlphaBase1
{
public int Code;
public AlphaBase1(int n)
{
Code = n;
Console.WriteLine("AlphaBase1 with one ar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Numbers_with_guesses
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Numbers game");
while (true)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using SAAS.FrameWork.Module.Serialization;
using SAAS.FrameWork.Util.Pool;
namespace SAAS.FrameWork.Extensions
{
public static partial class ArraySegmentByteExtensions
{
public static void ReturnToPool(this ArraySegment<byte> data)
... |
using Microsoft.Xna.Framework;
namespace SuperMario.Entities.Blocks
{
public abstract class HitUpAndDownBlockAnimated : AnimatedEntity, IHitUpAndDownBlock
{
bool movingUp = true;
float moveIncrement = 1f;
float moveHeight = 4f;
public Vector2 StartLocation { get; set; }
... |
using System;
namespace Framework.Helpers.Data.Oberon
{
public class FinancialBatch
{
public string Id { get; set; }
public DateTime OpenedDate { get; set; }
public string BatchName { get; set; }
public string Designation { get; set; }
public string Status { g... |
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using Xamarin.Forms;
namespace AsNum.XFControls.Converters {
/// <summary>
/// <remark>
/// 由于GetCallingAssembly返回的是调用处的 Assembly,
/// 在 Xaml 的 Converter 中指定,会返回 Xamarin.Forms 程序集
/// 在 Xaml 中也不方便使用 Assembly
/... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Inventory.Data.Migrations
{
public partial class PaymentType : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "PaymentType",
ke... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Emotions {
// low typically = bad, high typically = good
public float sadnessJoy; // 0 = saddened, 1 = enjoyed
public float angerLove; // 0 = hated, 1 = loved
public float disgustAdmiration; // 0... |
namespace Eda.Integrations.Delivery
{
/// <summary>
/// The contract for the delivery service provider.
/// </summary>
public interface IDeliveryServiceProvider
{
/// <summary>
/// Gets the delivery service provider.
/// </summary>
/// <param name="systemName">The sy... |
using UnityEngine;
public class boxBehaviour : MonoBehaviour {
[Header("Box Variables")]
public bool red;
public bool blue;
[Header("Movement Variables")]
public CharacterController controller;
public Vector3 movement = Vector3.zero;
public bool useGrav = true;
// Use this for initi... |
using gView.Framework.Globalisation;
using System.Collections.Generic;
using System.Windows.Forms.DataVisualization.Charting;
namespace gView.Plugins.MapTools
{
public class gvChart
{
public enum DisplayMode
{
EverySerieInTheSameChartArea = 0,
EverySerieInExtraChartArea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.Windows.Forms;
using System.IO;
using System.Xml;
using IRAP.Global;
using Apache.NMS;
using Apache.NMS.ActiveMQ;
using Apache.NMS.ActiveMQ.Commands;
... |
using LoowooTech.Stock.Common;
using LoowooTech.Stock.Models;
using LoowooTech.Stock.Tool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Rules
{
public class XZCDMRule:ValueBaseRule,IRule
{
public override string RuleName
{
... |
using System;
using System.Collections.Generic;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class MarketInformationUpdatedEvent : Event
{
public const string NAME = "Market information updated";
public const string DESCRIPTION = "Triggered when market information for the cur... |
using System.Collections.Generic;
using FluentAssertions;
using NUnit.Framework;
using Vostok.Logging.Abstractions;
namespace SpaceHosting.Index.Tests
{
public class IndexStoreFactoryTests
{
private readonly IndexStoreFactory<int, string> indexStoreFactory = new(new SilentLog());
[Test]
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using DgKMS.Cube.CubeCore;
namespace DgKMS.Cube.CubeCore.Dtos
{
public class CreateOrUpdateEvernoteTagInput
{
[Required]
public EvernoteTagEditDto EvernoteTag { get; set; }
//// custom codes
... |
/***************************************************************
*
* add by OceanHo 2015/8/26 13:49:22
*
****************************************************************/
using Enyim.Caching;
using Enyim.Caching.Memcached;
using AimaTeam.WebFormLightAPI.httpEntity;
using AimaTeam.WebFormLightAPI.httpUtility;
u... |
namespace Whathecode.System.Algorithm
{
/// <summary>
/// A gate which skips a specified amount of entries before opening.
/// </summary>
public class SkipGate : AbstractGate
{
readonly int _skipCount;
int _curCount;
/// <summary>
/// Create a new gate which skips a specified amount of entries before op... |
using System.Collections.Generic;
namespace SocialNetwork.Core
{
public class User
{
public string Name { get; set; }
public Timeline Timeline { get; } = new Timeline();
public List<User> Following = new List<User>();
public User(string name)
{
this.Name ... |
using myBOOK.data;
using myBOOK.data.Interfaces;
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.W... |
using System.Collections.Generic;
using RunPath.Models;
namespace RunPathTests
{
public class AlbumTestData
{
private readonly List<Album> _albums;
private readonly int _albumCount;
public AlbumTestData()
{
_albums = new List<Album> {
new Album {
... |
using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
public class ChangeWeaponScript : MonoBehaviour
{
public GameObject currentWeapon;
private Transform weaponPosition;
private int positionInArray;
private GameObject[] allWeapons;
// Use this for initial... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using SimpleHttpServer.Enums;
using SimpleHttpServer.Models;
namespace SimpleHttpServer
{
public class HttpProcessor
{
private HttpRequest Request;
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace Modulus2D.Core
{
public class Headless
{
// Current state
private State state;
// Time
private S... |
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TinhLuong.Models;
using TinhLuongBLL;
using System.Data.OleDb;
using ClosedXML.Excel;
using System.Text;
using System.Web.UI.WebControls;
using TinhLuongINFO;
namespace ... |
using JiebaNet.Segmenter;
using Lucene.Net.Analysis;
using Lucene.Net.Documents;
using Lucene.Net.Store;
using Masuit.LuceneEFCore.SearchEngine.Extensions;
using Masuit.LuceneEFCore.SearchEngine.Interfaces;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Colle... |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Quad IO, Inc.")]
[assembly: AssemblyCopyright("© Copyright 2012, Quad IO, Inc.")]
[assembly: AssemblyProduct("Ach.Fulfillment")]
#if DEBUG
[assembly: AssemblyConfiguration("debug")]
#else
[assembly: AssemblyConfiguration("ret... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace EmberKernel.Services.UI.Mvvm.ViewComponent
{
public class ViewComponentNamespaceAttribute : Attribute
{
public string Namespace { get; }
public ViewComponentNamespaceAttribu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ShabakahEntityManager
{
public enum PanelType
{
L5100 = 1,
L5200 = 2,
L7000 = 3,
Vista = 4,
}
public class Panel
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace _13.FoundWords
{
class FindWords
{
static void Main()
{
string path1 = "../../test.txt";
string path2 = "../../words.txt";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MLAPI;
public class TowerBuilder : MonoBehaviour
{
private Tower m_TowerScript;
private Rigidbody m_Rigidbody;
private Camera m_MainCamera;
private GameManager m_GameManager;
void Start()
{
m_Rigidbody... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace Model
{
/// <summary>
/// Фигура
/// </summary>
public interface IFigure
{
/// <summary>
/// Рассчитать объем фигуры.
... |
using System;
using System.Collections.Generic;
using System.Text;
//Acesso a Composição
namespace Encapsulamento
{
public class AmigoProximo
{
//instancia
public readonly SubCelebridade amiga = new SubCelebridade();
public void MeusAcessos()
{
Console.WriteLine(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _3PaaStribe
{
public class Player
{
public bool playerTurn { get; set; }
private string playerName { get; set; }
private string playerPiece { get; set; }
private string botPiece { ge... |
using System.Threading.Tasks;
using Android.App;
using Android.Content;
using Android.Content.Res;
using Android.Graphics;
using Android.Graphics.Drawables;
using Android.Graphics.Drawables.Shapes;
using Android.OS;
using Android.Support.V4.Content;
using Android.Views;
using Android.Widget;
using ImageViews.Photo;
usi... |
using System;
using System.Collections;
using System.Collections.Generic;
using com.Sconit.Entity;
//TODO: Add other using statements here
namespace com.Sconit.Entity.ISI
{
[Serializable]
public partial class TaskApply : EntityBase
{
#region O/R Mapping Properties
private Int32 _id;
public I... |
// -- Created by Colleen Woolsey
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace BangazonWorkforceSapphireElephants.Models.ViewModels
{
public class TrainingProgramCreateViewModel
{
[Required]... |
using System;
using Phenix.Core.Data;
using Phenix.Core.Mapping;
/*
builder: phenixiii
build time: 2017-04-10 14:30:23
notes: User
*/
namespace Phenix.Test.使用案例.业务数据的读写.快速Save
{
/// <summary>
/// User
/// </summary>
[Serializable]
[System.ComponentModel.DisplayName("User")]
public class ... |
using UnityEngine;
//By Jeffrey aka Trickzbunny
// Place script on Gameobject (be sure Static is turned off) depending which bool is activated, the gameobject will turn in a different way.
public class FollowTarget : MonoBehaviour
{
public Transform target;
public float speed = 1;
public bool moveForward = fa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NoteItem : Item<int>
{
[SerializeField] GameObject indicator;
private void OnEnable()
{
OnTaken += new TakenDelegate(AddNote);
OnTaken += new TakenDelegate(ShowIndicator);
}
void Sh... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using ReactMusicStore.Core.Utilities.Common;
using ReactMusicStore.Core.Utilities.Infrastructure;
namespace Reac... |
using System.IO;
using System.Collections.Generic;
using Xunit;
using Moq;
using InvertedIndex.Search;
using InvertedIndex.FileHandler;
namespace InvertedIndex.Test
{
public class InvertedIndexTest
{
private Search.InvertedIndex _index;
private IDictionary<string, HashSet<Doc>> _mockMap;
... |
using Microsoft.Extensions.Logging;
namespace Sentry.Extensions.Logging.Tests;
public class MelDiagnosticLoggerTests
{
private class Fixture
{
public ILogger<ISentryClient> MelLogger { get; set; } = Substitute.For<ILogger<ISentryClient>>();
public SentryLevel Level { get; set; } = SentryLevel.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using TRPO_labe_6.Models;
namespace TRPO_labe_6_console
{
public class ShopAssistantBuilder
{
public ShopAssistant Build()
{
st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Airbest.Products.Categories
{
public class Category
{
public Guid? Id { get; set; }
public Guid? ParentId { get; set; }
public string Name { get; set; }
... |
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;
using System.IO;
public partial class zjdlxmsp : System.Web.UI.Page
{
SqlServerDataBase sdb = new S... |
using System;
using System.IO;
using NUnit.Framework;
namespace Mono.Profiling
{
[TestFixture]
public class ProfilerTest {
string tempProfilerFile;
string TempFile {
get {
if (tempProfilerFile == null)
tempProfilerFile = Path.GetTempFileName () + ".mlpd";
return tempProfilerFile;
}
}
[T... |
namespace MasterNumber
{
using System;
public class StartUp
{
public static void Main()
{
int number = int.Parse(Console.ReadLine());
for (int i = 1; i <= number; i++)
{
if (IsPalindrome(i) && SumOfDigits(i) && ContainsEvenDigit(i))
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.