text stringlengths 13 6.01M |
|---|
using System.Linq;
namespace TypicalInterviewQuestions
{
//Write a function to remove duplicate characters from String?
//With a hint of fun - leave the first letter remove all other duplicates keep casing
public static class RemoveDuplicateCharactersFromString
{
public static string LeaveFirs... |
namespace PDV.DAO.Entidades.MDFe
{
public class VeiculoTracaoMDFe
{
public decimal IDVeiculoTracaoMDFe { get; set; } = -1;
public decimal? IDProprietarioVeiculoMDFe { get; set; }
public decimal? IDCondutor { get; set; }
public decimal IDVeiculo { get; set; }
public decim... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace Blatella.Common
{
public class Error
{
#region properties
/// <summary>
///
/// </summary>
public string application { get; set; }
/// <summary>
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class AvisoColeecionables : MonoBehaviour
{
public GameObject panelColeccionable;
public float time;
void Start()
{
mostrarpanel();
}
void m... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using xy3d.tstd.lib.gameObjectFactory;
using xy3d.tstd.lib.publicTools;
using xy3d.tstd.lib.assetManager;
using System;
namespace xy3d.tstd.lib.gameObjectFactory
{
public class GameObjectFactoryUnit
{
public string name;
public Gam... |
namespace NDDDSample.Interfaces.HandlingService.Messaging
{
#region Usings
using System;
using Application;
using Infrastructure.Log;
using Infrastructure.Messaging;
#endregion
public class HandlingEventRegistrationAttemptHandler : IMessageHandler<HandlingEventRegistrationAttemptMessage>... |
using MvcProjeKampi.DataAccessLayer.Abstract;
using MvcProjeKampi.DataAccessLayer.Concrete.Repositories;
using MvcProjeKampi.EntityLayer.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MvcProjeKampi.DataAccessLayer.EntityFramework... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// updates this object to face the player camera //
public class FacePlayerCamera : MonoBehaviour
{
// connection – connected to at the start: (player) camera - transform //
private Transform cameraTransform;
void Start()
{... |
using System;
using System.IO;
using System.Net;
namespace BiPolarTowerDefence.Entities
{
public class LevelLoader
{
private readonly Level _level;
private readonly string _basePath;
public LevelLoader(Level level, string basePath)
{
_level = level;
_ba... |
namespace Cogito.Kademlia
{
/// <summary>
/// Describes a response to a FIND_NODE request.
/// </summary>
public class KNodeFindNodeResponse : KNodeResponse
{
/// <summary>
/// Initializes a new instance.
/// </summary>
/// <param name="status"></param>
pub... |
using System;
namespace MCCForms
{
public interface IPiwikAnalytics
{
void TrackView(string viewName);
void TrackEvent(string categoryName, string eventName);
}
} |
using System.Linq.Expressions;
namespace Bb.Expressions
{
public class Label
{
public LabelTarget Instance { get; set; }
public string Name { get; internal set; }
public KindLabelEnum Kind { get; internal set; }
}
public enum KindLabelEnum
{
Default,
B... |
using System;
using Umbraco.Web._Legacy.Controls;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Web;
using Umbraco.Web.Composing;
namespace umbraco.controls
{
public class ContentPicker : BaseTreePicker
{
public ContentPicker()
{
AppAlias = Constants.Applications... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AmazonQuestion.cs
{
public class _001_MergeSortedArrays
{
// Difficulty: *
/*
* 给两个ascend排序的integer array,找出他们的union,并且descend排序。
* http://www.mitbbs.... |
using System;
using System.Collections.Generic;
using System.Linq;
using starkdev.spreadrecon.model;
using starkdev.utils;
namespace starkdev.spreadrecon.data
{
public class ConfiguracoesDAL
{
private readonly _Contexto contexto;
public ConfiguracoesDAL()
{
contexto = new ... |
using NuGet.Protocol.Core.Types;
using NuGet.Protocol.Core.Types;
using NuGet.Versioning;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
//using NuGet.Protocol.Core.Types;
using Xunit;
//using Newtonsoft.Json.Linq;
namespace Client.V3Test
{
public class ClientV3Test : TestBase
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace INVENTARIO
{
class inventario
{
public product[] _P1 = new product[20];
public int aux = 0;
public void mAgregar(product producto)
... |
namespace E24_OrderWords
{
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class OrderWords
{
public static void Main(string[] args)
{
// Write a program that reads a list of words, separated by
// spaces and pri... |
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.Text.RegularExpressions;
namespace HOMEWORK7
{
public partial class Makeorders : Form
... |
using System;
using System.Collections.Generic;
using zoologico.Interfaces;
using zoologico.Models;
namespace zoologico.Models
{
public class Leao : Animais, ITerrestre
{
public string Andar()
{
return this.GetType().Name+ "Somente anda";
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundManager : MonoBehaviour {
public AudioClip aClip, vClip;
private AudioSource aSource;
// Use this for initialization
void Start () {
aSource = GetComponent<AudioSource>();
}
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour
{
public VectorValue startingPosition;
public Vector2 playerPosition;
public void play()
{
startingPosition.initValue = playerPosition;
S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Net;
using System.Web;
using System.Collections;
using System.Web.SessionState;
public class UploadHandler : IHttpHandler, IRequiresSessionState
{
public void ProcessRequest(HttpContext context)
{
... |
using ALM.Reclutamiento.Entidades;
using System.Data;
using System;
using MySql.Data.MySqlClient;
using System.Collections.Generic;
using ALM.Reclutamiento.AccesoDatos;
namespace ALM.Reclutamiento.Datos
{
public class DCategoria:Conexion
{
/// <summary>
/// Insertar una categoria
/// ... |
namespace Dominio
{
public class CteTomadorServico
{
public string NM_TOMADOR_SERVICO { get; set; }
public string NU_CNPJ_TOMADOR_SERVICO { get; set; }
public decimal NU_PERIODO { get; set; }
public decimal NU_CFOP { get; set; }
public string VL_TOTAL_CTE { get; set; }
... |
using System;
using System.Text.Json.Serialization;
namespace Application.Profiles
{
public class ProfileActivityDto
{
public Guid Id { get; set; }
public string Title { get; set; }
public string Category { get; set; }
public DateTime Date { get; set; }
[JsonIgnore] // ... |
using UnityEngine;
using System.Collections;
public class EnemyMelee : MonoBehaviour {
public float attackTimer;
public float coolDown;
public int damage;
private GameObject target;
private GameObject[] objectList;
private GameObject closest;
private float distance;
private float direction;
pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Staff : MonoBehaviour {
public float moveSpeed;
public int direction;
public float minX;
public float maxX;
public GameObject[] bullets;
public int objectRange;
public float timeLeftUntilSpawn = 0f;
public float ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//[ExecuteInEditMode]
public class Jump : MonoBehaviour {
public GameObject sibling;
public bool active = false;
public GameObject obj;
public GameObject catObject;
Transform[] JumpStruct = new Transform[2];
... |
using BoDi;
using SpecflowBDD.TAF.MyProject.Model;
using SpecflowBDD.TAF.MyProject.Pages;
using Newtonsoft.Json.Linq;
using TechTalk.SpecFlow;
namespace SpecflowBDD.TAF.MyProject.Steps
{
[Binding]
class SampleUIElementsCheckStepsWithData
{
private readonly UIElementsPage uIElementsPage;
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite.Net;
using Xamarin.Forms;
namespace OMIKAS
{
/// <summary>
/// Operacje na bazie danych
/// </summary>
public class DataAccess
{
/// <summary>
/// Połączenie z bazą danych
/// </s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Http;
using Ddb.Api.Models;
using Ddb.Application.Abstractions;
using Ddb.Application.Exceptions;
using Ddb.Domain.Vi... |
using Microsoft.AspNetCore.Mvc;
namespace MVC
{
[Route("api/product")]
public class ProductController : Controller
{
[HttpGet("{id:int}")]
public string Get(int id){
//return id;
return HttpContext.Request.Path;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ERP_Palmeiras_LA.WebServices
{
public struct MaterialClinicaDTO
{
public String NomeMaterial;
public int Id;
public String Fabricante;
public String Codigo;
public String Desc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Ninject;
using Dao.Mercadeo;
namespace Blo.Mercadeo
{
public class CampaniaColorProductoBlo : GenericBlo<crmCampaniaColorProducto>, ICampaniaColorProductoBlo
{
private ICa... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class AudioController : MonoBehaviour {
public GameObject soundButton;
public Sprite soundOnSprite;
public Sprite soundOffSprite;
public static int sound = 1;
void Awake () {
LoadSoundSettings ();
}
public void SoundButtonClick () {... |
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 View.Interfaces;
using View.Controllers;
namespace View.Forms
{
public partial c... |
namespace WMaper.Meta
{
/// <summary>
/// 拼装信息类
/// </summary>
public sealed class Assem
{
#region 变量
// 拼装最小行
private int minR;
// 拼装最大行
private int maxR;
// 拼装最小列
private int minC;
// 拼装最大列
private int maxC;
#endre... |
// Accord Machine Learning 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
// Licens... |
using Data.Core;
using LearningEnglishMobile.Core.Models.Training.Results;
using LearningEnglishMobile.Core.Models.Training.Shared;
using System;
using System.Collections.Generic;
namespace LearningEnglishMobile.Core.Models.Training.ChooseTranslate
{
public class ChooseTranslateTraining : TrainingBase<QuestionWi... |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... |
using System;
using System.Text.RegularExpressions;
namespace Battleship.Model
{
public static class InputHandler
{
/// <summary>
/// Validates and converts user input into a placement object. Returns a message if there is an error.
/// </summary>
/// <param name="input"></par... |
namespace CloneDeploy_Entities.DTOs
{
public class VersionDTO
{
public bool FirstRunCompleted { get; set; }
public string DatabaseVersion { get; set; }
public string TargetDbVersion { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace CoreComponents.Threading
{
public sealed class AcquisitionBool : IReset, IDisposable
{
bool myAcquired;
readonly SpinLock mySpinLock;
public AcquisitionBool()
... |
using System;
namespace OCP.Group.Backend
{
/**
* @since 14.0.0
*/
public interface ICountDisabledInGroup : IBackend
{
/**
* @since 14.0.0
*/
int countDisabledInGroup(string gid);
}
}
|
using System;
using System.Collections.Generic;
//Write a program to convert binary numbers to hexadecimal numbers (directly).
//00010101010101010100111-->AAAA7
//000101010111100110111101111 --> ABCDEF
class BinaryToHexadecimal
{
static void Main()
{
Console.WriteLine(ConvertBinaryToHexadecimal("00001... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SKT.WMS.WMSBasicfile.BLL;
using SKT.WMS.WMSBasicfile.Model;
using SKT.WMS.Web.AjaxServices.WMSCustomer;
namespace SKT.MES.Web.WMSBasicfile
{
public partial class WMSCust... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tasks.Services.Domain.Results
{
public class CreateUserResult: BaseServiceResult<Guid>
{
}
}
|
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using System;
using System.Net.Mail;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using mdp.Models;
namespace mdp.Controllers
{
public class CartController : Controller
{
public const string CartKey = "CartId";
... |
// Instruction.cs
// Author:
// Stephen Shaw <sshaw@decriptor.com>
// Copyright (c) 2009 Stephen Shaw
using System;
using Agora.Tokens;
namespace Agora.Machine
{
public class Instruction
{
public Instruction (int index)
{
try {
OpCode = Instructions.instructions [Sys.memory.Read (index, sizeof(by... |
namespace DDDSouthWest.IdentityServer.Framework
{
public class AuthServerConfigurationOptions
{
public string WebsiteUrl { get; set; }
public Database Database { get; set; }
}
public class Database
{
public string Type { get; set; }
public string ConnectionString ... |
using UnityEngine;
namespace TypingGameKit
{
/// <summary>
/// Displays the current state of an input sequence.
/// </summary>
[System.Serializable]
[ExecuteInEditMode]
public class InputSequenceDisplay : MonoBehaviour
{
private const string NOSPACE_BREAKABLE = "\u200B";... |
namespace NETCommunity.FsCheck.Discounts.Offers
{
// Free shipping.
public class FreeShipping
{
}
} |
using Autofac;
using Autofac.Core;
using LM.Core.Data;
using LM.Core.Infrastructure;
using LM.Core.Infrastructure.DependencyManagement;
using System.Data.Entity;
namespace LM.Data
{
/// <summary>
/// Dependency registrar
/// </summary>
public class DependencyRegistrar : IDependencyRegistrar
{
... |
using Reception.Contracts.Requests;
using Reception.Domain.Entities;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Reception.Handlers.Abstractions
{
/// <summary>
/// Сервис для работы с клиентам.
/// </summary>
public interface IClientService
{
... |
//分页类
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NaturalDisasterDatabaseWebsite
{
public class PaginatedList<T> : List<T>
{
public int PageIndex { get; set; } //当前页码
public int TotalPages { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Panacea.Interop.Tests
{
public interface IDemoService
{
int Add(int a, int b);
}
public interface IDemoClient
{
Task<int> Add(int a, int b);
}
pub... |
/*
* Author: Jason D. Jimenez
* Date : 12/18/2005
* Time : 6:16AM
*
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using JasonJimenez.ClassicReport.Common;
using JasonJimenez.ClassicReport.Common.Widgets;
namespace JasonJimenez.ClassicReport
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Medi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Lab1.Models;
namespace Lab1.Controllers
{
public class HomeController : Controller
{
[HttpGet]
public Ac... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Blazui.Component
{
/// <summary>
/// 忽略某个属性
/// </summary>
public class TableIgnoreAttribute : Attribute
{
}
}
|
using PlatformRacing3.Server.Game.Client;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming;
internal class GetHatIncomingMessage : MessageIncomingJson<JsonGetHatIncomingMessage>
{
internal override void Handle(ClientSession... |
using Frostbyte.Entities.Discord;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace Frostbyte.Extensions
{
public static class UdpClientExtensions
{
public static Task ProcessVoiceReadyAsync(this UdpClient client, VoiceReadyPayload vrp)
{
var packet = new byte[70];
... |
namespace OCP.AppFramework.Http
{
/**
* Very thin wrapper class to make output testable
* @since 8.1.0
*/
interface IOutput {
/**
* @param string out
* @since 8.1.0
*/
public function setOutput(out);
/**
* @param string|resource path or file handle
... |
using System;
using System.Linq;
using System.Management;
using System.Net;
namespace Shunxi.Common.Utility
{
public static class Common
{
public static string BytesToString(byte[] bytes)
{
return bytes.Aggregate("", (current, t) => current + (Convert.ToString(t, 16).PadLeft(2, '0'... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace OmniSharp.Extensions.JsonRpc.Server.Messages
{
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public class ErrorMessage : IErrorMessage
{
public ErrorMessage(int code, string message)
{
Cod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class ChooseVariant
{
static void ReverseNumber(int num)
{
string str = num.ToString();
for (int i = str.Length - 1; i >= 0; i--)
{
Console.Write(str[i]);
}
}
static floa... |
using System;
using System.Linq;
using MonoGame.Extended.Collections;
using MonoGame.Extended.Content;
using Xunit;
namespace MonoGame.Extended.Tests.Content
{
public class ContentReaderExtensionsTests
{
[Theory]
[InlineData("testsuperdir/testsubdir1/testsubdir2/resource", "testsuperdir/testsu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CQRS_Write_Domain.Commands
{
public interface ICommandHandler<T> : ICommandHandler where T : ICommand
{
void Handle(T command);
}
public interface ICommandHandler { }
}
|
using System.Collections.Generic;
using Danmaku_no_Kyojin.Collisions;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace Danmaku_no_Kyojin.Entities
{
class Bullet : BaseBullet
{
public bool WaveMode { get; set; }
private float _distance;
pub... |
/*
* 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.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UniRx;
using UnityEngine;
public class AIPlayerController : AIPlayerControllerBase {
public override void InitializeAIPlayer(AIPlayerViewModel aIPlayer) {
}
}
|
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace MKViewModel
{
public static class MK2DStartupSettings
{
/// <summary>
/// The log.
/// </summary>
... |
namespace Presentation.API.Auth
{
public class Scopes
{
public const string UserServiceScope = "user";
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class windcompass : MonoBehaviour {
// Use this for initialization
void OnSelect()
{
Debug.Log("Portrait windcompass ist sichtbar");
GetComponentInParent<MenuController>().SelectWindcompass();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WrapperComponent
{
public class WrapperSDK
{
public void NetMethod(string text)
{
Console.WriteLine(text);
}
}
}
|
using APIEcommerce.Models;
using APIEcommerce.Requests;
using APIEcommerce.Responses;
namespace APIEcommerce.Mapper
{
public static class EquipeMapper
{
public static Equipe Mapper(EquipeRequest equipe)
{
return new Equipe()
{
IdEquipe = equipe.IdEquipe,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KnapsackProblem.DecisionVersion
{
public class DecisionBranchBoundSortedWeight: DecisionStrategy
{
public override DecisionResult Solve(DecisionKnapsackInstance instance)
{
//the list is... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class FPSMovement : MonoBehaviour {
public float m_Speed = 2.0F;
public float m_TurnSpeed = 2.0F;
public float gravity = 20.0F;
private float m_MovementInputValue;
private float m_TurnInputValue;
private CharacterCon... |
namespace Triton.Bot
{
using System;
public class ClientFrozenEventArgs : EventArgs
{
}
}
|
// <copyright file="IPokeApiClient.cs" company="Visualbean">
// Copyright (c) Visualbean. All rights reserved.
// </copyright>
namespace Visualbean.Pokemon.Pokemon
{
using System.Threading.Tasks;
/// <summary>
/// The PokeApi client.
/// </summary>
public interface IPokeApiClient
{
//... |
namespace ServiceBase.Notification.Twilio
{
public class TwilioOptions
{
/// <summary>
/// Twilio session identity.
/// </summary>
public string Sid { get; set; }
/// <summary>
/// Twilio authorization token.
/// </summary>
public string Token { ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using SafeApp;
using SafeApp.Utilities;
using SafeTodoExample.Helpers;
using SafeTodoExample.Model;
using SafeTodoExample.Service;
using Xamarin.Forms;
#if SAFE_APP_MOCK
using SafeApp.MockAuthBind... |
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
using System... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Farm : MonoBehaviour
{
const int amountOfWorkplaces = 6;
const float DistanceToWorkplaces = 6;
int currentworkspot;
int foodStock;
float dirt = 0;
const float maxDirt = 4;
public boo... |
namespace AIMA.Core.Logic.Propositional.Parsing.Ast
{
using System;
using System.Collections.Generic;
using AIMA.Core.Logic.Common;
using AIMA.Core.Logic.Propositional.Parsing;
/**
* @author Ravi Mohan
*
*/
public abstract class Sentence : ParseTreeNode
{
public abs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Filters;
using AsEasy.Common;
using AsEasy.Controllers;
using AsEasy.Ext;
namespace AsEasy.Attrs
{
public class AuthPermissionAttribute : FilterAttribute, IAuthenticationFilter
{
... |
//
// - PropertyTreeFromFileTests.cs -
//
// Copyright 2010 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.... |
using LogicBuilder.Attributes;
namespace Contoso.Forms.Parameters.Common
{
public class DomainRequestParameters
{
public DomainRequestParameters()
{
}
public DomainRequestParameters
(
[Comments("Defines the request state including the sort, filter, page and... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess.NHibernateHelper;
using Domain.Entity;
using DataAccess.AbstractRepository;
namespace DataAccess.Repository
{
public class PaymentTypeRepository : NHibRepository<PaymentType>, IPaymentTypeRepository
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Quartz;
using Quartz.Impl;
using Rastreador.Helpers;
using System.Text;
using System.Web.Security;
using System.Configuration.Provider;
namespace Rastreador.Controllers
{
public class RecoveryProvider ... |
/*
* Copyright (c) 2022 Samsung Electronics Co., Ltd. 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 ... |
namespace SGDE.Domain.Supervisor
{
#region Using
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Converters;
using Entities;
using ViewModels;
#endregion
public partial class Supervisor
{
public List<User... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using VRTK;
public class SnapController : MonoBehaviour
{
private VRTK_InteractableObject m_interactableObjectScript;
private GridSnapManager m_gridSnapManager;
//private GameObject m_cube;
[SerializeField]
private Ga... |
using System.Threading.Tasks;
using dk.via.ftc.businesslayer.Models;
namespace dk.via.businesslayer.Data.Services
{
public interface IVendorService
{
public Task AddVendorDbAsync(VendorAdmin vendorAdmin);
}
} |
using System;
using System.Collections.Generic;
using App.Data;
using App.Entity;
namespace App.Logic
{
public class InventoryLC : IBasicMethods<InventoryBE>
{
private InventoryDAC DataAccessCLass = new InventoryDAC();
public void CreateTable()
{
DataAccessCLass.CreateTabl... |
using System;
using Kit.Forms.Controls.ActivityIndicator;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
// ReSharper disable once CheckNamespace
namespace Kit.Forms.Controls
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ActivityIndicatorView : ContentView
{
p... |
// Copyright (c) Daniel Crenna & Contributors. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using ActiveApi.Configuration;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Configuration;
using Microsoft... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class lrPrincess : MonoBehaviour {
void Update () {
gameObject.transform.RotateAround (gameObject.transform.position, Vector3.forward, 1*Time.deltaTime);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.