text stringlengths 13 6.01M |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
namespace SearchEng.Search.Interface
{
public interface ISearchRepository
{
}
} |
using System;
namespace ChatApp.Lib.Messaging.Model
{
/// <summary>
/// Represents a single message posted by chat user
/// </summary>
public class ChatMessage
{
/// <summary>
/// Auto-generated Id for message
/// </summary>
public Guid Id { get; set; }
///... |
using System.Web.Http;
using System.Web.Http.Cors;
using MeterReading.Logic;
using MeterReading.Logic.Facades;
using MeterReading.Logic.Validators;
using MeterReadings.Repository;
using Unity;
using Unity.AspNet.WebApi;
namespace MeterReadingsAPI
{
public static class WebApiConfig
{
public static IUni... |
#region License
/***
* Copyright © 2018-2025, 张强 (943620963@qq.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.org/licenses/LICENSE-2.0
*
* Unless r... |
using Microsoft.AspNetCore.Http;
using System;
using System.IO;
using System.Reflection;
namespace Hybrid.Swagger.Extensions
{
internal static class HttpResponseExtension
{
/// <summary>
/// 使用登录页
/// </summary>
/// <returns></returns>
public static void WriteSwaggerPa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ProtocolCS.Constants;
using GSF;
namespace Server.Ingame
{
using AI;
using MatchMaking;
class MatchProcessor
{
public MatchData match { get; priv... |
using System;
using System.Collections.Generic;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Views;
using Android.Widget;
using StudyEspanol.Droid;
using StudyEspanol.Utilities;
namespace StudyEspanol.UI.Dialogs
{
public class ConfirmDialog : DialogFragment
{
#... |
using System;
using System.Collections.Generic;
using System.Text;
using ENTITY;
//<summary>
//Summary description for DailySalaryVoucherDetailsInfo
//</summary>
namespace ENTITY
{
public class DailySalaryVoucherDetailsInfo
{
private decimal _dailySalaryVoucherDetailsId;
p... |
using System.Collections.Generic;
using UnityExtensions.AI.Systems.MAS.Core;
namespace UnityExtensions.AI.Systems.MAS.Langage.ACL
{
public class Message
{
#region Attributes
private List<ID> m_destination = new List<ID>();
#endregion Attributes
#region Methods
#regi... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_RenderTextureReadWrite : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.RenderTextureReadWrite");
LuaObject.addMember(l, 0, "Default");
LuaObject.addMember(l, 1, "Linear");
LuaObject.addMember(l,... |
using System;
using System.Reflection.PortableExecutable;
using System.Security.Cryptography;
using System.Text.RegularExpressions;
using System.Globalization;
namespace Lab_7_Regular_Expressions
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Please enter a ... |
namespace NotificacionApiCrossClothing.Message
{
/// <summary>
/// se crea con el fin de tratar de inyectar los mensajes.
/// </summary>
public interface IMessage
{
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Newtonsoft.Json;
namespace HackerNews.Api
{
public class HackerNewsApi
{
private IEnumerable<int> GetTopIds()
{
using (var client = new HttpClient())
{
var json = client.Ge... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Drawing;
using MVCApplication.MaventaAPI;
using MVCApplication.Models;
namespace MVCApplication.Services.Maventa
{
public class MaventaService
{
public void SendInvoicesToMaventa(IEnumerable<InvoiceViewModel>invoices)
... |
using System;
namespace Silas.Forecast.Models
{
public class ForecastEntry
{
public DataEntry DataEntry { get; set; }
public double ForecastValue { get; set; }
public double ConfidenceIntervalLow { get; set; }
public double ConfidenceIntervalHigh { get; set; }
public in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using JustBrewItGoogle;
using Newtonsoft.Json.Linq;
using static Microsoft.AspNetCore.Http.HttpRequest;
using Microsoft.Extensions... |
using System;
using System.Collections.Generic;
using System.Text;
using MyPersonalBlog.Entities.Interfaces;
namespace MyPersonalBlog.Entities.Concrete
{
public class Category:ITable
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConfigurationItemExtensions.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project ro... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public static class EventManager
{
static PickupBlock freezeInvokers = new PickupBlock();
static UnityAction<float> freezeListeners;
static PickupBlock speedUpInvokers= new PickupBlock();
static U... |
using System;
using System.Collections.Generic;
using System.Text;
using DBStore.DataAccess.Data.Repository.IRepository;
using DBStore.Models;
using DBStore.Models.CMS;
using Microsoft.AspNetCore.SignalR;
using Stripe;
namespace DBStore.DataAccess.Data.Repository
{
public class UnitOfWork : IUnitOfWorkRepository... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Text;
using System.Windows;
using System.Windows.Input;
using System.Windows.Documents;
using System.Windows.Media;
using Microsoft.Kinect;
using Microsoft.Speech.AudioFormat;
using Microsoft.Speech.Recognition;
... |
namespace Matrix
{
using System;
using System.Text;
public class WalkInMatrix
{
private int size;
private int[,] matrix;
private int numberOfMoves = 1;
private int currentRow;
private int currentCol;
private int nextRow = 1;
private int nextCol =... |
using HacktoberfestProject.Web.Models.DTOs;
using Microsoft.Azure.Cosmos.Table;
namespace HacktoberfestProject.Web.Models.Entities
{
public class ProjectEntity : TableEntity
{
public ProjectEntity() { }
public ProjectEntity(Project project)
{
PartitionKey = "Project";
RowKey = $"{project.Owner}:{projec... |
using System.ComponentModel.DataAnnotations;
namespace Homework2.Dtos
{
public class ProductCreateDto
{
[MaxLength(20)]
[Required(ErrorMessage = "Name is required.")]
public string Name { get; set; }
[Required(ErrorMessage = "Manufacturer is required.")]
pub... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Business.Abstract;
using Business.BusinessAspects.Autofac;
using Business.ValidationRules.FluentValidation;
using Core.Aspects.Autofac.Caching;
using Core.Aspects.Autofac.Logging;
using Core.Aspects.Autofac.Validation;
using Core.CrossCuttingConcern... |
Vector3 forward = transform.forward;
Vector3 targetDirection = target.position - this.transform.position;
float angle = Vector3.Angle(targetDirection, forward);
if(angle<3)
{
Debug.Log("You've been damaged!!!!");
DoDamage(); //adjust player health
TurretAttack(); //animate turret firing
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol;
using OmniSharp.Extensions.LanguageServ... |
namespace SharpDirectInput {
/// <summary>
/// The type of device, also known as DI8DEVCLASS.
/// </summary>
public enum DeviceClass : uint{
/// <summary>
/// Gets any and all devices even if not applicable for DirectInput.
/// </summary>
All = 0,
... |
using System;
class SayingHello
{
//Write a method that asks the user for his name and prints “Hello, <name>”
//Write a program to test this method.
static void Main()
{
Console.Write(" -What is your name?\n -My name is ");
string name = Console.ReadL... |
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;
using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace SkillsGardenApi.Services
{
public interface IAzureService
{
Task<string> saveImageToBlobStorage(FormFile fil... |
using SharpDL;
using SharpDL.Graphics;
using System;
namespace SharpDL.Tiles
{
/// <summary>
/// Represents a single tile from a .tmx file in Tiled Map Editor. A tile can contain a texture and properties.
/// </summary>
internal class Tile : IDisposable
{
// Tiled Editor assigns the id of ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Boyut.todo.DTO
{
public class JsonListObjectDTO<T> : JSONDTO
{
public List<T> Obj { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace MyPrivateFinance.util
{
public class LogWriter
{
//Gets the "Documents" folder of the user
static string homeDir = Environment.GetFolderPath(E... |
using System;
using System.ComponentModel.DataAnnotations;
namespace AquaServiceSPA.Models
{
[Serializable]
public class EmailSettings
{
[Required]
public string Username { get; set; }
[Required]
public string Password { get; set; }
[Required]
[EmailAddress]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LSP
{
public class Car
{
protected decimal _gas;
protected bool _isOn;
public virtual void Start()
{
_isOn = true;
}
publi... |
using FluentValidation;
using Lfs.Web.Api.Models;
using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Filters;
namespace Lfs.Web.Api.Filters
{
public class ExceptionFilter : IExceptionFilter
{
public bool AllowMultiple => f... |
using System;
using Buffers;
namespace Buffers.Memory
{
public class FrameWithRWInfo<NodeType> : Frame
{
public FrameWithRWInfo(uint id) : base(id) { InitFrameWithRWInfo(); }
public FrameWithRWInfo(uint id, int slotid) : base(id, slotid) { InitFrameWithRWInfo(); }
public NodeType NodeOf... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using MvvmCross.Droid.Support.V4;
using MvvmCross.Core.ViewModels;
using MvvmCross.Binding.Droid.BindingCon... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletScript : MonoBehaviour {
public Rigidbody source;
public GameObject explosionPrefab;
public GameObject hitExplosionPrefab;
public GameObject startEffectPrefab;
private Rigidbody rb;
private float delta;
private ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CoinText : MonoBehaviour
{
public static CoinText Instance { get; private set; }
Text myText;
private void Awake()
{
Instance = this;
myText = GetComponent<Te... |
using OpenIddict.Abstractions;
namespace Store.Sts.Extensions
{
public static class RequestExtensions
{
public static bool IsVerificationTokenGrantType(this OpenIddictRequest request)
{
return request.GrantType == "verification_token";
}
}
}
|
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.0.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
/**
* A Player moves around the board according to their dice roll
* A Player has money
* A Player may buy a property
**/
public class Player : MonoBehaviour {
private int iPlayerRolled = 0;
private int i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using PostingNews.Models;
using PostingNews.ViewModels;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace PostingNe... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Timesheet.Domain;
using Timesheet.Domain.Models;
namespace Timesheet.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dz3_ex2.dll;
using System.Globalization;
using GAMER;
namespace dSumDistance3_eDistanceFirstDaCoeficient2
{
class Program
{
static void Main(string[] args)
{
S... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Reflection;
using Aemulus.Hardware;
namespace DmBasics
{
class Program
{
static void Main(string[] args)
{
int ret = 0;
int testHead = 0;
... |
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace ClouDeveloper.Hash.SHA1
{
public static partial class SHA1HashExtensions
{
public static string ComputeSHA1(
this Stream inputStream,
bool isUpperCase = true)
... |
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using nargileotomasyon.Models.Mapping;
namespace nargileotomasyon.Models
{
public partial class nargileContext : DbContext
{
static nargileContext()
{
Database.SetInitializer<nargileContext>(null);
}
... |
using System.Data.Entity.ModelConfiguration;
using Web.Models;
namespace Web.Data
{
public class ScoRecordConfiguration : EntityTypeConfiguration<ScoRecord>
{
public ScoRecordConfiguration()
{
}
}
} |
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 MySql.Data.MySqlClient;
namespace Database_Vehicle
{
public partial class Form1 : Form
{
... |
using CouponsLtd.Services;
using CouponsLtd.UpsertModels;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CouponsLtd.Controllers
{
[ApiController]
[Route("api/v1/mocks")]
public class MocksController : Controller... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_Gyroscope : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int get_rotationRate(IntPtr l)
{
int result;
try
{
Gyroscope gyroscope = (Gyroscope)LuaObject.checkSelf(l);
LuaObject.pushValue... |
using AmWell.Resources.DTO.Request;
using AmWell.Resources.DTO.Response;
using AmWell.Resources.Services;
using AmWell.Resources.Services.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AmWellEntity = AmWell.Resources.Entities;
namespace AmWe... |
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.SqlClient;
namespace FruitsProject
{
public partial class Registratio... |
using Plus.Communication.Packets.Outgoing.Sound;
using Plus.HabboHotel.GameClients;
namespace Plus.Communication.Packets.Incoming.Sound
{
internal class GetSongInfoEvent : IPacketEvent
{
public void Parse(GameClient session, ClientPacket packet)
{
session.SendPacket(new Tr... |
using MimeKit;
using MailKit.Net.Smtp;
using System.Linq;
using System.Collections.Generic;
using System;
namespace eMail
{
public class Email
{
public Email(string host,int port, bool useSSL=true)
{
_host = host;
_port = port;
_useSSL = useSSL... |
// 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.
namespace Microsoft.EntityFrameworkCore.Storage
{
/// <summary>
/// <para>
/// Provides access to <see cref="IDatabaseFacadeDepe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyntaxAnalyser
{
static class SemanticAnalizer
{
static public List<Varible> _varibles = new List<Varible>();
public static void addVarible(string name, string type) //... |
using Mis_Recetas.Controlador;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mis_Recetas.Vista
{
public p... |
using OneCPO.Data.Models;
using OneCPO.ViewModels.Input.Customer;
using System.Linq;
namespace OneCPO.Services.Contracts
{
public interface ICustomerService
{
IQueryable<Customer> Sort(string sortOrder, IQueryable<Customer> customers);
IQueryable<Customer> GetAll();
Customer GetSingl... |
// Three Basic Arrays
// Create an array to hold integer values 0 through 9
// Create an array of the names "Tim", "Martin", "Nikki", & "Sara"
// Create an array of length 10 that alternates between true and false values, starting with true
// List of Flavors
// Create a list of ice cream flavors that holds at le... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tools
{
public class AppConfig
{
public string FtpIP
{
get { return ConfigurationManager.AppSettings["FtpIP"].ToString(); }
... |
using PDV.DAO.Atributos;
using System;
namespace PDV.DAO.Entidades.NFe
{
public class DuplicataNFe
{
[CampoTabela("IDDUPLICATANFE")]
public decimal IDDuplicataNFe { get; set; } = -1;
[CampoTabela("NUMERODOCUMENTO")]
public string NumeroDocumento { get; set; }
[CampoTa... |
using System;
using System.Diagnostics;
#if NET35
using System.Windows;
using System.Windows.Input;
#elif NETFX_CORE
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml;
using System.Windows.Input;
#endif
namespace WPFBase.Controls
{
public class WPFBaseTextBox :
#if NET35
System.Windows.Controls.TextBox
#el... |
using AppDuoXF.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AppDuoXF.Interfaces
{
public interface IStoriesService
{
Task<IList<StoriesGroup>> GetStories();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class skipTutorial : MonoBehaviour
{
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown("s")){
GameObject.Find("Player").GetComponent<Player... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TechnologiesList.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Threading
{
public abstract class BaseTaskFuncParameters<T, TResult> : IReset
{
public T P
{
get;
set;
}
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace Psychokinesis
{
class enemy : entity
{
public Texture2D image;
public int HP;
public string direction;
public... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ConsoleApp11;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp11.Tests
{
[TestClass()]
public class AnaliticTests
{
Analitic analitic = new Analitic();... |
using System;
using System.Data;
using System.Text;
using System.Data.OracleClient;
using Maticsoft.DBUtility;
using System.Collections.Generic;
using System.Collections;
using System.Data.SqlClient;//Please add references
namespace PDTech.OA.DAL
{
/// <summary>
/// 数据访问类:ATTRIBUTES
/// </summary>
publ... |
namespace TNBase.Objects
{
public class YearStats
{
public int Year { get; set; }
public int StartListeners { get; set; }
public int EndListeners { get; set; }
public int NewListeners { get; set; }
public int DeletedListeners { get; set; }
public int AverageListe... |
/* Task 16. Create a class Group with properties GroupNumber and DepartmentName. Introduce a property Group in the Student class. */
namespace Student.Common
{
using System;
public class Group
{
public Group(int grpNumber, string depName)
{
this.GroupNumber = grpNumber;
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ServerModel.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JonahRuleEngine
{
public class DataResult
{
public bool Status { get; set; }
public string Message { get; set; }
public DataResult(bool Status, string Message)
{
this.Status = Status;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForumUtil;
namespace Domain
{
public class VbAccount:ForumAccount
{
public virtual string AccountId { get; set; }
public string MD5Password
{
get
{
... |
using Koek;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using System;
using System.Linq;
namespace Tests
{
[TestClass]
public sealed class ExpiringCollectionTests
{
private static readonly TimeSpan WindowSize = TimeSpan.FromSeconds(1);
private readonly ITimeSour... |
using System.Collections.Generic;
namespace FileSearch
{
public class FilenameShouldNotContainFilter : FilenameContainsFilter
{
public FilenameShouldNotContainFilter(IList<string> wildcards)
: base(wildcards)
{
}
#region IFileFilter Members
public override... |
using UnityEngine;
using System.Collections;
//behaviour responsible for updating this network object's position.
public class ObjectNetworkBehaviour : MonoBehaviour {
void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)
{
Debug.Log("OnPhotonSerializeView");
if (stream.isW... |
using Umbraco.Core.Models;
namespace AgeBaseTemplate.Core.Services
{
public interface IPageService
{
IPublishedContent GetCurrentPage();
T GetCurrentPageAs<T>() where T : class;
}
} |
using UnityEngine;
using System.Collections;
using System;
public class CharacterGenerator : MonoBehaviour {
private PlayerCharacter _toon;
private const int STARTING_POINTS = 350;
private const int MIN_STARTING_ATTRIBUTE_VALUE = 10;
private const int STARTING_VALUE = 50;
private int _pointsLeft;
private con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PalmDataLayer;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Net;
namespace PalmBusinessLayer
{
class QABL
{
//create QA event
public void c... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using VendorsManage.Properties;
namespace VendorsManage.Models.ViewModel
{
public class UserView
{
[ScaffoldColumn(false)]
public int UserId { get; set; }
[Required(ErrorMessageResourceName = ... |
// Accord Core 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 publish... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RecortadorImagenes.Clases.Core
{
public class ImagenCR
{
public static void... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Atsugiri_beef_jerky.Twitter;
namespace Atsugiri_beef_jerky
{
class Program
{
private static string[] targetString1 = { "はら", "おなか", "ぽなか", "腹" };
private... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Akka.TestKit.VsTest;
using Faux.Banque.Domain.Aggregates;
using Faux.Banque.Domain.ValueObjects;
using Faux.Banque.Domain.Contacts;
using Akka.Event;
using Faux.Banque.Domain.Tests.EventStore;
using Faux.Banque.Domain.Actors;
namespace Faux.Banqu... |
using System;
using System.Collections.Generic;
using System.Text;
using Entity;
namespace Business
{
public class KieuGiatLaBO
{
public static ListKieuGiatLaEntity SelectAll()
{
return DataAccess.KieuGiatLaDA.SelectAll();
}
public static ListKieuGiatLaEntity SelectByMaHang(Int32 mahang)
... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using System.Xml;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("EntityDef")]
public class EntityDef : EntityBase
{
public EntityDef(IntPtr address) : this(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactoryMethodPattern
{
public class ObjectInt : IObject
{
public string Identifier { get; private set; }
public object Value { get; private set; }
public void... |
using Portal.repo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Portal
{
public partial class cityAdd : System.Web.UI.Page
{
protected CitiesRepo CitiesRepo;
public cityAdd()
{
... |
using Akka.Actor;
using Akka.Event;
using DownloadExtractLib.Interfaces;
using DownloadExtractLib.Messages;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using SysDiag = System.Diagnostics;
namespace DownloadExtractLib
{
public class DownloadCoordinatorA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HackerRank;
namespace HackerRank
{
public class systemTypes
{
public static System.Int32 returnType() { return new System.Int32(); }
}
public class Matrix<T> where T : new... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2009 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using UnityEngine;
using System.Collections;
public class tutorial : MonoBehaviour {
public void main_tutorial()
{
GetComponent<AudioSource>().Play();
Application.LoadLevel("tutorial0");
}
public void tutorial0()
{
Application.LoadLevel("tutorial1");
GetComponent<Au... |
using UIKit;
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms;
using AuditAppPcl.CustomUI;
using OneSystemAudit.iOS.CustomUI;
using Foundation;
[assembly: ExportRenderer(typeof(AuditEntry), typeof(AuditEntryRenderer))]
namespace OneSystemAudit.iOS.CustomUI
{
public class AuditEntryRenderer : EntryRenderer
... |
namespace Builder;
public enum DrinkType
{
Americano,
Latte
} |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_TransformFollowManager : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
TransformFollowManager o = new TransformFollowManager();
LuaObject.... |
using Newtonsoft.Json;
using System;
namespace CoffeeFinder.Models
{
public class VenueAddress
{
public string Address { get; set; }
public string City { get; set; }
public string State { get; set; }
private string _distance;
public string Distance
{
get
{
if (GlobalVa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.