text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Puzzle.Interfaces
{
public interface IAutoPuzzle
{
PictureBox[] Segments { get; }
int NumRows { get; }
int Num... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_ETModel_ErrorCode : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int IsRpcNeedThrowException_s(IntPtr l) {
try {
#if DEBUG
va... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
using System.Collections;
using UnityEngine;
namespace HT.Framework
{
/// <summary>
/// 默认的任务点
/// </summary>
[TaskPoint("Default")]
public sealed class TaskPointDefault : TaskPointBase
{
public TaskPointDefault() : base()
{
}
protected override void OnStart()... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Text.RegularExpressions;
namespace GeoNavigator
{
/// <summary>
/// Okno pro pridani no... |
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 Foodieee
{
public partial class Pembayaran : Form
{
public Pembayaran()
... |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace EatDrinkApplication.Migrations
{
public partial class Init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AspNetRoles",
... |
using UnityEngine;
namespace UnityExtensions.UI.HUD.Markers.Waypoint
{
public class HUDWaypoint : MonoBehaviour
{
#region Attributes
[SerializeField]
private WaypointArrow m_arrow;
[SerializeField]
private GUIText m_distance;
[SerializeField]
private ... |
using McMaster.Extensions.CommandLineUtils;
namespace VsmacHelper.Shared {
public class BaseCommandLineApplication : CommandLineApplication {
public BaseCommandLineApplication(string name, string description, bool enableVerboseOption = true) {
Name = name;
Description = description... |
/* **********************************************
* 版 权:亿水泰科(EWater)
* 创建人:qiulijuan
* 日 期:2019/5/30 16:36:04
* 描 述:WaterFloodRepository
* *********************************************/
using EWF.Entity;
using EWF.IRepository;
using EWF.IServices;
using System;
using System.Collections.Generic;
using System.Te... |
using GymBooking.Data;
using System.Threading.Tasks;
namespace GymBooking.Core
{
public interface IUnitOfWork
{
IApplicationUserGymClassesRepository UserGymClasses { get; }
IGymClassesRepository GymClasses { get; }
Task CompleteAsync();
}
} |
namespace SingleResponsibilityShapesAfter.Contracts
{
public interface IDrawingContext
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameOverFade : MonoBehaviour
{
public GameObject gameoverScreen;
void Start()
{
gameoverScreen.SetActive(false);
}
public void DisplayGameover()
{
gameoverScreen.SetActive(true);
}
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.Services.Localization;
using Newtonsoft.Json;
namespace Dnn.PersonaBar.Seo.Components
{
[JsonObject]
public class UrlRewritingRe... |
using Enrollment.Forms.Configuration.DataForm;
using Enrollment.XPlatform.Services;
using System.Diagnostics.CodeAnalysis;
namespace Enrollment.XPlatform.ViewModels.ReadOnlys
{
public class CheckboxReadOnlyObject : ReadOnlyObjectBase<bool>
{
public CheckboxReadOnlyObject(
IUiNotificationSe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;
using DHTChord.Node;
namespace DHTChord.NodeInstance
{
[ServiceContract]
public interface INodeInstance
{
ChordNode[] SuccessorCache
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TimeTextChange : MonoBehaviour {
public Text text1;
public GameObject light;
private int min,texthour,textmin;
private float lightAngle;
System.DateTime now = System.DateTime.Now;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class TileData
{
private TileBase tilebase;
private int x, y;
private Dictionary<Direction, List<TileBase>> possibleNeighbours;
public TileBase Tilebase { get => tilebase; s... |
using System.Collections.Generic;
using System.Reactive.Subjects;
using System.Reflection;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.Text;
using Android.Views;
using Android.Views.InputMethods;
using Java.Lang;
using OmniGui.Geometry;
using OmniGui.Xaml;
using OmniGui.Xaml.Templat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Attempt4.ViewModels
{
public class BookViewModel
{
public int Id { get; set; }
public int? AuthorId { get; set; }
public string Title { get; set; }
public int? Pages { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TSP;
namespace WindowsFormsApplication1
{
class HeapQue
{
private double[] dist;
private int[] heap;
private int[] pointer;
private int[] prev;
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace example1
{
class Program
{
static void Main()
{
Complex num1 = new Complex(2, 3);
Complex num2 = new Complex(3, 4);
Complex resu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace LamToan
{
public partial class frmMultiplicationTable : Form
{
public frmMultiplicationTable()
{
Initialize... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CT.Data
{
public class DefenseReport
{
public readonly int ID;
public BaseData attacked;
public string invasionName;
public int lostGold;
public int lostElixir;
public List... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WeeklyQuestions
{
public class Week1
{
private int[] tracker;
private int[] height;
private int[] max;
/*Social network connectivity. Given a social ne... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using AgentStoryComponents;
public partial cl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.SceneManagement;
public class ElevatorLab : MonoBehaviour {
// Inputs
private Keyboard keyboard; // Keyboard
private Gamepad pad; // XBOX Controller
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StopLightStrategy.Interfaces;
namespace StopLightStrategy
{
public class NumberGenerator
{
private readonly Random _random = new Random();
public int GetRandomNumber()
{
return Convert... |
namespace FractionAddition.ConsoleApp
{
public class AdditionOperation : Operation
{
public Fraction Execute(Fraction firstFraction, Fraction secondFraction)
{
return firstFraction + secondFraction;
}
}
} |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_ResourceManager : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
ResourceManager o = new ResourceManager();
LuaObject.pushValue(l, true);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
/*
* The '!' is use for saparating the Message and Ping ID from Message.
* Every Message and Ping and ACK must be splited into two parts what saparated using '!'
*
* */
... |
using UnityEngine;
using System.Collections;
public class PlayerControl : MonoBehaviour {
private MoveController mc;
// Use this for initialization
void Start () {
mc = GetComponent<MoveController>();
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0))
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZooKeeper
{
public class Trainer
{
private int TrainerID;
private string Name;
public Trainer(int i, string s)
{
TrainerID = i;
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using UnityEngine;
namespace Architecture.Utilities
{
[Serializable]
public struct UniKeyValuePair<TKey, TValue>
{
private static StringBuilder _stringBuilder = new StringBuilder();
private static boo... |
using System.Threading.Tasks;
using InfluxData.Net.InfluxDb.Infrastructure;
namespace InfluxData.Net.InfluxDb.RequestClients.Modules
{
public interface IDatabaseRequestModule
{
/// <summary>
/// Creates a new Database.
/// </summary>
/// <param name="dbName">The name of the new... |
using System;
using System.Collections.Generic;
namespace QLTHPT.Models
{
public partial class Chitietdanhgia
{
public Chitietdanhgia()
{
Monhoc = new HashSet<Monhoc>();
}
public string CtdgMa { get; set; }
public DateTime? CtdgNgaydg { get; set; }
... |
namespace ConsoleAppGeneratePDFFile.MailService
{
public interface IEmailMessage
{
string ToEmail { get; set; }
string MailBody { get; set; }
string Suject { get; set; }
string FilePath { get; set; }
string Bcc { get; set; }
string Cc { get; set; }
string... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class StartGameCountdownController : MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI countdownText;
public void DisplayCountdownText(string time)
{
countdownText.text = time;
}
}
|
using System;
namespace SnakeGameConsole.Exceptions
{
public class OutOfBoardBoundaryException : Exception
{
public OutOfBoardBoundaryException() { }
public OutOfBoardBoundaryException(string message) : base(message) { }
public OutOfBoardBoundaryException(string message, Exception in... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Menu
{
public class GameSettings
{
public int speed { get; set; }
public double angle;
public int degreeAngle
{
... |
using System;
using System.Collections.Generic;
//"Sometimes (when I nest them (my parentheticals) too much (like this (and this))) they get confusing."
//Write a function that, given a sentence like the one above,
// along with the position of an opening parenthesis,
//finds the corresponding closing parenthesis.
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ZeroFormatter.Tests
{
public enum IntEnum : int
{
Orange, Apple, Grape
}
public enum UIntEnum : uint
{
Orange, Apple, Grape
}
public enum ShortEnum : short
{
Orange... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("UberTextMgr")]
public class UberTextMgr : MonoBehaviour
{
public UberTextMgr(IntPtr address) : this(address, "UberTextMgr")
{
}
public UberTex... |
using System.Collections.Generic;
using System.Linq;
using lauthai_api.DataAccessLayer.Repository.Interfaces;
using lauthai_api.Models;
using Newtonsoft.Json;
namespace lauthai_api.DataAccessLayer.Data
{
public class Seed
{
private readonly LauThaiDbContext _context;
private readonly IAuthRepos... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ResetAndGC : MonoBehaviour {
void Awake(){
DataRetriever dr = GameObject.Find ("Data Retriever").GetComponent<DataRetriever> ();
if(dr.useVR == false){
//Invoke ("ReloadScene", 86400... |
using System;
using Bindable.Linq.Interfaces;
using Bindable.Linq.Threading;
namespace Bindable.Linq.Operators
{
/// <summary>
/// Projects one item to another item.
/// </summary>
/// <typeparam name="TSource">The type of the source.</typeparam>
/// <typeparam name="TResult">The type of ... |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using ImageMagick;
using NLog;
using ILogger = ImageResizer.Configuration.Logging.ILogger;
namespace ImageLibTest
{
public class ImageMagickLibTester : LibTester
{
public override string LibName => "ImageMagic... |
using MyCashFlow.Web.Infrastructure.Controllers;
using MyCashFlow.Web.Services.PaymentMethod;
using MyCashFlow.Web.ViewModels.PaymentMethod;
using System.Threading.Tasks;
using System.Web.Mvc;
using System;
namespace MyCashFlow.Web.Controllers
{
public partial class PaymentMethodController : UserManagerBasedControll... |
using ProConstructionsManagment.Desktop.Enums;
using ProConstructionsManagment.Desktop.Managers;
using ProConstructionsManagment.Desktop.Messages;
using ProConstructionsManagment.Desktop.Services;
using ProConstructionsManagment.Desktop.Views.AddClient;
using ProConstructionsManagment.Desktop.Views.AddEmployee;
using ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sklep.Products
{
public enum Category
{
[Description("CHAIR")]
CHAIR,
[Description("TABLE")]
TABLE,
[Description("S... |
using System;
using Application.Common.Mappings;
using Domain.Entities;
namespace Application.Common.Dtos {
public class CourierDto : IMapFrom<Courier> {
public Guid IdCourier { get; set; }
public string CourierName { get; set; }
public string CourierPhoneNumber { get; set; }
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using XyzOfficeEmployeeTrackerr.Models;
using XyzOfficeEmployeeTrackerr.Repository;
namespace XyzOfficeEmployeeTrackerr.Controllers
{
[Route("api/[contr... |
using Dock.Model.Avalonia.Controls;
namespace AvaloniaDemo.ViewModels.Tools
{
public class LeftBottomTool1ViewModel : Tool
{
}
}
|
using System;
namespace RO
{
public interface IStringUnLoaderStrategy
{
void SUnLoad(string ID, bool unloadAllLoadedObjects);
void SUnLoadScene(string ID, bool unloadAllLoadedObjects = false);
}
}
|
using System;
using Xamarin.Forms;
namespace tryfsharpforms
{
public class MenuTextCell : TextCell
{
public MenuTextCell ()
{
}
}
}
|
using System.ComponentModel.DataAnnotations;
using PaymentApi.Models;
namespace PaymentApi.Dtos
{
public class PaymentShowDto
{
[Required]
public double Valor { get; set; }
[Required]
public string Estado { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Registration
{
public partial class EventRegistration : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
using System;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Discord.Rest;
namespace Jet_Bot.Modules
{
public class Troll : ModuleBase<SocketCommandContext>
{
[Command("Trolling")]
[RequireUserPermission(GuildPermission.Administrator)]
... |
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.Tasks;
using System.Windows.Forms;
namespace SalemOptimizer
{
public delegate void CallbackDelegate();
public pa... |
using System.Threading.Tasks;
using AutoMapper;
using IMDB.Api.Services.Interfaces;
using Microsoft.AspNetCore.Mvc;
using ResponseDto = IMDB.Api.Models.ResponseDto;
using ViewModel = IMDB.Api.Models.ViewModel;
namespace IMDB.Api.Controllers
{
[Route("api/content-ratings")]
public class ContentRatingControll... |
using UnityEngine;
using TMPro;
public class ParametersHandler : MonoBehaviour {
public int helth = 0;
public int score = 0;
public int bestScore = 0;
public float timeScale = 1;
public TMP_Text scoreText;
void Start ()
{
Time.timeScale = timeScale;
bestScore = PlayerP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Paint.Model.Models
{
public class Manufacturer
{
public int ManufacturerId { get; set; }
public string Name { get; set; }
public string Description { get; set; }... |
using HCL.Academy.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.UI;
using System.Net.Http;
using System.Threading.Tasks;
using HCLAcademy.Util;
using Microsoft.ApplicationInsights;
using System.Diagnostics;
namespace HCLAcademy.Controllers
{
[Sessi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.IO;
using System.Diagnostics;
using yamoc.stringEvaluator;
using yamoc.stringEvaluator.decoder;
namespace yamoc.server
{
public class HttpServer
{
static L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebBanHang_FoodHub.Model
{
public class Account
{
public int UserId { get; set; }
public string UserName { get; set; }
public string FullName { get; set; }
public string Password { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Discovery.Service.Test
{
[TestFixture]
public class FtpServiceTests
{
private WebFileService MakeNewFTPService()
=> new WebFileService(@"... |
/*
Equilibirium, a game simulator for balancing economic progress and environmental collapse.
Copyright (C) 2014, Mad House Studios.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
namespace JoushuaMathTests
{
[TestClass]
public class JArrayTest
{
[TestMethod]
public void Arraytestc()
{
List<List<int>> listA = new List<List<int>>(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StartingTable : MonoBehaviour
{
public BoxInformation[] boxes; // The original boxes that are in the scene before loading
private Vector3[] boxPosition; // The original positions
private BoxInformation[] awayBox; // The box... |
using System.Collections.Generic;
namespace KudoCode.Contracts
{
public interface IVxLookup
{
int Id { get; set; }
string Value { get; set; }
}
public class VxLookup : IVxLookup
{
public int Id { get; set; }
public string Value { get; set; }
}
public class VxLookupList
{
public List<VxLookup> Li... |
using System;
using System.Linq;
using Relocation.Data;
namespace Relocation.Service
{
public class UserService
{
private Relocation.Service.DataModel DataModel;
public UserService(DataModel dataModel)
{
this.DataModel = dataModel;
}
/// <summary>
/// 返回可用的用户名列表
/// </summary>
... |
using System;
using BuyMeCoffee.OrchardCore.Drivers;
using BuyMeCoffee.OrchardCore.Filters;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.DisplayManagement.Handlers;
using OrchardCore.Modules;
usi... |
using System;
using Bodoconsult.Core.Web.Mail.Model;
namespace Bodoconsult.Core.Web.Mail
{
/// <summary>
/// Base class for simple and mass mailers <see cref="MassSmtpMailer" /> and <see cref="SmtpMailer"/>/>
/// </summary>
public abstract class BaseMailer: IDisposable
{
/// <summary>
... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_Events_PersistentListenerMode : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.Events.PersistentListenerMode");
LuaObject.addMember(l, 0, "EventDefined");
LuaObject.addMember(l, 1, "Void");
LuaOb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Driver;
namespace EnterpriseDistributedApplication
{
public class MongoConnectionHandler
{
public IMongoDatabase dbClient { get; private set; }
public MongoConne... |
using UnityEngine;
using System.Collections;
public class SelectionScript : MonoBehaviour
{
/*A local script for dragging the selection box & control groups */
public static bool dragging = false;
public static Vector3 startPos = Vector3.zero;
public static Vector3 endPos = Vector3.zero;
public static Vector3 a... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Data;
using System.Xml.Serialization;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities;
using DotNe... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Collections;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entity;
using FluentNHibernate.Mapping;
namespace PropertyManagement.Domain.Mapping.FluentHibernate
{
public class PassengerDetailsMap : ClassMap<PassengerDetails>
{
public PassengerDetailsM... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MonsterTiSheng : MonoBehaviour {
GameObject player;
void Awake () {
player = GameObject.FindGameObjectWithTag("Player");
Rigidbody2D rigidbody2D = gameObject.AddComponent<Rigidbody2D>();
rigidbod... |
using System;
using System.Collections.Generic;
using System.Linq;
using Excel = Microsoft.Office.Interop.Excel;
using Regex = System.Text.RegularExpressions.Regex;
using System.IO;
using System.IO.Compression;
using Microsoft.Office.Interop.Excel;
namespace attempt2
{
class Program
{
sta... |
using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
namespace Enrollment.XPlatform.Views;
public partial class BusyIndicator : ContentPage
{
public BusyIndicator()
{
InitializeComponent();
//Visual = VisualMarker.Default;
this.BackgroundColor = Colors.Transparent;
}
} |
using UnityEngine;
using System.Collections;
using InControl;
public class InputBindings {
public CharacterActions Actions{ get{ return actionSet; }}
private CharacterActions actionSet;
public InputBindings()
{
actionSet = new CharacterActions( null );
bindMovementActions();
bindCameraActions();
bindPl... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class UIManager
{
private const string UI_ROOT_GAMEOBJECT = "";
private const string UI_SCENE_NAME = "";
#region "Initialization"
/// <summary>
/// Initializes the Logic Manager
/// </summar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace test4._5andtest4._6
{
class Program
{
static void Main(string[] args)
{
///////////////////// 试题4.5 ///////////////... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Psub.DataService.DTO;
using Psub.DataAccess.Abstract;
using Psub.DataService.Abstract;
using Psub.Domain.Entities;
using NHibernate.Linq;
namespace Psub.DataService.Concrete
{
public class DataParameterService : I... |
namespace Secretarium.Helpers
{
public static class ScpHelper
{
public static bool IsClosed(this SecureConnectionProtocol.ConnectionState state)
{
return state == SecureConnectionProtocol.ConnectionState.None || state == SecureConnectionProtocol.ConnectionState.Closed;
}
... |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Ядро приложения.")]
[assembly: AssemblyDescription("Сборка с основной логикой бота.")]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("e5642679-145d-4115-89e3-2e9a44dc40d7")]... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using AssemblyCSharp;
public class LevelFinishedController : MonoBehaviour
{
public bool levelCompleted = false;
Animator anim;
Text scoreText;
Text leaderText;
GameController gameController;
TimeController timeController;
ExitController exitC... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Tools.Models;
using Tools.Response.Json;
namespace CollectWuFuWeChatSmallProcess.Models
{
public class CompanyModel
{
... |
using Contoso.XPlatform.ViewModels.Validatables;
using System.Collections.Generic;
namespace Contoso.XPlatform.Validators.Rules
{
public record IsValidEmailRule : ValidationRuleBase<string>
{
public IsValidEmailRule(string fieldName, string validationMessage, ICollection<IValidatable> allProperties)
... |
using SII3.Extensions;
using SII3.Helpers;
using System;
using System.Linq;
using System.Windows.Controls;
using System.Windows.Input;
namespace SII3.Models
{
/// <summary> Дерево узлов со строковыми идентификаторами. </summary>
public class Tree : Observable
{
private Node _root;
/// <su... |
using UnityEngine;
public static class TransformExtensions
{
public static void ClampTranslate(this Transform transform, Vector3 translation, Vector3 min, Vector3 max)
{
var newPosition = transform.position + translation;
if (newPosition.x < min.x) newPosition.x = min.x;
if (newPositi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Xml.Serialization;
namespace Serdi
{
[Serializable]
public class Complex
{
public int a, b;
... |
// 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 System.Collections.Concurrent;
using System.Globalization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Micro... |
using System.Linq;
using System.Runtime.InteropServices;
namespace _8._Bombs
{
using System;
class Bombs
{
static void Main(string[] args)
{
int dimensions = int.Parse(Console.ReadLine());
int[,] matrix = new int[dimensions, dimensions];
... |
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;
namespace Sunny.Tools
{
public partial class Main : Form
{
public Main()
{
InitializeComponent();
... |
namespace CloneDeploy_Entities.DTOs.ClientImaging
{
public class CheckIn
{
public string ImageEnvironment { get; set; }
public string Message { get; set; }
public string Result { get; set; }
public string TaskArguments { get; set; }
public string TaskId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Utility;
using Model.DataEntity;
using Uxnet.Web.Module.Common;
using System.Linq.Expressions;
using Model.Security.MembershipManagement;
using Business.Helper;
using Uxnet.... |
using SGDE.Domain.Entities;
using SGDE.Domain.ViewModels;
using System.Collections.Generic;
using System.Linq;
namespace SGDE.Domain.Converters
{
public class DetailEmbargoConverter
{
public static DetailEmbargoViewModel Convert(DetailEmbargo detailEmbargo)
{
if (detailEmbargo == n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.