text stringlengths 13 6.01M |
|---|
using Alabo.Cloud.School.SmallTargets.Domain.Entities;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Cloud.School.SmallTargets.Domain.Repositories
{
public interface ISmallTargetRepository : IRepository<SmallTarget, ObjectId>
{
}
} |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Uintra.Features.Notification.Configuration;
using Uintra.Persistence;
using Uintra.Persistence.Sql;
namespace Uintra.Features.Notification.Sql
{
[UintraTable("Notificat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ejercicios_LibroCSharp.Cap._9.Entidades
{
public struct ProductosT
{
public string Nombre {get; set;}
public string Codigo { get; set; }
public string Precio { ... |
/* The MIT License (MIT)
*
* Copyright (c) 2018 Marc Clifton
*
* 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, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Concurrent;
namespace WizSE.RPC
{
public class Client
{
private Dictionary<string, Conncetion> connections = new Dictionary<string, Conncetion>();
public ... |
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace BinaryFog.NameParser {
public static class RegexNameComponents {
private static string SplitAndJoin(string res) {
var stringBuilder = new StringBuilder();
using (var reader = new StringReader(res)) {
stringBuilder.Append... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BlackJack.model.rules
{
interface IDealCardStrategy
{
void DealCard(Deck a_deck, Dealer a_dealer, Player a_player, bool a_show = true);
}
}
|
using SharpArch.Domain.DomainModel;
namespace Profiling2.Domain.Prf.Suggestions
{
public class AdminSuggestionFeaturePersonResponsibility : Entity
{
public const string IS_SUPERIOR_TO = "IS_SUPERIOR_TO";
public const string FOUGHT_WITH = "FOUGHT_WITH";
public const string IS_A_SUBORDIN... |
namespace AquaShop.Core
{
using AquaShop.Core.Contracts;
using AquaShop.Models.Aquariums;
using AquaShop.Models.Aquariums.Contracts;
using AquaShop.Models.Decorations;
using AquaShop.Models.Fish;
using AquaShop.Repositories;
using System;
using System.Collections.Generic;
using Syst... |
/*
Description Script:
Name:
Date:
Upgrade:
*/
using UnityEngine;
public class InputController : MonoBehaviour
{
public delegate void inputEventController();
public KeyCode rightControl_left, // equal to button Squad
rightControl_up, // ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
namespace Mario__.Components
{
class Trump : Drawable
{
static Texture2D texture;
Physics physi... |
using Emanate.Core.Input;
using Emanate.Core.Output;
using Emanate.Service;
using Moq;
using NUnit.Framework;
namespace Emanate.UnitTests.Service
{
[TestFixture]
public class monitoring_service
{
[Test]
public void should_populate_string_properties()
{
var monitor = new... |
using System;
using System.Windows.Forms;
using Phenix.Core;
using Phenix.Core.Rule;
using Phenix.Core.Security;
using Phenix.Core.Windows;
namespace Phenix.Windows
{
internal partial class CriteriaExpressionNewDialog : Phenix.Core.Windows.DialogForm
{
private CriteriaExpressionNewDialog()
{
Initial... |
namespace gView.GraphicsEngine.Abstraction
{
public interface IDrawTextFormat
{
StringAlignment Alignment { get; set; }
StringAlignment LineAlignment { get; set; }
object EngineElement { get; }
}
}
|
using ClassLibraryAandelen.basis;
using ClassLibraryAandelen.classes;
using System;
using System.Collections.ObjectModel;
namespace WpfAandelenBeheer.viewmodels
{
public class AandelenWindowViewModel : BaseUserControl
{
#region fields
private Portefeuille _CurrentPortefeuille;
private ... |
using System.IO;
using DelftTools.TestUtils;
using NUnit.Framework;
using SharpMap.Extensions.Layers;
namespace SharpMap.Extensions.Tests.Layers
{
[TestFixture]
public class BingLayerTest
{
[Test]
public void Clone()
{
var map = new Map();
var layer = new B... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Med... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameOverScript : MonoBehaviour {
[TextArea (1,20)]
public List<string> Letter = new List<string>();
public WriteLetterbyLetter write;
public string option;
string text;
private void Start()
{
... |
using Sentry;
using Sentry.Extensibility;
namespace Samples.AspNetCore.Mvc;
public class SpecialExceptionProcessor : SentryEventExceptionProcessor<SpecialException>
{
protected override void ProcessException(
SpecialException exception,
SentryEvent sentryEvent)
{
sentryEvent.AddBreadcr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
using UnityEngine.SceneManagement;
using UnityEngine.Animations;
public class MenuManager : MonoBehaviour
{
public GameObject mainMenu;
public GameObject selectMenu;
public GameObject optionsMenu;
... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Specialized;
namespace LeetCodeTests
{
public abstract class Problem_0027
{
/*
Given an array and a value, remove all instances of that value in-place and return the new length.
Do not allocate extra space for anoth... |
using System;
using System.Collections.Generic;
using System.Text;
using CSConsoleRL.Entities;
using CSConsoleRL.Components;
using SFML.System;
namespace CSConsoleRL.Helpers
{
public enum EnumGameState
{
MainMenu,
RegularGame,
Console,
Targeting
}
public sealed class GameStateHelper
{
pr... |
using System;
namespace NeuralNetLibrary.components.activators
{
[Serializable]
public class ThresholdActivation : ActivationFunction
{
private double threshold;
public ThresholdActivation(double threshold)
{
this.threshold = threshold;
}
public double... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
using Terraria.ModLoader;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria.ID;
namespace StarlightRiver.Tiles.Vitric
{
class VitricCrystalBig : M... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BaseModels
{
public class Produto
{
public int ProdutoID { get; set; }
[Required]
[StringLength(20)]
public string Nome { get; set; }
public string Descri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SlideShareAPI
{
public static class UploadDate
{
public static String Any = "any";
public static String Week = "week";
public static String Month = "month";
public static String Yeah... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using IRAPShared;
using IRAP.Global;
namespace IRAP.Entity.MDM
{
/// <summary>
/// 站点产品状态
/// </summary>
public class WIPStationProductionStatus
{
private int ordina... |
using System;
using System.Threading;
using SuperSocket.SocketBase;
using SuperSocket.SocketBase.Protocol;
using CSBaseLib;
using SuperSocket.SocketBase.Config;
using SuperSocket.SocketBase.Logging;
namespace OMKServer
{
public class MainServer : AppServer<ClientSession, OMKBinaryRequestInfo>
{
public... |
using Sparda.Contracts;
using System;
using System.Collections.Generic;
using System.Data.Services;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Sparda.ConnectionsStringProviderContext.DAL.V6.y2017_m8_d22_h12_m13_s54_ms774;
using Spard... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using MediatR;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Mvc;
using Microsoft.Fra... |
using System;
using UnityEngine;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// IPair of type `<Collision2DGameObject>`. Inherits from `IPair<Collision2DGameObject>`.
/// </summary>
[Serializable]
public struct Collision2DGameObjectPair : IPair<Collision2D... |
using System.Collections.Generic;
using System.Linq;
using ODL.ApplicationServices.DTOModel;
using ODL.ApplicationServices.DTOModel.Load;
using ODL.ApplicationServices.Validation;
namespace ODL.ApplicationServices.Test
{
using NUnit.Framework;
[TestFixture]
public class PersonInputValidatorTests
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using Verse;
using UnityEngine;
namespace DontShaveYourHead
{
[DefOf]
public static class HairDefOf
{
public static HairDef Shaved;
}
}
|
using System;
using System.Text;
using System.Threading;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Micros... |
namespace TRPO_labe_1.Model
{
public static class FileSettings
{
public static string FilePath { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using TransferData.Business.Dto;
namespace TransferData.Business.Dto
{
[DataContract]
public class CarDamageLevel
{
[DataMember(Name = "id")]
... |
using System.Collections.Generic;
using iSukces.Code.AutoCode;
using Xunit;
namespace iSukces.Code.Tests
{
public class ClassCreationTests
{
[Fact]
public void T01_Should_create_class()
{
var c = new CsFile();
var type = TypeProvider.FromType(typeof(ParentGe... |
using System;
namespace KemengSoft.UTILS.RemoteDebug
{
public class TrustedConnection
{
/// <summary>
/// 信任的IP
/// </summary>
public string Ip { get; set; }
/// <summary>
/// 信任的Id
/// </summary>
public string Id { get; set; }
/// <summa... |
// Generated by Xamasoft JSON Class Generator
// http://www.xamasoft.com/json-class-generator
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Entrata.Model.Requests
{
public class Auth
{
[JsonProperty("type")]
public string Type {... |
namespace TripDestination.Services.Data
{
using System;
using Contracts;
using System.Linq;
using TripDestination.Data.Common;
using TripDestination.Data.Models;
public class TripCommentServices : ITripCommentServices
{
private IDbRepository<TripComment> trimpCommentRepositories;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Entity.Exception;
using com.Sconit.Utility;
using Telerik.Web.Mvc;
using com.Sconit.Web.Models;
using com.Sconit.Entity.INV;
using com.Sconit.Entity.VIEW;
using com.Sconit.Service;
using com.Scon... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TesteInputForm.Models;
namespace TesteInputForm.Controllers
{
public class HomeController : Contro... |
using MySelf_InterfacesNew.Objects;
var person = new Person("Illia");
person.Move();
var animal = new Animal();
animal.Name = "Wolf";
animal.Move();
var plane = new Plane();
plane.Fly(); |
using UnityEngine;
using System.Collections;
public class RandomClick : MonoBehaviour {
public GameObject[] suit;
public void RandomPilih () {
int i = Random.Range (0,2);
suit [i].GetComponent<ButtonInput> ().OnClick ();
}
}
|
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Library.Model;
namespace Library.Interfaces
{
public interface IDataFiller
{
List<Person> GetPeopleList();
Dictionary<string, Item> GetItemsList();
ObservableCollection<Event> GetEventsList();
List<S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Timelogger.Api.Entities;
namespace Timelogger.Api.BL
{
public class NormalInvoiceCalculationRule : IInvoiceCalculationRule
{
/// <summary>
/// Calculating the invoice and returning the bill a... |
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
using PhotonInMaze.Common;
using PhotonInMaze.Common.Flow;
using PhotonInMaze.Provider;
using PhotonInMaze.Common.Controller;
using PhotonInMaze.Common.Model;
namespace PhotonInMaze.Maze {
internal partial class MazeController : FlowUpdateBeh... |
using System;
using CustomConversion.Helper;
namespace CustomConversion
{
public class Demo3
{
public static void Run()
{
// Converting an int to a Square.
Square sq2 = (Square)90;
Console.WriteLine("sq2 = {0}", sq2);
// C... |
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.Data.Metadata;
using gView.Framework.FDB;
using gView.Framework.Geometry;
using gView.Framework.IO;
using gView.Framework.system;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerScienceFinal
{
class TreeNODE
{
public int data;
public TreeNODE left = null;
public TreeNODE right = null;
public TreeNODE(int Data)
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Target), typeof(Speed), typeof(Collision))]
public class Bullet : MonoBehaviour
{
public Vector2 Direction;
public GameObject Shooter;
private void Update()
{
transform.Translate(Direction * Time... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imagin... |
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AdventureGameTEst.Extension_Methods;
namespace AdventureGameTEst.Classes
{
public class Inventory : Base
{
public int Id { get; set; }
public bool ... |
namespace gView.Framework.Symbology
{
public interface IBrushColor
{
GraphicsEngine.ArgbColor FillColor { get; set; }
}
}
|
namespace Sneaking
{
using System;
using System.Collections.Generic;
using System.Text;
public class Startup
{
public static void Main(string[] args)
{
Execute();
}
private static void Execute()
{
var n = int.Parse(Console.ReadLine()... |
using Common.Enums;
using Common.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace LokalniKontroler
{
public static class LocalPowerSimulator
{
public static Random r = new Random();
pub... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class PlayerHealth : Health {
public Sprite fullHeart;
public Sprite halfHeart;
public Sprite emptyHeart;
[Tooltip("Time in seconds to wait after the player dies before returning to the main menu.")]
public float delayAfte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MatrixOperatorOverloading
{
public class Dictionary
{
private List<string> words;
public Dictionary(string file)
{
words = new List<string>();
string[] lines = Syste... |
namespace StringConcatenation
{
using System;
public class StartUp
{
public static void Main()
{
char delimeter = char.Parse(Console.ReadLine());
string evenOdd = Console.ReadLine();
int number = int.Parse(Console.ReadLine());
string sumStrin... |
namespace HobbyGenCoreTest
{
using System.Linq;
using HobbyGen.Controllers.Managers;
using HobbyGenCoreTest.Base;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// Test class for testing hobby persistence
/// </summary>
[TestClass]
public class HobbyT... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace StringReplicator.Core.Operations.Format
{
public class LineFormattingRequest
{
public string FormatString { get; set; }
public Object[] Arguments { get; set; }
}
} |
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
namespace BerdziskoBot.Modules
{
public class ToolsModule : ModuleBase<SocketCommandContext>
{
[Command("clear"), RequireUserPermission(GuildPermission.ManageMessages)]
public async Task Clear(int count)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RigidbodyEventHandler : TimeEventHandler
{
public Rigidbody target;
private RigidbodyEvent lastEvent;
public override void ApplyEvent(TimeEvent timeEvent, bool reverse)
{
lastEvent = (RigidbodyEvent)t... |
using GraphicalEditor.Enumerations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphicalEditor.DTO
{
public class DivideRenovationDTO
{
public BaseRenovationDTO baseRenovation { get; set; }
public string FirstRoo... |
using System.Collections.Generic;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Fields;
using FakeItEasy;
using Newtonsoft.Json.Linq;
using OrchardCore.ContentFields.Settings;
using Xunit;
namespace DFC.ServiceTaxonomy.UnitTests.GraphSync.GraphSyncers.Fields.NumericFieldGraphSyncerTes... |
using Kendo.Mvc;
using Sparda.Contracts;
using Sparda.Core.Services;
using Sparda.Core.Services.Contexts;
using System;
using System.Collections.Generic;
using System.Data.Services;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Telerik.OpenAc... |
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
namespace RRExpress.Common {
public class BearerMessageHandler : MessageProcessingHandler {
private string Token;
public BearerMessageHandler(string token)
: base(new HttpClientHandler()) {
this... |
using ipScan.Base;
using System;
using System.Collections.Generic;
namespace ipScan.Base
{
interface ITasksChecking
{
DateTime LastTime { get; }
TimeSpan loopTime { get; }
int SleepTime { get; set; }
bool MySearchTasksStartedAll { get;}
void Check();
v... |
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 Prise_Note
{
public partial class Button_menu : Form
{
bool etat = false;
... |
using System;
using System.Collections.Generic;
using System.Net;
using App.Core.Interfaces.Dto;
using Newtonsoft.Json;
namespace App.Core.Interfaces.Errors
{
public enum StatusCode
{
InternalError = -1,
Ok = 0,
// Parsing/validation.
RequestParsingError = 100,
Validati... |
using NeuralNetLibrary.components.activators;
using System;
namespace NeuralNetLibrary.components
{
[Serializable]
public class Neuron
{
public ActivationFunction Activator { get; }
private double weightedSum;
public double[] InputWeights { get; set; }
public bool IsBias { ... |
using System;
using System.Globalization;
using Tomelt.ContentManagement;
using Tomelt.ContentManagement.FieldStorage.InfosetStorage;
namespace Tomelt.MediaLibrary.Models {
public class DocumentPart : ContentPart {
public long Length {
get { return Convert.ToInt64(this.As<InfosetPart>().Get("D... |
using UnityEngine;
using System.Collections;
using VRStandardAssets.Utils;
using UnityEngine.VR;
namespace Shounds.IObj
{
public class IObjTransform : MonoBehaviour
{
public Vector3 m_IObjInitPos;
public KeyCode TransformExitKey = KeyCode.Escape;
[SerializeField] private f... |
using System.ComponentModel.DataAnnotations;
namespace API_ASPNET_CORE.Models.Usuarios
{
public class LoginViewModelInput
{
[Required(ErrorMessage = "Login obrigatório")]
public string Login { get; set; }
[Required(ErrorMessage = "Senha obrigatória")]
public string Senha { get;... |
using Abp.Authorization;
using Abp.NHibernate.Repositories;
namespace Abp.Zero.NHibernate.Repositories
{
public class PermissionSettingRepository : NhRepositoryBase<PermissionSetting, long>, IPermissionSettingRepository
{
}
} |
using Microsoft.EntityFrameworkCore.Migrations;
namespace CleverScheduleProject.Migrations
{
public partial class AddressCordsUpdatedToDoubles : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<double>(
name: "... |
using System.Collections.Generic;
using DevExpress.Utils;
using DevExpress.XtraTreeList;
using DevExpress.XtraTreeList.Nodes;
using PhuLiNet.Plugin.Menu;
using Techical.Icons;
namespace PhuLiNet.Window.MainApplication.Extenders
{
internal class TreeListExtender : IMenuExtender
{
private rea... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Plus1.Models
{
public class SubSubCategory
{
[Key]
public string Name { get; set; }
public string ParentName { get; set; }
public virtual... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stringkezeles
{
class Program
{
static string abc = "abcdefghijklmnopqrstuvwxyz";
static void Main(string[] args)
{
string[] stringek = new string... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pickupable : MonoBehaviour
{
public float interactRadius = 3.0f;
void Start(){
}
/*void OnDrawGizmosSelected(){
Debug.Log("gizmosdrawcalled");
Gizmos.color = Color.yellow;
Gizmos.DrawW... |
using FluentValidation;
using INOTE.Core.Domain;
using INOTE.Core.EntityValidator;
using INOTE.View;
using INOTE.View.Pages;
using INOTE.ViewModel.Commands;
using INOTE.ViewModel.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Thre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Laboratorio5v2
{
class CirculoColoridoPreenchido : CirculoColorido
{
private string minhaCor;
public string Cor
{
get
{
... |
namespace Euler.Regions
{
public class OneTouchDevice : ITouchDevice
{
public int[][] GetScreenState()
{
return new int[][]{
new []{1, 1, 1, 1, 1},
new []{1, 1, 1, 1, 1},
new []{1, 1, 1, 1, 1},
new []{1, 1, 1, 1, 1},
... |
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using WebsiteManagerPanel.Data.Entities;
using WebsiteManagerPanel.Data.Configurations.BaseConfigurations;
namespace WebsiteManagerPanel.Data.Configurations
{
public class RoleGroupConfiguration : EntityTypeConfiguration<RoleGroup>
{
public overri... |
using System;
namespace Na_vase_taimera
{
class Program
{
static void Main(string[] args)
{
int time = int.Parse(Console.ReadLine());
if ((time< 1)||(time > 65535))
{
Console.WriteLine("ERROR");
}
for (i... |
using System.Text;
namespace csharp {
public class ReverseNumber {
public int Reverse(int number) {
bool isNegative = false;
if (number < 0) {
number = number * -1;
isNegative = true;
}
int result;
StringBuilder sb ... |
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class ButtonsScript : MonoBehaviour
{
private const float RepeatRate = 0.2f;
public Text LevelText;
private int lvlToLoad;
public GameObject exitScr;
private void Start()
{
lvlToLoad = GameManager.insta... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace VoxelSpace.Input {
public class InputHandle {
public static InputHandle Active { get; private set; }
public bool IsActive => Active == this && G.Game.IsActive;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// MyNode 的摘要说明
/// </summary>
[Serializable]
public class MyNode
{
private int NodeID;
private string Name;
private double Weight;
private int ParentID;
private int Rank;
private double Weight... |
using System.Collections.Generic;
using AutoMapper;
using DAL.Entity;
using Shared.DTO;
namespace BL.Helper
{
public class EntityToDtoMapper
{
IMapper Mapper;
public EntityToDtoMapper()
{
MapperConfiguration config = new MapperConfiguration(cfg =>
{
... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.ACC;
namespace com.Sconit.Entity.ISS
{
[Serializable]
public partial class IssueTypeToUserDetail : EntityBase, IAuditable
{
#region O/R Mapping Properties
//[Display(Name = "Id", ResourceType = typeof(Resour... |
using UnityEngine;
[CreateAssetMenu(fileName = "InputConfig", menuName = "Config/InputConfig", order = 1)]
public class InputConfig : ScriptableObject
{
public string moveForwardBack = "Vertical";
public string moveRightLeft = "Horizontal";
public string camPan ="Mouse X";
public string camPitch ="Mouse Y";
... |
using System.IO;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Text_Adventure
{
public class Rooms
{
public List<Room> rooms = new List<Room>();
public Rooms()
{
rooms = GetRoom();
}
public class Room
{
public int nu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MapControl : MonoBehaviour {
// 0 = absent;
// 1 = top left corner;
// 2 = fill screen.
public int map_position;
private Camera cam;
public Material backgroundMat;
public Material wallOutlineMat;
bool resetting = fal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LCode
{
// 输入: "babad"
//输出: "bab"
//注意: "aba" 也是一个有效答案。
class LCode5
{
public string LongestPalindrome(string s)
{
int maxLenth = 0;
... |
using System.Runtime.CompilerServices;
using System.Windows.Automation;
namespace UIAFramework
{
public class UICustom : ControlBase
{
public UICustom() { }
public UICustom(string condition, string treescope, UIAEnums.ConditionType? type = null, [CallerMemberName] string memberName = "")
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ALFC_SOAP.Data
{
class BookInfo
{
}
}
|
using System;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.SceneManagement;
using DFrame;
using PM = DAV.ProgramMonitor;
namespace DPYM
{
/// <summary>
/// 场景,主要功能分为三步:
/// 1、加载
/// 2、运行(是否暂停等自行定义)
///... |
using System;
using System.Collections.Generic;
using KartLib;
using KartLib.Views.AlcoDeclModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AxiDeclTest
{
[TestClass]
public class TestAxiDecl
{
[TestMethod]
public void TestDecl()
{
var alcoDeclData = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.