text stringlengths 13 6.01M |
|---|
using System;
namespace RMAT3.Models
{
public class PartyEntityRoleRelation
{
public Guid PartyEntityRoleRelationId { get; set; }
public string AddedByUserId { get; set; }
public byte[] AddTs { get; set; }
public string UpdatedByUserId { get; set; }
public Date... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerCup150.Chapter3_StacksAndQueues
{
/*
In the classic problem of the Towers of Hanoi, you have 3 rods and N disks of different sizes which can slide onto any tower. The puzzle starts with disks sorted in as... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Panacea.Multilinguality
{
public class TranslatableDictionary : Dictionary<string, string>, INotifyCollectionChanged
{
public Translatable... |
using System;
using System.Diagnostics;
using System.Linq.Expressions;
using System.Reflection;
namespace MonoGame.Extended.Tweening
{
public sealed class TweenPropertyMember<T> : TweenMember<T>
where T : struct
{
private readonly PropertyInfo _propertyInfo;
public TweenPropertyMember... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shelter : Building
{
public int Capacity = 5;
public List<Human> Residents;
public static Stack<Shelter> FreeShelters;
protected override void FinishBuild()
{
base.FinishBuild();
FindResid... |
using System;
using System.Collections.Generic;
using System.Text;
using Zhouli.BLL.Interface;
using Zhouli.DAL.Interface;
using Zhouli.DbEntity.Models;
namespace Zhouli.BLL.Implements
{
public class DictAuthorityTypeBLL : BaseBLL<DictAuthorityType>, IDictAuthorityTypeBLL
{
private readonly IDictAuthori... |
namespace Test
{
partial class usersDataSet
{
partial class userDataTable
{
}
}
}
|
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades
{
public class ProdutoFornecedor
{
[CampoTabela("IDPRODUTOFORNECEDOR")]
public decimal IDProdutoFornecedor { get; set; } = -1;
[CampoTabela("IDPRODUTO")]
public decimal IDProduto { get; set; }
[CampoTabela("IDFORNEC... |
using System;
using System.Collections.Generic;
namespace RestApiEcom.Models
{
public partial class TERegroupementPolitique
{
public TERegroupementPolitique()
{
TECandidat = new HashSet<TECandidat>();
}
public int PartId { get; set; }
public string PartLibe... |
using Microsoft.EntityFrameworkCore;
using SkillsGardenApi.Models;
using SkillsGardenApi.Repositories.Context;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SkillsGardenApi.Repositories
{
public class LocationRepository : IDatabaseRepository<Location>
{
p... |
using Chapter7.Contracts;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Chapter7.Model
{
public class WebRequest
{
private const str... |
using System.Collections.Generic;
using Assets.Scripts.Core.ConstantsContainers;
namespace Assets.Scripts.Units
{
public class UnitType : IConstantsContainer
{
public const string Hero = "Hero";
public const string MinionMelee = "MinionMelee";
public const string MinionRange = "MinionR... |
using System;
namespace BlazorUtils.Dom.Attributes
{
/// <summary>
/// ButtonAttribute defines button's text/label for data provided to LMT Blazor components, such as LMTTable.
/// </summary>
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class ... |
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 LateOS.Models;
using LateOS.Filters;
namespace LateOS.Controllers
{
public class DevolucionDetallesController : Controller
{
p... |
public int ClimbStairs(int n) {
if (n == 0)
return 0;
int pre = 0;
int cur = 1;
int tempCur = 0;
for (int i = 1; i <= n; i++) {
tempCur = cur;
cur = pre + cur;
pre = tempCur;
return cur;
}
static publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace COM3D2.SimpleUI
{
public interface IControlContainer
{
IEnumerable<T> GetChildren<T>() where T : IControl;
IEnumerable<IControl> GetChildren();
int width { get; }
int heigh... |
using System;
using System.Collections.Generic;
namespace Microsoft.DataStudio.Services.MachineLearning.Contracts
{
public class Workspace
{
public string Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public Guid SubscriptionId { g... |
using System;
using strange.extensions.mediation.impl;
using UnityEngine;
namespace syscrawl.Game.Views.Nodes
{
public class FirewallNodeView : BaseNodeView
{
GameObject Cube { get; set; }
void Update()
{
if (Cube == null)
return;
C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Prism.Commands;
using Prism.Navigation;
using Prism.Logging;
using Prism.Services;
using fictionalbroccoli.Models;
using fictionalbroccoli.Services;
using Xamarin.Forms;
using System.Diagnostics;
using Xamarin.Forms.M... |
namespace SchoolSystem.Framework.Core.Commands
{
using System.Collections.Generic;
using Common.Constants;
using Contracts.Commands;
using Contracts.Factories;
using Contracts.Repositories;
using Models.Contracts;
using Models.Enums;
public class CreateStudentCommand : ICommand
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BPiaoBao.AppServices.Contracts.DomesticTicket;
using PnrAnalysis;
using BPiaoBao.AppServices.DataContracts.DomesticTicket;
using BPiaoBao.DomesticTicket.Domain.Models.Orders;
using BPiaoBao.SystemSetting.Domain.Models.Businessm... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BrighterFutures.ViewModels
{
public class ChallengesVm : BaseViewModel
{
}
}
|
using JoveZhao.Framework.DDD;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Domain.Models.CustomerInfo
{
public class CustomerInfo : EntityBase, IAggregationRoot
{
protected override string GetIdentity()
{
re... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Diff.Generic.Performance
{
public class BodyOfTextGenerator
{
private readonly int maxLineLength;
public BodyOfTextGenerator(int maxLineLength = 150)
{
this.maxLineLength = maxLineLeng... |
using nmct.ba.cashlessproject.api.Helper;
using nmct.ba.cashlessproject.api.Models;
using nmct.ba.cashlessproject.api.PresentationModels;
using nmct.ba.cashlessproject.model.ASP.NET;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace nmct.ba.cashlesspr... |
public List<string> LetterCombinationsOfAPhoneNumber(string digits)
{
String[] combinationsInKeys = { "", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz" };
List<string> result = new List<string>();
if (digits == "")
return result;
if (digits.Length == 1)
return split(com... |
using ShCore.DataBase.ADOProvider.Attributes;
using ShCore.Extensions;
using ShCore.Utility;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
namespace Document.Entities
{
[TableInfo(TableName = "[Device]")]
public class Device : MainDbEntityBase
{
... |
using System;
namespace DataLayer.RequestFeatures
{
public abstract class RequestParameters
{
const int maxPageSize = 50;
public int PageNumber { get; set; } = 1;
private int _pageSize = 10;
public int PageSize
{
get
{
return _p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
namespace _2do_Proyecto_Analisis
{
static class CycleX
{
static int mutaciones,fallos,generaciones;
public static void insertarCria(Horario nueva)
... |
using System;
namespace _5_basic13
{
class Program
{
static void oneTo255(){
for(int i=1;i<256;i++){
Console.WriteLine(i);
}
}
static void odds(){
for(int i=1;i<256;i++){
if(i%2 == 1)
Console.WriteLine();
}
}
static ... |
using Microsoft.Extensions.DependencyInjection;
using System;
using Microsoft.Extensions.Configuration;
namespace PasswordCheck
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddBreachedPasswordService(this IServiceCollection services)
{
servic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Passwörter;
using System.IO;
using System.Reflection;
using System.Collections;
namespace Passwörter.Model
{
class Addpass
{
public static async void addpass(string pAnbieter, stri... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PetSharing.Contracts
{
public class MessageContract
{
public int Id { get; set; }
public string Text { get; set; }
public DateTime? Date { get; set; }
public string ReceiverId { get; set; }
}
}
|
using System;
using System.Text;
namespace DataStructures.Interfaces
{
public interface ISet<T> : ICollection<T>
{
//Add ITEM to the set, return true if added, false if duplicate
new bool Add(T item);
//Transform this set into its union with the IEnumerable<T> other
void Uni... |
using System.Buffers;
public interface ITerraMesher{
void MeshChunk (Chunk chunk, ArrayPool<Position> pool);
void SetRegistry (Registry reg);
} |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Pokedex
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
logoP... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace QQWry
{
public static class BinaryReaderExtensions
{
// Note this MODIFIES THE GIVEN ARRAY then returns a reference to the modified array.
public static byte[] Reverse(this byte[] b)... |
using Hotel.Data.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Hotel.Web.Areas.ModulAdministracija.ViewModels
{
public class PrikazCheckInaVM
{
pu... |
using Lykke.Service.SmsSender.Core.Domain;
namespace Lykke.Service.SmsSender.Core.Services
{
public interface ISmsSenderFactory
{
ISmsSender GetSender(SmsProvider provider);
}
}
|
using UnityEngine;
namespace LeoESCTest.Components
{
public struct NavAgentTargetSignal
{
public Vector3 Target;
}
} |
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace KPI.Web.Models
{
public class ApplicationUser : IdentityUser
{
public int LoginCount { get; set; }
}
} |
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 Restorani
{
public partial class CreateNewForm : Form
{
Boolean forced;
public static Tip trenutni;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MFW.LALLib
{
public enum BFCPFormatEnum
{
PLCM_MFW_IMAGE_FORMAT_YV12 = 0
, PLCM_MFW_IMAGE_FORMAT_RGBA
}
}
|
using UnityEngine;
using System.Collections;
public class RepeatController : MonoBehaviour
{
private int numOfBackgrounds;
private float distanceBetweenBackgrounds = 14f;
public void Start()
{
var backgrounds = GameObject.FindGameObjectsWithTag("Background");
this.numOfBackgrounds = b... |
using System.Data.Entity.ModelConfiguration;
using FacultyV3.Core.Models.Entities;
namespace FacultyV3.Core.Data.Mapping
{
public class About_UsMapping : EntityTypeConfiguration<About_Us>
{
public About_UsMapping()
{
HasKey(x => x.Id);
Property(x => x.Id).IsRequired();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using MyPersonalBlog.DTO.DTOs.AppUserDtos;
using MyPersonalBlog.DTO.DTOs.BlogDtos;
using MyPersonalBlog.DTO.DTOs.CategoryBlogDtos;
using MyPersonalBlog.DTO.DTOs.CategoryDtos;
using MyPersonalBlog.DTO.DTOs... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CS_Perf.Models
{
[Serializable]
class Employee
{
public int Id { get; set; }
public string FirstName { get; set; }
public List<string> Fields { get; set; }
public Employee()
{
}
... |
using System;
namespace OnlineTrainTicketBooking
{
internal class TrainManager
{
public TrainRepository trainRepository= new TrainRepository();
public void SearchTrain()
{
try
{
trainRepository = new TrainRepository();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Level3Manager : MonoBehaviour {
// Use this for initialization
public GameObject[] enemies;
void Start ()
{
enemies = GameObject.FindGameObjectsWithTag("Enemy");
}
// Update is called once per frame
... |
namespace System.Linq
{
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public static partial class FastLinq
{
// TODO: ToListLazy might be more discoverable
/// <summary>
/// Creates a lazy <see cref="IList{T}" /> that... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DemonScriptableObjectsList : MonoBehaviour
{
[SerializeField] E_Data RomerosHead;
[SerializeField] E_Data Rifleman;
[SerializeField] E_Data Imp;
[SerializeField] E_Data Pinky;
[SerializeField] E_Data Baron;
... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ShopUI : MonoBehaviour
{
private List<ShopItem> shopInventory;
public ShopTemplate shopTemplate;
public GridLayoutGroup shopLayout;
public GameObject shopItemPrefab;
public void OpenShop()
{
gameObject.SetActive(true);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LearningEnglishWeb.ViewModels.Vocabulary
{
public class TranslationListModel
{
public TranslationListModel(IEnumerable<string> translations)
{
Translations = translations; ... |
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 Entidades;
namespace VistaForm
{
public partial class Form1 : Form
{
Curso curso;... |
namespace SSW.DataOnion.Sample.Data
{
using System.Data.Common;
using System.Data.Entity;
using System.Reflection;
/// <summary>
/// Database context - rename to match the dbcontext name in
/// </summary>
public partial class SchoolDbContext : DbContext
{
/// <summary>
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using KT.DTOs.Objects;
using KnowledgeTester.Helpers;
using WebGrease.Css.ImageAssemblyAnalysis.LogModel;
namespace KnowledgeTester.Models
{... |
using System.Collections.Generic;
using ConcertGenerator.Models;
namespace ConcertGenerator
{
class Song
{
public string Name;
public bool MustPlayInConcert;
public List<Player> Players;
}
} |
using System;
using System.Linq;
using System.Threading.Tasks;
using ModernCSApp.Services;
using SumoNinjaMonkey.Framework.Services;
using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
namespace ModernCSApp.Models
{
public class SplashScreenViewModel : DefaultViewModel
{
public event EventHan... |
using System;
using Yeasca.Metier;
using Yeasca.Mongo;
namespace Yeasca.Commande
{
public class CreerConstatCommande : Commande<ICreerConstatMessage>
{
public override ReponseCommande exécuter(ICreerConstatMessage message)
{
if (estUnHuissier())
return créerLeConsta... |
using System;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace Diconnect.Common
{
public class Serializer
{
public static byte[] SerializeToBytes<T>(T obj, Boolean omitXmlDeclaration = false)
{
if (obj == null)
return default(byte[]);
//logger.Info("Seria... |
using D_API.Models.DataKeeper;
using D_API.Models.Auth;
using DiegoG.Utilities.Measures;
using Microsoft.EntityFrameworkCore;
using DiegoG.TelegramBot;
using DiegoG.Utilities.Settings;
using Serilog;
using System.Linq;
using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using DiegoG.Utilities... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class IslandRemover : MonoBehaviour {
List<List<Vector2>> islands = new List<List<Vector2>>(1000);
List<Vector2> toBeChecked = new List<Vector2>(1000);
public void RemoveIslands()
{
WorldGenerator worldGenerator = gameObject... |
using UnityEngine;
public class Cube : MonoBehaviour
{
// Reference to the Game Manager and Cube Manager
private static GameManager gameManager;
private static CubeManager cubeManager;
// This cube parameters.
private int color;
private int type;
private new bool enabled;
private Mesh... |
using System;
using System.Collections.Generic;
namespace TableOptimization
{
class Program
{
static void Main(string[] args)
{
var thicknessesDeckBoards = new double[] { .375, .5, .625, .75 };
var widthsDeckBoards = new double[] { 5.25, 3 };
var lengthsD... |
using System.ComponentModel;
using Logic.Resource;
using System.Runtime.CompilerServices;
using System;
using Logic.SupportClasses;
namespace Logic.SpaceObjects {
[Serializable]
public abstract class CelestialBody : INotifyPropertyChanged {
private string name;
public double Area { get; }
... |
using System;
using FirstProject.Intefaces;
using FirstProject.Excecoes;
namespace FirstProject.TiposDeConta
{
public class ContaPoupanca : Conta, ITributavel
{
public const double tAXA_SAQUE = 0.0;
public ContaPoupanca(double saldo, string nome, DateTime dataAbertura): base(saldo, nome,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Ninject;
using Dao.Solicitud;
namespace Blo.Solicitud
{
public class NivelEducacionBlo : GenericBlo<crmNivelEducacion>, INivelEducacionBlo
{
private INivelEducacionDao _ni... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraParallaxing : MonoBehaviour
{
//Array for parellaxing elements
public Transform[] trBackground;
public float fDamp = 1f;
private float[] prlxScale;
private Transform trCam;
private Vector3 vPrev... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CMS_ShopOnline.Areas.CMS_Sale.Models
{
public class POSDetailsViewModel
{
public int Id { get; set; }
public int? IdThanhPham { get; set; }
public int? IdHoaDon { get; set; }
publi... |
using Logs.Authentication.Contracts;
using Logs.Services.Contracts;
using System.Web.Mvc;
using Logs.Web.Models.Nutrition;
using Logs.Web.Infrastructure.Factories;
using Logs.Models;
using Logs.Common;
using System;
using System.Linq;
namespace Logs.Web.Controllers
{
[Authorize]
public class MeasurementContro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 11
namespace MultiTaskProgram
{
class Program
{
static void Main(string[] args)
{
int taskNum = ChooseTask();
if (taskNum == 1)
{
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WebApplication.Models.Enums;
namespace WebApplication.Models
{
public class Comment : PublicKeyEntity
{
public DateTime PublishTime { set; get; }
[Required]
public string... |
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;
/// <summary>
/// StreamForm.cs
/// Author: Dmytro Gaponenko
/// Student ID: 200335210
/// Date: March 05... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PushoverQ
{
/// <summary>
/// The bus extensions.
/// </summary>
public static class BusExtensions
{
public static Task<ISubscription> Subsc... |
using System;
using System.Collections.Generic;
using System.Text;
using UIKit;
using Foundation;
using System.Collections;
namespace Practical_Assignment
{
public class ProjectsController: UITableViewController
{
public ProjectsController(IntPtr handle) : base (handle)
{
Title = NSBundle.MainBundle.Localiz... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using ICG.AspNetCore.Utilities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Sample.Web.Models;
namespace Sample.Web.Controllers
{
... |
namespace OmniSharp.Extensions.JsonRpc
{
public class ParallelRequestProcessIdentifier : IRequestProcessIdentifier
{
public RequestProcessType Identify(IHandlerDescriptor descriptor) => descriptor.RequestProcessType ?? RequestProcessType.Parallel;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EndGame : MonoBehaviour {
// Use this for initialization
void OnTriggerEnter (Collider col)
{
if (col.gameObject.tag == "Player")
{
Application.Quit();
}
}
// Update is called ... |
using AspNetCoreRateLimit;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Mic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HighLowGameCard
{
class Card
{
private int rank;
private int suit;
private static string[] cardName = { "Ace" , "Deuce" , "Three",
... |
/*
DotNetMQ - A Complete Message Broker For .NET
Copyright (C) 2011 Halil ibrahim KALKAN
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option)... |
using BPiaoBao.SystemSetting.Domain.Models.SMS;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
namespace BPiaoBao.SystemSetting.EFRepository.BusinessmenMap
{
public class SMSChargeSetMap:EntityTypeConfiguration<SMSChargeSet>
{... |
using HCL.Academy.DAL;
using HCL.Academy.Model;
using HCLAcademy.Util;
using System;
using System.Collections.Generic;
using System.Web.Http;
using Microsoft.ApplicationInsights;
using System.Diagnostics;
namespace HCL.Academy.Service.Controllers
{
/// <summary>
/// This service handles all the actions regard... |
using System;
using System.Collections.Generic;
//Write an efficient function that tells us whether or not an input string's
// openers and closers are properly nested.
//"{ [ ] ( ) }" should return true
//"{ [ ( ] ) }" should return false
//"{ [ }" should return false
//[(ABC {DEF}[XYZ (LMN)]
public class BracketVali... |
using System;
namespace RO.Net
{
public class NetLogger
{
public void Log(string log)
{
if (SingleTonGO<NetConnectionManager>.Me != null && SingleTonGO<NetConnectionManager>.Me.EnableLog)
{
ROLogger.Log(log);
}
}
public void LogConn(string name, string msg = "")
{
if (SingleTonGO<NetConnec... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Printing;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
using log4net;
using log4net.Config;
namespace SudokuMaster
{
public interface IForm1
{
void SetText(string ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace App15
{
public class Enemy
{
private int m;
private FileImageSource image;
private int position;
public Enemy(int pos , Button[] map, int[] varr, But... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Group9_Project
{
public partial class Admin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
pro... |
using IdentityServer4.Models;
using IdentityServer4.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Tiny.IdentityService.Services
{
/// <summary>
///
/// </summary>
public class ProfileService : IProfil... |
using FluentValidation;
using FluentValidation.Results;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PdfUploder.Validators
{
public class PdfValidator : AbstractValidator<IFormFile>, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POG.Database
{
public class ThreadReadEventArgs : EventArgs
{
public string URL
{
get;
private set;
}
public int StartPost
{
get;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UniRx;
public partial class PlayerView
{
public TerrainManagerView terrain;
public GameObject hoverHexHeightLight;
public Vector2 hoverHexAraray;
private GameObject hoverObject;
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DoubleDamage.cs" company="n/a">
// Atanas Georgiev
// </copyright>
// <summary>
// The double damage.
// </summary>
// --------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ERP.Models.Entity
{
public class AcademicEntity
{
public string yearCode { get; set; }
public string academicYear { get; set; }
public string wfDate { get; set; }
public string wtDate... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Console2.G_Code
{
public class G_040_Distribution
{
/*
* 给定n个数,每个数有一个出现得概率,这样就形成了一个分布,根据这个分布,生成k个数。
* http://www.mitbbs.com/article_t1/JobHunting/32189053_0_1.html
* no clue.
... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_NPOTSupport : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.NPOTSupport");
LuaObject.addMember(l, 0, "None");
LuaObject.addMember(l, 1, "Restricted");
LuaObject.addMember(l, 2, "Full");
LuaDLL... |
using EnergyDataRetriever.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Web.Http;
namespace EnergyDataRetriever.Controllers
{
public class CalculatorController : ApiController
{
con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace homework
{
public partial class page_2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Write("... |
using BPiaoBao.Common;
using BPiaoBao.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JoveZhao.Framework.Expand;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket
{
/// <summary>
/// 订单列表显示对象
/// </summary>
public class ResponseOrder
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.Pkcs;
using System.Text;
using System.Threading;
using System.Xml;
using InvoiceClient.Helper;
using InvoiceClient.Properties;
using Model.Schema.EIVO;
using Model.Schema.EIVO.B2B;
using Model.Schema... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.