text stringlengths 13 6.01M |
|---|
using RabbitMQ.Client;
using System;
using System.Text;
namespace Accenture.DataSaver.Processors
{
public class PublishMessage
{
public PublishMessage()
{
}
public void Publish(string message, ConnectionFactory _factory, string exchange = "configuration", IBasicProperties pro... |
using System;
using System.Linq;
using Uintra.Features.CentralFeed.Enums;
using Uintra.Infrastructure.Grid;
using Umbraco.Core.Models.PublishedContent;
namespace Uintra.Core.Feed.Services
{
public abstract class FeedContentServiceBase : IFeedContentService
{
private readonly IFeedTypeProvider _feedTyp... |
using DamianTourBackend.Application.Helpers;
using DamianTourBackend.Core.Entities;
namespace DamianTourBackend.Application.Register
{
public static class RegisterMapper
{
public static User MapToUser(this RegisterDTO model) =>
new User
{
Email = model.Email,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.ServiceLocation;
using Microsoft.Practices.Unity;
using System.Data;
using System.... |
namespace BettingSystem.Application.Competitions.Leagues.Commands.Create
{
public class CreateLeagueResponseModel
{
internal CreateLeagueResponseModel(int id) => this.Id = id;
public int Id { get; }
}
}
|
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Unit_Test_Demo.Commands;
using Unit_Test_Demo.DAL;
using Unit_Test_Demo.Domain;
namespace Unit_Test_Demo.Controllers
{
[Route("api/[controller]")]
public class ContainersController : Controller
{
... |
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.Threading;
using System.Windows.Forms;
using System.IO;
using MetroFramework;
using MetroFramework.Forms;
using MetroFra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace WritingToTextFile
{
class Program
{
static void Main(string[] args)
{
int count=1;
StreamWriter file = new StreamWriter(@"C:\Users\chery\Desktop\WriteText.tx... |
using MdServices.Base.Interfaces;
namespace MdServices.Base
{
public static class LocalContext
{
public static ILoggerFactory LoggerFactory { get; }
static LocalContext()
{
LoggerFactory = new LoggerFactory();
LoggerFactory.SetLevel(ILogger.LogLevel.Trace);
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using MeriMudra.Models;
namespace MeriMudra.Controllers
{
public class BusinessPartnerProgrammesController : Controller
{
private Mm... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.CompilerServices;
namespace DanialProject.Models.Others
{
public class LoginViewModel
{
[Display(Name="Username")]
[Required]
public string Email
{
get;
set;
}
[DataType(DataType.Password)]
[Display(Name="Password")]... |
using System.Collections.Generic;
namespace Quote.Framework
{
public interface ILoanRequestedAmountValidator
{
List<ILoanRequestedAmountValidationRule> Rules { get; set; }
void Validate(int requestedAmount);
}
}
|
namespace Sentry.Internal;
internal abstract class RandomValuesFactory
{
public abstract int NextInt();
public abstract int NextInt(int minValue, int maxValue);
public abstract double NextDouble();
public abstract void NextBytes(byte[] bytes);
public bool NextBool(double rate) => rate switch
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using IRAP.Global;
using IRAPShared;
namespace IRAP.Entity.MDM
{
/// <summary>
/// 一点课
/// </summary>
public class OnePointLesson
{
/// <summary>
/// 序号
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KartObjects
{
public class AxlAccount:SimpleDbEntity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
{
get { return "Счет AXL"; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace SportHub.Models
{
public class Sport
{
public int Id { get; set; }
public ApplicationUser SportMan { get; set; }
[Required]
public strin... |
using System;
using System.Reflection;
using Sitecore.Includes.AssemblyBinding.Configuration;
namespace Sitecore.Includes.AssemblyBinding.App_Start
{
/// <summary>
/// Initialize assembly bindings
/// </summary>
public class InitializeAssemblyBindings
{
/// <summary>
/// Processes the specified arg... |
using UnityEngine;
using UnityEngine.UI;
public class InfoPanel : MonoBehaviour
{
[SerializeField] private CardData CardDate = null;
[SerializeField] private Text[] Texts = new Text[(int)EnumNumbers.Cards];
[SerializeField] private Image[] Images = new Image[(int)EnumNumbers.Cards];
[SerializeField] p... |
using UnityEngine;
using System.Collections;
namespace Mio.TileMaster {
public class RewardDetailView : MonoBehaviour {
[SerializeField]
private UISprite rewardIcon;
[SerializeField]
private UILabel lbRewardValue;
public void SetReward(string iconSpriteName, string rewardV... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DucksV2
{
class Program
{
static void Main(string[] args)
{
var donald = new Duck("Sir Donald", "Mallard", 100, 17);
var daffy = new Duck("Sir Daffy", "Mallard", 99, 14);
var daisy =... |
namespace _01.ReverseNumbersWithAStack
{
using System;
using System.Collections.Generic;
using System.Linq;
public class ReverseNumbersWithAStack
{
public static void Main()
{
string input = Console.ReadLine();
if (input != null)
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace learn_180330_Graphics_1
{
... |
namespace SimplySqlSchema
{
public class KeySchema
{
public int KeyIndex { get; set; }
public bool AutoIncrement { get; set; }
}
}
|
namespace BDTest.Settings.Skip;
public class SkipStepRule<T>
{
public Func<T, bool> Condition { get; }
public Type AssociatedSkipAttributeType { get; }
public SkipStepRule(Type associatedSkipAttributeType, Func<T, bool> condition)
{
AssociatedSkipAttributeType = associatedSkipAttribute... |
using System.Collections.Generic;
using System.Linq;
namespace Glass
{
public class Type
{
private readonly System.Type type;
public Type(System.Type type)
{
this.type = type;
}
public IEnumerable<Member> Members
{
get
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SuperMassive : MonoBehaviour
{
public void InitSuperMassive(float posX, float posY, int size, int grav) {
PointEffector2D gravityEffector = GetComponent<PointEffector2D>();
gravityEffector.forceMagnitude =... |
using System;
using System.Collections.Generic;
namespace Apv.AV.Services.DTO.FC
{
public class CarModelClassDto
{
public string id { get; set; }
public string countryCode { get; set; }
public string companyId { get; set; }
public string modelClassId { get; set; }
publi... |
using System.Collections.Generic;
using UnityEngine;
using System.Collections;
public class AiPathGroupCtrl : MonoBehaviour {
public static List<Transform> PathArray = null;
// Use this for initialization
void Awake()
{
SetPathArray();
this.enabled = false;
}
void OnDrawGizmosSelected()
{
if (!enabl... |
using System;
using System.Collections.Generic;
using SpeedSlidingTrainer.Core.Model;
using SpeedSlidingTrainer.Core.Model.State;
namespace ConsoleApplication1.BoardSolverV4
{
internal class NodeV4 : IEquatable<NodeV4>
{
private readonly int distanceFromInitialNode;
private NodeV4(BoardStateV... |
namespace WebApplication1.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialCreate : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Book",
c => new
{
... |
using UnityEngine;
using Grpc.Core;
using static NetworkService.NetworkService;
using NetworkService;
public class ComParent {
protected Channel Channel { get; set; }
protected NetworkServiceClient Client { get; set; }
protected string IPaddr { get; set; }
protected string Port { get; set; }
... |
using Discord;
using NUnit.Framework;
using OrbCore.ContentTools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestCommons.DiscordImpls;
namespace OrbCoreTests.ContentToolsTest {
[TestFixture]
class GuildTextMessageToolsTests {
... |
public struct Point
{
public double x, y, z;
public Point(double p1, double p2, double p3)
{
x = p1;
y = p2;
z = p3;
}
public double DistSq()
{
return x * x + y * y + z * z;
}
//public override string ToString()
//{
// return "[x=" + x + ", y=" + y + ", z... |
using Microsoft.AspNetCore.Http;
using Microsoft.Net.Http.Headers;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace KemengSoft.UTILS.RemoteDebug
{
public class RemoteDebugRequestCookieCollection: IRequestCookieCollection
{
public struct Enumerator ... |
using System;
using System.Linq;
using Fingo.Auth.DbAccess.Models.Statuses;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.Infrastructure.ExtensionMethods;
using Fingo.Auth.Domain.Models.ProjectModels;
using Fingo.Auth.Domain.Projects.Interfaces;
namespace Fingo.Auth.Domain.Projects.Implemen... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Models
{
/// <summary>
/// 招聘类
/// </summary>
public class Recruitment1
{
public int PostId { get; set; }
public string PostName { get; set; }
public string PostType { get; set; ... |
using System;
namespace CamelCase
{
public class ConvertToCamelCase
{
public static string toCamelCase(string inputString)
{
string camelCaseString = "";
inputString = inputString.ToLower();
for (int i = 0; i < inputString.Length; i++)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace sbwilger.DAL.Models
{
public enum Vitals
{
Health,
Mana
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using VEE.Models;
using VEE.Models.BasedeDatos;
using VEE.Util;
namespace VEE.Controllers
{
public class PlanillasC... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ingresso.TestePauloRocha.Model
{
[Table("CISA_CINEMA_SALAS")]
public class Cinema_Salas
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Leaderboard : MonoBehaviour
{
private int id;
private string playerName;
private int score;
public int Id
{
get
{
return id;
}
set
{
id = val... |
using Alabo.Web.Mvc.Attributes;
namespace Alabo.App.Kpis.GradeKpis.Domain.Enum
{
[ClassProperty(Name = "升降类型")]
public enum GradeKpiType
{
/// <summary>
/// 晋升
/// </summary>
PromotedKpi = 1,
/// <summary>
/// 降职
/// </summary>
Demot... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace RunNerdApp.Models
{
public class TrainingCycleModel
{
[Key]
public string Name { get; set; }
public string GoalDistance { get; set; }
publ... |
using RestDDD.Application.DTOS;
using RestDDD.Application.Interfaces;
using RestDDD.Application.Interfaces.Mappers;
using RestDDD.Domain.Core.Interfaces.Services;
using System.Collections.Generic;
namespace RestDDD.Application
{
public class ApplicationServiceContato : IApplicationServiceContato
{
pri... |
using UnityEngine;
using System.Collections;
public class EnemyManager : MonoBehaviour {
public GameObject enemyPrefab;
public GameObject explosivePrefab;
private GameObject[] enenmies = new GameObject[3];
private Vector3 originalEnemyPosition = new Vector3(0, -50, 0);
// Use this for initialization
void... |
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
namespace Xabe.FFMpeg
{
// ReSharper disable once InconsistentNaming
/// <summary>
/// Base FFMpeg class
/// </summary>
public abstract class FFBase: ID... |
using System.Collections;
using System.Collections.Generic;
using System.Security.Cryptography;
using UnityEngine;
public class PlayerPosition : MonoBehaviour
{
private PlayerMovement player1;
private CameraMovement camera1;
public Vector2 playerDirection;
public string loadName;
// Start is c... |
using Question.DAL;
using Question.DAL.Service;
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 QuestionForm
{
public partial class LoginForm : Form
{
priva... |
namespace MvvmLight22
{
using System.Globalization;
using System.Windows.Controls;
using ViewModel;
public class EmailRule : ValidationRule
{
public override ValidationResult Validate(object value, CultureInfo cultureInfo)
{
var email = ViewModelLocator.Instance.Main.Em... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MergeSort
{
interface IBaseService
{
void ConsoleRun();
}
}
|
using PatientService.CustomException;
using PatientService.Model;
using PatientService.Model.Memento;
using System.Collections.Generic;
using Xunit;
namespace PatientServiceTests.UnitTests
{
public class TherapyDailyDoseTests
{
[Theory]
[MemberData(nameof(Data))]
public void Validation... |
using UnityEngine;
using System.Collections;
/*
The ButtonScript script holds a collection of functions which load scenes.
The functions are called when the buttons which call them through their
OnClick function are pressed.
*/
public class ButtonScript : MonoBehaviour {
/*
The MainMenu function opens the MainMenu... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using OpenCVForUnityExample;
using RSG;
using System.Linq;
using System;
using OpenCVForUnity;
using System.Threading;
/// MobileNet SSD WebCamTexture Example
/// This example uses Single-Shot Detector (https://arxiv.org/abs/1512.02325) t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalculatorWPF
{
public class CalculatorModel
{
public string firstValue;
public string secondValue;
public string chosenOperator;
public double firstVal... |
// Copyright (c) Christopher Clayton. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace praxicloud.core.metrics.simpleprovider
{
#region Using Clauses
using System.Threading;
using System.Threading.Tasks;
#endregion
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Journey.WebApp.Data;
using Journey.WebApp.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace Journey.WebApp.Controllers
{
public class AlbumController :... |
using UnityEngine;
public interface IBlockView
{
void BindViewModel(IBlockViewModel viewModel);
void AddProduct(Transform transform);
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace NewsProject.Shared.Models
{
public class Image
{
public int Id { get; set; }
public string Name { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using IRAP.Global;
namespace IRAP.Interface
{
public class TSoftlandRowSet
{
public virtual XmlNode GenerateXMLNode(XmlNode node)
{
return IRAPXMLUtils.GenerateXML... |
using Assets.Scripts;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
/// <summary>
/// Manager for game lever, sets and create every level attributes
/// </summary>
public class LevelManager : SingletonInstance<LevelManager>
{
[SerializeField]
private CameraMovement _cam... |
using Anywhere2Go.DataAccess;
using Anywhere2Go.DataAccess.AccountEntity;
using Anywhere2Go.DataAccess.Object;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.Business.Accounting
{
public class ServiceTypeLogi... |
using System.Net;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace TalebiAPI.Domain
{
internal class SingleResponse<T>
{
internal SingleResponse()
{
}
public SingleResponse(T data, HttpStatusCode httpStatusCode)
{
Data = data;
... |
using Tweetinvi;
namespace TwitCreds
{
public class TwitHelper
{
static bool twitCredsAreSet = false;
public static void SetCreds()
{
if (twitCredsAreSet) return;
twitCredsAreSet = true;
Auth.SetUserCredentials(TwitCreds.Settings.CONSUMER_KEY, TwitC... |
using Xunit;
namespace Problem1.Test
{
[CollectionDefinition(COLLECTION_NAME)]
public class TripCardTestCollection : ICollectionFixture<TripCardFixture>
{
internal const string COLLECTION_NAME = "Тесты упорядочения карточек путешествий";
// This class has no code, and is never created. It... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Decorator
{
class MemStream : IStream
{
public String GetBuffer(String aBuffer)
{
return aBuffer;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using static InputManager;
public class InputSender : MonoBehaviour {
public GameObject[] targets = new GameObject[1];
public InputType[] inputTypes = new InputType[1];
public DebugAndTest debug;
void Start (... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace SingletonDemo
{
//Singleton Pattern:
//Only one intsance will be used throught application lifecycle in 1 session
//sealed will stop any other extension sub classes.No one can inherit Cart.
public sealed class Cart
... |
using System.Windows.Forms;
using System.Drawing;
public class Player
{
//当前角色
public static int current_player = 0;
//行走
public int x = 0;
public int y = 0;
public int face = 1;
public int anm_frame = 1;
public long last_walk_time = 0;
public long walk_interval = 100;
public i... |
public class Solution {
public void SortColors(int[] nums) {
if (nums.Length == 0) return;
int left = 0, right = nums.Length - 1;
int i = 0;
while (i <= right) {
if (nums[i] == 0) {
// if (i == left) {
// i ++;
... |
using Foundation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UIKit;
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms;
using JoeCalc;
using JoeCalc.iOS;
[assembly: ExportRenderer(typeof(MyEntry), typeof(MyEntryRenderer))]
namespace JoeCalc.iOS
{
public class MyEnt... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bush : MonoBehaviour {
public bool isPicture; //Jika semak-semak dihancurkan, apakah mendapatkan potongan gambar
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update (... |
using UnityEngine;
/* Programmer: Max Nastri
* Project: Spooky Knight Adventures
* Script: PlayerMotor.cs
* Purpose: Foundation for player actions including movement, attacking, combat and animations
*/
public class PlayerMotor : RayController
{
// Reference variable for the CollisionInfo struct
[HideInIn... |
using System.Collections.Generic;
using Umbraco.Core.Models.PublishedContent;
namespace Uintra.Features.CentralFeed.Providers
{
public abstract class FeedContentProviderBase : ContentProviderBase, IFeedContentProvider
{
protected abstract IEnumerable<string> OverviewAliasPath { get; }
protect... |
using System.Web.Script.Services;
using System.Web.Services;
using System.Web.Script.Serialization;
using TestWebService.Model;
using TestWebService.Data;
using TestWebService.Tools;
using System;
using System.Web.Services.Protocols;
namespace TestWebService
{
/// <summary>
/// Веб сервис
/// </summary>
... |
using System.Threading.Tasks;
using BookLibrary.Models;
namespace BookLibrary.Dal
{
public class BookLibraryRepository : IBookLibraryRepository
{
public Task<Book> AddAsync(string name, string content)
{
return Task.FromResult(new Book
{
Id = 42,
Name = name,
Content = content
});
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GamePlayMenuManager : MonoBehaviour
{
int sceneindex;
private void Start()
{
sceneindex= SceneManager.GetActiveScene().buildIndex;
}
public void BackStartMenu(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace E_ShopDomainModel.Interfaces
{
public interface INamedServices<TEntity> : IServices<TEntity>
where TEntity : class, IEntity
{
IEnumerable<TEntity> GetByName(string n... |
using System.Windows.Controls;
namespace CODE.Framework.Wpf.Theme.Newsroom.StandardViews
{
/// <summary>
/// Interaction logic for TileNarrow.xaml
/// </summary>
public partial class TileNarrow : Grid
{
/// <summary>
/// Initializes a new instance of the <see cref="TileNarrow"/> cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gurux.Device;
using System.Runtime.Serialization;
using System.ComponentModel;
using Gurux.Device.Editor;
namespace Gurux.DLMS.AddIn
{
[DataContract()]
public class GXDLMSData : GXDLMSProperty
{
/// <summar... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Net.Http;
using System.Windows.Forms;
using UseFul.ClientApi;
using UseFul.ClientApi.Dtos;
using UseFul.Forms.Welic;
using UseFul.Uteis;
using UseFul.Uteis.UI;
namespace Welic.WinForm.Cadastros.Estacionamento
{
public partial class Fr... |
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace CSEBrazil.Library.Utils
{
public static class HTTPExtension
{
static Action Throttled;
private static async Task<TResponse> RunTaskWithAutoRetryOnQu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.Data.OracleClient;
using System.Data.SqlClient;
namespace pe
{
public partial class FrmSetup : Form
{
... |
using MakePayroll;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MakePayroll {
public class EmployeesWindowView : INotifyPropertyChanged {
public event PropertyChangedEventHandler PropertyChanged;
... |
namespace ProjetctTiGr13.Domain.FicheComponent
{
public class SaveRollManager
{
public bool ForceSave { get; set; }
public bool DexteriteSave { get; set; }
public bool ConstitutionSave { get; set; }
public bool IntelligenceSave { get; set; }
public bool SagesseSave { get... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event Instancer of type `GameObjectPair`. Inherits from `AtomEventInstancer<GameObjectPair, GameObjectPairEvent>`.
/// </summary>
[EditorIcon("atom-icon-sign-blue")]
[AddComponentMenu("Unity Atoms/Event Instancers/GameObjec... |
using System;
using System.Collections;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using DtCms.BLL;
using System.Data;
namespace DtCms.Web.m
{
public partial class news : DtCms.Web.UI.BasePage
{
public int pcount = 0; //总条数
public int page; //当前页
public in... |
using System;
class Factorial
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
int i = 1;
int sum = 1;
do
{
sum *= i;
i++;
} while (i <= n);
Console.WriteLine(sum);
}
}
|
using UnityEngine;
using System.Collections;
/// <summary>
/// Pause manager.
///
/// Allows lots of custom behaviors on pause by centralising
/// pausing and providing pause events to subscribe to.
/// </summary>
public class PauseManager : MonoBehaviour
{
public delegate void PauseAction();
public static event P... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using KartLib.Views;
using KartObjects;
using System.Threading;
using System.Linq;
using DevExpress.XtraBars;
using KartLib;
using KartObjects.Entities.Do... |
using FrameOS.Systems.CommandSystem;
using System;
using System.Collections.Generic;
using System.Text;
using FrameOS.Systems.Networking;
using Cosmos.HAL;
namespace FrameOS.Commands
{
class GetNetworkTimeCommand : ICommand
{
public string description { get => "Get the time from time.windows.com"; }
... |
namespace Alabo.Tool.Payment.MiniProgram.Dtos
{
/// <summary>
/// 小程序登录以后返回的状态
/// </summary>
public class LoginOutput
{
/// <summary>
/// 用户是否注册
/// </summary>
/// <value>
/// <c>true</c> if this instance is reg; otherwise, <c>false</c>.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FrbaOfertas.Model
{
public class Funcionalidad
{
public List<String> atributesModify = new List<string>();
Int32 _fun_codigo;
String _fun_nombre;
pub... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DSSCriterias.Logic;
using DSSCriterias.Logic.Criterias;
namespace DSSCriterias.Tests
{
[TestClass]
public class StatGameTest
{
... |
namespace Domain.Entities
{
public sealed class StoryGenre : BaseEntity
{
public string Type { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using TrainingRooms.Admin.Dialogs;
using TrainingRooms.Admin.SelectionModels;
using TrainingRooms.Model;
using UpdateControls.XAML;
namespace TrainingRooms.Admin.ViewModels
{
public class EventViewMode... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Projeto_Carros.Models;
using Projeto_Carros.Services;
using System.Collections.Generic;
using System.Linq;
namespace Projeto_Carros.Controllers
{
[Route("api/[controller]")]
... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Embraer_Backend.Models;
using Microsoft.Extensions.Configuration;
using System;
using Microsoft.AspNetCore.Cors;
using System.Linq;
namespace Embraer_Backend.Controllers
{
[Route("api/[controller]/[action]")]
[EnableCors("CorsPolicy")]
... |
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using System.Threading;
using Union.Gateway.Abstractions;
namespace Union.Gateway.MsgIdHandler
{
public class UnionMsgIdHandlerHostedService : IHostedService
{
private readonly IUnionMsgConsumer jT808MsgConsumer;
private readon... |
using System;
using Microsoft.Xna.Framework;
namespace VoxelSpace {
// represents a field of voxel orientations
// usually mainly to determine texture directions; should generally coincide with gravity
public interface IVoxelOrientationField {
Orientation GetVoxelOrientation(Coords c);
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace CourseWork
{
public partial class Form1 : Form
{
RedBlackTree... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.