text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
public class LaunchDebris : MonoBehaviour {
public GameObject[] debris;
public float minWait;
public float maxWait;
public float spawnRange;
// Use this for initialization
void Start () {
Invoke ("fireRandomDebris", 1f);
}
// Update is called once per frame
v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using System.IO;
using System.Threading;
namespace libopenpvp.net
{
public class RTMPSClient
{
protected string server;
protected int port;
protected string... |
namespace Models
{
public interface ISuperGame
{
string Id { get; set; }
int Price { get; set; }
int MaxPlayers { get; set; }
int CurrentPlayers { get; set; }
}
} |
// <copyright file="ProtCommandHandler.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System.Collections.Generic;
using System.IO;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using... |
using Hayalpc.Fatura.Common.Dtos;
using Hayalpc.Library.Common.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hayalpc.Fatura.CoreApi.Services.Interfaces
{
public interface IInstitutionService
{
IDataResult<List<InstitutionDto>> Get()... |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls.Primitives;
namespace Swiddler.Behaviors
{
public static class TextBox
{
public static bool GetSelectAllText(System.Windows.Controls.TextBox textBox) => (bool)textBox.GetValue(SelectAllTextProperty);
... |
using System;
using Foundation;
using UIKit;
using Lettuce.Core;
using CoreGraphics;
namespace Lettuce.IOS
{
public partial class CurrentDatesViewController : UIViewController
{
private CurrentDatesTableSource dataSource;
public CurrentDatesViewController () : base ("CurrentDatesViewController", null)
{
... |
using NGenerics.DataStructures.General;
using syscrawl.Game.Models.Levels;
using System.Collections.Generic;
using System.Linq;
using System;
namespace syscrawl.Game.Models.Levels
{
public class LevelGraph : Graph<Node>
{
public LevelGraph()
: base(false)
{
}
publ... |
using Exemplo04.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exemplo04.Mapping
{
public class LivroMap : EntityTypeConfiguration<Livro>
{
public LivroMap()
{
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/*
* This class is used to manage music and fire off beats
*/
public static class BeatManager {
static BeatManager() {
init ();
}
//variables
//initalization function
private static void init() {
}
public static void callB... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class panelShowHide : MonoBehaviour {
public GameObject Panel; //targets a selected object in the scene
int counter;
public void showHidePanel()
{
counter++; //used with modulus
if (counter % 2 == 1)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using wcfLogistica;
public partial class MantenimientoEmpleado : System.Web.UI.Page
{
private Empleado usuarioLogueado = null;
protected void Page_Load(object sender, Even... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Pes.Core;
namespace PESWeb.UserControls
{
public interface IRatings
{
int SystemObjectID { get; set; }
long SystemObjectRecordID { get; set; }
void LoadOptions(List<SystemObjectRating... |
namespace XShare.Data.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using XShare.Common.Constants;
public class Accident
{
[Key]
public int Id { get; set; }
public string Location { get; set; }
[Required]
public string Picture { get; ... |
using System;
using System.ComponentModel;
using System.Data;
using TLF.Framework.BaseFrame;
using TLF.Framework.Config;
namespace TLF.Framework.ControlLibrary
{
/// <summary>
///
/// </summary>
/// <remarks>
/// 2008-12-16 최초생성 : 황준혁
/// 변경내역
///
/// </remarks>
public partial cl... |
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Nod... |
using Logs.Models;
namespace Logs.Services.Contracts
{
public interface ICommentService
{
Comment EditComment(int commentId, string newContent);
void AddCommentToLog(string content, int logId, string userId);
bool DeleteComment(int commentId);
}
}
|
using System;
namespace DoE.Quota.Web
{
using Api;
using Controllers;
using Microsoft.Practices.Unity;
using Repositories.Services.IoC;
/// <summary>
/// Users Microsoft Unity 3.0 to configure container for IoC
/// </summary>
public class UnityConfig
{
/// <sum... |
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.Imaging;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MyPersonalBlog.Business.Interfaces;
namespace MyPersonalBlog.UI.Areas.Member.ViewComponents
{
public class PopulerCategoriesVC : ViewComponent
{
private readonly ICate... |
using UnityEngine;
using System.Collections;
public class BlockMovement : MonoBehaviour {
public GameObject BLOCKSMALL;
public GameObject BLOCKSTICK;
public GameObject BLOCKL;
public GameObject BLOCKSQUARE;
public Material MATRED;
public Material MATBLUE;
public Material MATGREEN;
BlockFactory blockFactor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NADD
{
public abstract class FabricaQuestoes
{
public abstract IQuestao criarQuestao();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using DesiClothing4u.Common.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace DesiClothing4u.UI.Controllers
{
public cl... |
using RestaurantCMS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RestaurantCMS.Business.Abstract
{
public interface IPersonelService : IRepositoryService<Personel>
{
}
}
|
using System.Web.Mvc;
using HelloWorld3.Models;
namespace HelloWorld3.Controllers
{
public class AnotherController : Controller
{
// Another controller, just to fill out the example
// Note that because the routing names Index as a default,
// We can use a URL that only names the contr... |
using InternDevelopmentProject.BusinessLogic;
using InternDevelopmentProject.DataLogic;
using InternDevelopmentProject.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace InternDevelopmentProject.Controllers
{
public class BusRegistration... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FastSQL.Sync.Core.Enums
{
[Flags]
public enum PushState
{
None = 0,
Ignore = 1,
Reported = 2,
Success = 4,
Failed = 8,
ValidationFailed = 16,
RelatedItemNotFo... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MilkBot.Core;
using MilkBot.Core.Commands;
using TwitchLib;
using Models = TwitchLib.Models.Clien... |
/*
* Created by Ranorex
* User: VROC
* Time: 9:41 PM
*
* To change this template use Tools > Options > Coding > Edit standard headers.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Drawing;
using System.Threading;
using WinForms = System... |
static public string[] FindRelativeRanks(int[] nums) {
int[] ranks = new int[nums.Length];
Array.Copy(nums, ranks, nums.Length);
Array.Sort(ranks, (int a, int b) => { return b - a; });
Dictionary<int, int> dict = new Dictionary<int, int>();
for (int i = 0; i < ranks.Length; i++)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GridSquare : MonoBehaviour {
private Grid grid; // Grid manager object
public GameObject item; // Item occupying this square
public string item_name;
private int x_pos; // x coordinate of square
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileHandler
{
public interface ITextFileHandlerServices
{
void AddHistory(string lines);
void ClearHistory();
string[] GellAllLines();
}
}
|
using Livraria.Models;
using System;
using Livraria.Services;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Livraria.Services
{
public class LivrariaStaticService : ILivrosService
{
List<Livros> getLivros()
{
List<Livros> listaLi... |
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
namespace OCP.Files.Cache
{
/**
* meta data for a file or folder
*
* @since 9.0.0
*/
public interface ICacheEntry
{
//const DIRECTORY_MIMETYPE = 'httpd/unix-directory';
string DIREC... |
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.Data.SQLite;
using System.IO;
using System.Threading;
using System.Net;
using System.Globali... |
using FirstProject.Intefaces;
namespace FirstProject.Totalizadores
{
public class TotalizadorDetributos
{
public double Total { get; private set; }
public void Acumula(ITributavel tributavel)
{
this.Total += tributavel.calculaTributo();
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class generateCard : MonoBehaviour
{
public GameObject leftCard, rightCard, straightCard, backCard, attackCard, defendCard, cardHolder;
GameObject GO;
public void generateRandomCard()
{
int cardNumber = Rand... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Puppet.Poker.Models;
namespace HoldemHand
{
public class HandEvaluatorConvert
{
public static string ConvertPokerCardToString(PokerCard card) {
string suit = "";
string rank = "";
... |
using System.ComponentModel;
namespace JakContinueMapper.Emulators
{
public sealed class PCSX2 : EmuMemory
{
public override int EmuAddress => 0x10000000 * BaseAddressMult;
protected override EmuAddressType AddressType => EmuAddressType.Static;
public int BaseAddressMult { get; privat... |
using System;
using System.Net.Http;
using HealthChecks.UI.Client;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.Extensions.DependencyInjection;
namespace Iti.Challenge.RestApi.Dependencies
{
public static class HealthCheksInjection
{
public st... |
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.Imaging;... |
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 Puzzle
{
public partial class FormImage : Form
{
public int N... |
using System.ServiceModel;
using System.ServiceModel.Web;
namespace CommSta
{
[ServiceContract]
public interface IService
{
[OperationContract]
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare, UriTemplate = "VKontakte_Sta")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sudoku_Designer
{
class SudokuSet : ISet
{
public void SetByBox(SudokuLevel theSudokuLevel, int boxNum, int offset, int newValue)
{
throw new NotImplemented... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Users.Core;
namespace ShopWebApi.Controllers
{
[ApiController]
[Route("[controller]")]
public class ItemsController : ControllerBase
{
private IItemsServices ... |
using Microsoft.AspNetCore.Mvc;
namespace Web.Controllers
{
public class HomeController : Controller
{
public HomeController()
{
}
/// <summary>
/// Aid estimator homepage
/// </summary>
/// <returns></returns>
public IActionResult Index()
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity.EntityFramework;
using Newtonsoft.Json;
using personal_site.Controllers;
using personal_site.Helpers;
using perso... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.SystemSetting
{
public class StationBuyerGroupDto
{
/// <summary>
/// 组ID
/// </summary>
public string ID { get; set; }
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class TimerScript : MonoBehaviour
{
public Image UIobj;
public Text Timer;
public bool roop;
public float c = 60;
int count;
public floa... |
using DynamicData;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Runtime.InteropServices.ComTypes;
using System.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
/*
This class is a wrap around the original bitmap so the rest of the code is independant of the C# Bitmap
This is a simple class in this C# implementation but if the code is port... |
public class MyQueue {
public Stack<int> stack;
public MyQueue() {
stack = new Stack<int>();
}
public void Push(int x) {
stack.Push(x);
}
public int Pop() {
Stack<int> tempStack = new Stack<int>();
int count = stack.Count();
for (int i = 0; i < count; ... |
using Model.Numbers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace Model.Managers
{
public static class NumbersManager
{
/**
* Returns tuple of Numbers representing given time in MSS fo... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Promobusque.Dominio
{
public class UsuarioMapeamento : EntityTypeConfiguration<Usuario>
{
public UsuarioMapeamento()
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using ENTITY;
//<summary>
//Summary description for PurchaseBillTaxInfo
//</summary>
namespace ENTITY
{
public class PurchaseBillTaxInfo
{
private decimal _purchaseBillTaxId;
private decimal _purchaseM... |
using MaybeSharp;
using MaybeSharp.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Maybe.Sharp.Tests
{
public class MaybeWhenTests
{
[Fact]
public void Maybe_WhenSomething_IgnoresNullAction()
{
var a = new Maybe<int>(5);
Assert.Throws<ArgumentNullEx... |
using AuthAutho.Extensions;
using KissLog;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AuthAutho.ConfigureStartup
{
public stati... |
namespace Data.Models.Other
{
public class PushMessageViewModel
{
public string Topic { get; set; }
public string Notification { get; set; }
public PushMessageUrgency Urgency { get; set; } = PushMessageUrgency.Normal;
}
public enum PushMessageUrgency
{
/// <summary... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2
{
static class Printer
{
public static void Print(string stroka, int color)
{
switch (color)
{
case (int)Colo... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Kers.Models.Entities.KERScore;
namespace Kers.Models.Entities.SoilData
{
public partial class SoilReportStatusChange : IEntityBase
{
[Key, DatabaseGene... |
using System;
using Microsoft.Extensions.Configuration;
using MPD.Repository.Contract;
using MPD.Repository.Repository;
namespace MPD.Repository
{
public class UnitOfWork : IUnitOfWork
{
//private readonly MPDContext _dbContext = new MPDContext();
private readonly MPDContext _dbContext;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core2
{
class Program
{
static void Main(string[] args)
{
double amount = 0;
int years = 0;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Analytics;
public class AnalyticsScript : MonoBehaviour
{
public void OnGameOver(int score, int adsPerSession)
{
Analytics.CustomEvent("GameOverAnalytics", new Dictionary<string, object>()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExamenSG_AJAXyJS_Entities
{
public class clsAlgo
{
//Propiedades privadas
private int _idHeroe;
private string _nombreSuperHeroe;
//Constructores
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace LogUrFace.CustomControls
{
public class NavigationBar : ListBox
{
static NavigationBar()
{
DefaultStyle... |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Object = UnityEngine.Object;
public class Collection : MonoBehaviour
{
private class Node
{
public int value, lvl;
public Node[] children = new Node[4];
public Vector2 position;
public... |
using nmct.ba.cashlessproject.model.ASP.NET;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nmct.ba.cashlessproject.service.DataAccess
{
public class OrganisationDA
{
/*
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SincolPDV.DAL;
namespace SincolPDV.BLL
{
public class Saida
{
#region atributos
public string tabela;
public string modo_pagamento;
public string vencimento;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pelmanism
{
class Player
{
private int nowOpenCardIndex1; //1枚目
private int nowOpenCardIndex2;//2枚目
//前回の1枚目の添え字
public int BeforeOpenCardIndex1 { get;... |
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitTestProject1
{
public class Driver
{
private static ChromeDriver driverInstance;
... |
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 Yelemani
{
public partial class WaitList : Form
{
string admin;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ItlaSocial.Models.ApplicationViewModels
{
public class ApplicationUserInvitationViewModel
{
public string Id { get; set; }
public String Name { get; set; }
public string LastNam... |
using GamesInfo.API.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GamesInfo.API.Services
{
public interface IGameInfoRepository
{
Task <IEnumerable<Game>> GetAllGames();
Task <Game> GetGame(string Key);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Infrastructure
{
public class RegionNames
{
public static string ContentRegion = "ContentRegion";
public static string ToolRegion = "ToolRegion";
public static ... |
// 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;
using System.Text.Encodings.Web;
using Microsoft.Extensions.ObjectPool;
namespace Microsoft.AspNet.Routing.Internal
{
public class U... |
using UnityEngine; //new
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading;
using System.IO;
[ExecuteInEditMode]
public class GameRoom : MonoBehaviour
{
const int CountOfGamers = 6;
GUISkin SkinStandartSet... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PowerShapeDotNet.Macros;
using PowerShapeDotNet.Enums;
namespace PowerShapeDotNet.Objects
{
/// <summary>
/// Laterals
/// </summary>
public class PSDNSurfacePart
{
#region PROPIERTIES
priv... |
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
namespace NessBot
{
class Utilities
{
private static Dictionary<string, string> resources;
static Utilities()
{
string json = File.ReadAllText("Resources/resources.json");
var data = Json... |
using System;
using Xunit;
namespace TreeStore.Model.Test
{
public class TrackingModelControllerTest : ModelTestBase
{
private readonly TrackingModelController modelController;
public TrackingModelControllerTest()
{
this.modelController = new TrackingModelController(this.N... |
using UnityEngine;
using System;
using Mog;
public class TweenMe : MonoBehaviour {
public enum ShowEffect {
None,
FromLeft,
FromRight,
FromUp,
FromBottom,
Scale0to1,
Alpha,
}
public enum ScaleDimension {
ALL,
X,
Y,
Z,
}
public ShowEffect showEffect;
public ScaleDimension scaleDimension =... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace HangmanGame.Common.Extensions
{
public static class EnumerableExtensions
{
public static bool ContainsString(this IEnumerable<string> enumerable, string targetString,
StringComparison comparison)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Threading.SubThreading.Ids
{
public abstract class BaseIsolatedWaitForSingleObjectWithId<TID> : BaseIsolatedWaitForSingleObject, IIsolatedThreadWithId<TID>, IIsolatedThread... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CMPT354_TermProject
{
public delegate void initiateCourseRegForm();
public class ViewController
{
private static ViewController instance;
private Vi... |
using System.ComponentModel.DataAnnotations;
using BugsReporter.Models;
namespace BugsReporter.Services.Models
{
public class BugStatusChangeModel
{
[Required]
[MinLength(1)]
[MaxLength(15)]
public string Status { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OracleClient;
using System.Text;
using Maticsoft.DBUtility;
using System.Data.SqlClient;
namespace PDTech.OA.DAL
{
/// <summary>
/// 数据访问类:OA_ARCHIVE_TASK
/// </summary>
public partial class OA_ARCHIVE_TASK
{
... |
namespace ConstraintsInGenerics.ConstraintsExamples.HelpMaterial
{
public class AdvancedSum : CustomSum
{
public string Currency { get; set; }
}
}
|
using Kit.Extensions;
using System;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using Expression = System.Linq.Expressions.Expression;
using WBru... |
namespace CodedUITestProject
{
using Microsoft.VisualStudio.TestTools.UITesting.WpfControls;
using System;
using System.Collections.Generic;
using System.CodeDom.Compiler;
using Microsoft.VisualStudio.TestTools.UITest.Extension;
using Microsoft.VisualStudio.TestTools.UITesting;
using Micros... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using ILRuntime.Runtime.Enviorment;
namespace XFApp.Services
{
public interface IHotUpdateService
{
ILRuntime.Runtime.Enviorment.AppDomain ILRuntimeAppDomain { get; }
DelegateManager DelegateManage... |
// Copyright 2021 Google Inc. All Rights Reserved.
//
// 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 applica... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Shunxi.Business.Enums;
using Shunxi.Business.Logic.Devices;
using Shunxi.Business.Models;
using Shunxi.Business.Models.cache... |
// Accord Audio Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// 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 th... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using Microsoft.EntityFrameworkCore;
//Libreria para las anotaciones
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
namespace MVC... |
using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Abp.AutoMapper;
using Wind.Northwind.Authorization.Roles;
namespace Wind.Northwind.Roles.Dto
{
[AutoMapFrom(typeof(Role))]
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace VSchool.Data.Entities
{
public class ResponseChoice : BaseEntity
{
public string Choice { get; set; }
public Question Question { get; set; }
public Guid QuestionID { get; set; }
... |
//
// - PercentageRangeConverter.cs -
//
// Copyright 2013 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// 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.o... |
///
/// Generated by Sybase AFX Compiler with templateJ
/// Compiler version - 2.2.6.482
/// mbs - false
///
using System;
using System.Reflection;
namespace MMSCAN
{
public class LogRecordImpl : Sybase.Persistence.AbstractEntity , Sybase.Persistence.ILogRecord, Sybase.Persistence.IMobileBusinessO... |
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 Gestion {
public partial class linq_test : Gestion.Forms.OwnForm {
public linq_test() {
InitializeCo... |
using Microsoft.Extensions.DependencyInjection;
namespace PackageVersionUpdater
{
public static class MSBuildExtensions
{
public static void AddMSBuild(this IServiceCollection services)
{
services.AddSingleton<Registrar>();
}
}
}
|
using System.Collections.Generic;
namespace SFA.DAS.Notifications.Domain.Entities
{
public class SmsMessage
{
public string SystemId { get; set; }
public string TemplateId { get; set; }
public string RecipientsNumber { get; set; }
public Dictionary<string, string> Tokens { get;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.