text stringlengths 13 6.01M |
|---|
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using BlazorUtils.Interfaces.BlazorComponents;
using Microsoft.AspNetCore.Blazor.Components;
namespace BlazorUtils.Dom.BlazorUtilsComponents
{
public class LMTEmpty : BlazorComponent, ILMTComponent
{
}
}
|
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using BehaviourMachine;
using System;
public class BM_Rest : StateBehaviour
{
Agent m_agent;
IntVar stamina;
void OnEnable()
{
Debug.Log("Started *Rest*");
Setup();
m_agent.m_navAgent.isStopped = ... |
using UnityEngine;
using System.Collections;
namespace Ph.Bouncer
{
public class NextLevelButton : MonoBehaviour
{
void OnPress(bool isDown)
{
if(!isDown)
{
LevelLoadHelper.NextLevel();
}
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyBossMovement : MonoBehaviour
{
[SerializeField] private float _moveSpeed;
[SerializeField] private GameObject _shipCorePrefab;
private bool _stopMoving = false;
void Update()
{
if (!_stopMovi... |
using System;
namespace Cogent.IoC.Generators.Models
{
internal struct Registration
{
private readonly RegistrationTypeEnum _registrationType;
private readonly object _value;
public Registration(TransientRegistration transientRegistration)
{
_registratio... |
using System.Runtime.Serialization;
namespace Shunxi.Business.Enums
{
public enum TargetDeviceTypeEnum
{
[EnumMember(Value = "Unknown")] Unknown = -1,
[EnumMember(Value = "Pump")] Pump = 0,
[EnumMember(Value = "Rocker")] Rocker = 1,
[EnumMember(Value = "Temperature")] Temper... |
using Hayalpc.Library.Common.Enums;
using Hayalpc.Library.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Hayalpc.Fatura.Data.Models
{
[Table("reset_passwords", Schema = "panel")]
public class ResetPassword : HpModel
... |
using System;
using System.Text;
using System.Security.Cryptography;
namespace PmSoft.Utilities
{
public static class EncryptionUtility
{
public static string Base64_Decode(string str)
{
if (string.IsNullOrEmpty(str)) return str;
byte[] bytes = Convert.FromBase64String(... |
using System;
using TMPro;
using UnityEngine;
/// <summary>
/// Scribble.rs Pad controllers namespace
/// </summary>
namespace ScribblersPad.Controllers
{
/// <summary>
/// A class that describes a chat box element
/// </summary>
public class ChatBoxElementControllerScript : AChatBoxElementController... |
using Bytes2you.Validation;
using Cinema.Data.Models;
using Cinema.Data.Models.Contracts;
using Cinema.Data.Repositories;
using Cinema.Data.Services.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Cinema.Data.Services
{
public class FilmScreeningService : IFilmScreeningServ... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DemoStandardProject.DTOs;
using DemoStandardProject.Models.ServiceResponse;
using DemoStandardProject.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace DemoStandardProject.Controllers.Product
{
... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
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 ... |
namespace DpiConverter.Tests
{
using Data;
using Helpers;
using NUnit.Framework;
public class LandXmlTests
{
[TestCase("backsight", ObservationPurpose.Backsight)]
[TestCase("traverse", ObservationPurpose.Traverse)]
[TestCase("sideshot", ObservationPurpose.Sideshot)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Treees
{
public class BinaryTree<T> where T : IComparable
{
public Node<T> Root { get; set; }
public BinaryTree() { }
public BinaryTree(T value)
{
Root = new Node<T>(v... |
using Microsoft.AspNetCore.Mvc;
using Sp_Medical_Group.Domains;
using Sp_Medical_Group.Interfaces;
using Sp_Medical_Group.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sp_Medical_Group.Controllers
{
//define que o tipo de reposta da API se... |
//Write a program that reads a string from the console and prints all different
//letters in the string along with information how many times each letter is found.
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class LettersInString
{
static void Main()
{
... |
using UnityEngine;
public class Energy
{
#region Fields
private float currentEnergy;
private float maximumEnergy;
private bool isPlayer;
#endregion
#region Constructor
public Energy(float currentEnergy, float maximumEnergy, bool isPlayer = true)
{
this.currentEnergy = currentE... |
namespace EkwExplorer.FakeScraper;
public enum NameFormat
{
NameSurname,
SurnameName
}
internal class RandomNamesGenerator
{
private readonly Randomizer<string> _femaleNames = new Randomizer<string>()
{
"Anna",
"Maria",
"Katarzyna",
"Małgorzata",
"Agnieszka",
... |
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;
using WeifenLuo.WinFormsUI.Docking;
using System.Data.SqlClient;
using System.IO;
namespace RSMS
{
public partial class StoragePlan... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
namespace WPFWorkSample
{
/// <summary>
... |
using LePapeo.Models;
using LePapeoGenNHibernate.CAD.LePapeo;
using LePapeoGenNHibernate.CEN.LePapeo;
using LePapeoGenNHibernate.EN.LePapeo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WEBLEPAPEO.Controllers
{
public class RegistradoControll... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DomainValuesFileImporter.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------... |
using UnityEngine;
using System.Collections;
/* public class PhaseOne : Monbehavior {
public int fallSpeed = 15;
public GameObject player;
public float regSpeed = 5;
private Vector3 pointOne = new Vector3(0, 0, 0);
private Vector2 pointTwo = new Vector3(5, 0, 0);
private bool isFalling = fa... |
using System;
using System.Linq;
using System.Windows.Forms;
using Relocation.Data;
using System.Data.Objects;
using Relocation.Classes;
using Relocation.Base;
using Relocation.Com;
using Relocation.Forms.ListBase;
namespace Relocation
{
public partial class projectList : ProjectListBase, IPrintForm
... |
using System;
using System.Collections.Generic;
using System.Text;
using VSchool.Data.Entities;
namespace VSchool.Data.Entities
{
public class Subject : BaseEntity
{
public string Label { get; set; }
public string Description { get; set; }
public Branch Branch { get; set; }
p... |
namespace Checkout.Payment.Query.Seedwork.Extensions
{
public class TryResult<T> : ITryResult<T>
{
public bool Success { get; }
public string Message { get; }
public T Result { get; private set; }
public static TryResult<T> CreateSuccessResult(T result)
{
r... |
using System;
using Strategy.Interface.Duckling;
namespace Strategy.Fly.Duckling
{
class CanFly : IFly
{
public void Fly()
{
Console.WriteLine("I can fly, yeah!");
}
}
}
|
namespace LuaLu {
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.IO;
[NoLuaBinding]
[CustomEditor(typeof(LuaComponent))]
public class LuaInspector : Editor {
// properities of LuaComponent
SerializedProperty m_luaFileProp;
SerializedProperty m_fileBoundProp;
void OnEnable... |
using Pchp.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.ShareNS
{
/**
* Interface IShareHelper
*
* @package OCP\Share
* @since 12
*/
public interface IShareHelper
{
/**
* @param Node node
* @return array [ users ... |
/** 版本信息模板在安装目录下,可自行修改。
* OA_RISKEDURECEIVER.cs
*
* 功 能: N/A
* 类 名: OA_RISKEDURECEIVER
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2014/7/22 15:35:10 N/A 初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本... |
using PSA.DataModel;
namespace PSA.DataRepository
{
/// <summary>
/// Interface for data repository.
///
/// </summary>
public interface IDatabaseRepo
{
void SaveResult(PageSpeedData pData);
}
}
|
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (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 requi... |
using AutoMapper;
using Crt.Data.Database.Entities;
using Crt.Model;
using Crt.Model.Dtos.CodeLookup;
using Crt.Model.Dtos.Permission;
using Crt.Model.Dtos.Role;
using Crt.Model.Dtos.RolePermission;
using Crt.Model.Dtos.User;
using Crt.Model.Dtos.UserRole;
using Crt.Model.Dtos.ServiceArea;
using Crt.Model.Dtos.Region;... |
namespace HCL.Academy.Model
{
public class RegisterCandidateResponse
{
public int statusCode { get; set; }
public ResponseBody responseBody { get; set; }
}
public class ResponseBody
{
public string username { get; set; }
public string message { get; set; }
... |
using Student.Model;
using Student.Service.interfaces;
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Cors;
namespace Student.API.API
{
[EnableCors(origins: "*", headers: "*", methods: "*")]
public class ClassesController : ApiController
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Brachi.Personas.Business;
using Brachi.Personas.Business.Entity;
public partial class Clon : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NuGet.Frameworks;
using NuGet.Packaging.Core;
using NuGet.Protocol.Core.Types;
using NuGet.Versioning;
using Xunit;
namespace Client.V3Test
{
public class DependencyInfoTests : TestBase
... |
using UnityEngine;
using System.Collections;
public class SplashScreen : MonoBehaviour {
private float splashScreenWaitTime = 5f; // in seconds
private float gopherIntroductionWaitTime = 1f; // in seconds
// Use this for initialization
public AudioClip sound;
private AudioSource source;
// Use this for initi... |
using Finances.Common.Data;
using Finances.Common.Helpers;
using Finances.Core.Application.Interfaces;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BreakAway.Domain;
using Studentum.Infrastructure;
using Studentum.Infrastructure.Caching;
using Studentum.Infrastructure.Repository;
namespace BreakAway.Web
{
public class BreakAwayApplicationStarter : ApplicationStarterBas... |
namespace Client
{
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.... |
//-----------------------------------------------------------------------
// <Author = "Mohammad Reza" />
// <File = "WiXInstallerCreatorForm.cs" />
//-----------------------------------------------------------------------
namespace WiXInstallerCreator
{
using InternalToolsCommon.Forms;
using System;
using... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_System_Collections_Generic_List_1_UnityEngine_EventSystems_RaycastResult : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int construct... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Arrow : MonoBehaviour {
public Vector2 initialVelocity = new Vector2(500, 0);
public float timeElapsed;
private PlayerSpecial rangePwr;
private GameObject player;
private Rigidbody2D body2d;
void Aw... |
using CMS_Database.Entities;
using CMS_Database.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CMS_Database.Repositories
{
public class CTHoaDonRepository:GenericRepository<CTHoaDon>,ICTHoaDon
{
public IQueryabl... |
// dnlib: See LICENSE.txt for more info
using System;
using System.Diagnostics;
using System.Text;
namespace dnlib.DotNet {
/// <summary>
/// See CorHdr.h/CorCallingConvention
/// </summary>
[Flags, DebuggerDisplay("{Extensions.ToString(this),nq}")]
public enum CallingConvention : byte {
/// <summary>The mana... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TurnerSoftware.SitemapTools.Tests
{
[TestClass]
public class SitemapEntryTests
{
[TestMethod]
public void Equals_EqualSitemaps()
{
... |
using System;
using System.IO;
using ProtoBuf;
namespace PushoverQ.Protobuf
{
class BusProtobufSerializer : ISerializer
{
public void Serialize(object obj, Stream stream)
{
// ProtoBuf must have non-zero files
stream.WriteByte(42);
Serializer.S... |
/*
* 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.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
using Amazon;
using Amazon.S3;
using Amazon.S3.Model;
using Amazon.SimpleNotificationService;
using Amazon.SimpleNotificationService.Model;
// Assembly attribute to enable the Lambda function's J... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Xml.Linq;
namespace ArticleSubmitTool.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
var newEl = new XElement("Parent",
new XElement("Child",
... |
using System;
namespace l2p
{
class Program
{
static void Main(string[] args)
{
//l2p1.AverageTemp();
//l2p2.Mounth();
//l2p3.EvenNumber();
//
l2p4_v3.Fiscal();
//l2p5.MounthTemp();
//l2p6.lis... |
namespace PhonesStore.ViewModels
{
public class OperatingSystemViewModel
{
public string Name { get; set; }
public string Version { get; set; }
public string Manufacturer { get; set; }
public override int GetHashCode()
{
unchecked
{... |
using FundManagerDashboard.Core.DataServices;
using ReactiveUI;
namespace FundManagerDashboard.Core.ViewModels
{
public class SummaryTemplateViewModel : ReactiveObject, ISummaryTemplateViewModel
{
public SummaryTemplateViewModel(string summaryName, ITotalSummaryService servie)
{
Tit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataStructure
{
public class BinaryTreeNode
{
public BinaryTreeNode Parent { get; set; }
public BinaryTreeNode Left { get; set; }
public BinaryTreeNode Right ... |
using System.Text.Json.Serialization;
using PlatformRacing3.Common.PrivateMessage;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json;
internal sealed class JsonPmsOutgoingMessage : JsonPacket
{
private protected overrid... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WorldController : Singleton<WorldController> {
protected WorldController() {}
GameObject selectedObject;
Color naturalColor;
// Use this for initialization
void Start () {
naturalColor = Col... |
using SharpDX.Direct2D1;
using SharpDX.WIC;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModernCSApp.Renderers
{
public class Direct2DImageEncoder
{
private readonly Direct2DFactoryManager factoryMa... |
/* 03. Write a program that prints to the console which day of the week is today. Use System.DateTime. */
using System;
using System.Globalization;
class DayOfWeek
{
static void Main()
{
System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
DateTime weekDay = ne... |
//
// - PropertyNodeCollection.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.org... |
using System;
using System.Collections.Generic;
namespace RMAT3.Models
{
public class AuditHeader
{
public AuditHeader()
{
AuditDetails = new List<AuditDetail>();
}
public Guid ClientAuditId { get; set; }
public string AddedByUserId { get; set; ... |
//------------------------------------------------------------------------------
// 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.Collections.Generic;
namespace stottle_shop_api.Filters.Models
{
public class Filter : IFilter
{
public string Id { get; set; }
public string DisplayName { get; set; }
public string Code { get; set; }
public bool IsActive { get; set; }
public IEnu... |
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades
{
public class Marca
{
[CampoTabela("IDMARCA")]
[MaxLength(18)]
public decimal IDMarca { get; set; } = -1;
[CampoTabela("CODIGO")]
[MaxLength(40)]
public string Codigo { get; set; } = string.Empty;
[... |
using APIpoc.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APIpoc.Data
{
public interface IProduct
{
bool SaveChanges();
IEnumerable<TblProduct> GetAllProduct();
void CreateProduct(TblProduct product);
... |
using UnityEngine;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
[Serializable]
public class SaveState {
public List<int> highScores;
private int _version;
private const int CURRENT_VERSION = 1;
private const strin... |
using EmployeeStorage.DataAccess.Configuration;
using EmployeeStorage.DataAccess.Entities;
using EmployeeStorage.DataAccess.Interfaces;
namespace EmployeeStorage.DataAccess.Repositories
{
internal class PositionRepository : Repository<Position>, IPositionRepository
{
public PositionRepository(Employee... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class roadgame : MonoBehaviour
{
public GameObject[] tilePref;
private float SpawnZ=-3500;
private float tileLenght = 5000f;
private int roadscreen = 2;
private Transform Playertransform;
private List<GameObj... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace API
{
public class DSFactory
{
public static IDS GetInstance(string file)
{
string ext = Path.GetExtension(file);
... |
using UnityEngine;
using UnityEngine.Events;
namespace Architecture.ViewModel.Applicator
{
public class UnityEventIntApplicator : CompareApplicator<int>
{
[SerializeField] private UnityEvent<bool> _notifyCompare;
protected override void NotifyBool(bool value)
{
_notifyCompa... |
///<summary>
///Script Manager: Drake
///Description:
///Handles enemy movement AI, health, and score value.
///</summary>
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum eEnemyAIType
{
STATIC,
FOLLOW_PLAYER,
FOLLOW_WAYPOINT
};
[RequireC... |
using System;
namespace Reto_Semana_3_02
{
class Program
{
static void Main(string[] args)
{
//https://youtu.be/djUD5CW20kU
//Referencia del valor de cuota moderadora 2021
//https://www.minsalud.gov.co/sites/rid/Lists/BibliotecaDigital/RIDE/VP/DO... |
using FluentNHibernate.Mapping;
using Psub.Domain.Entities;
namespace Psub.DataAccess.Map
{
public class PublicationCommentMap : ClassMap<PublicationComment>
{
public PublicationCommentMap()
{
Id(m => m.Id);
Map(m => m.Text).CustomType("StringClob").Not.Nullable();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Final_ConnectFour
{
public class Cell
{
public int X { get; }
public int Y { get; }
public bool IsPlaced { get; private set; } = false;
// The default v... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using TheMinepack.Items;
namespace TheMinepack.Items.Weapons {
public class StarrySky : ModItem
{
public override bool Autoload(ref... |
using TreeStore.Model.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace TreeStore.Model.Test
{
public class EntityBaseTest
{
public static IEnumerable<object[]> GetEntityBaseInstancesForInitzialization()
{
yield return new Entity().Yiel... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using ERP_Palmeiras_LA.Models.Facade;
using ERP_Palmeiras_LA.Models;
namespace ERP_Palmeiras_LA.WebServices
{
/// <summary>
/// Summary description for InfoPagamentoWS
/// </summary>
[WebSer... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnimalGame
{
class Store
{
private bool _purchasedItem;
public List <Item> SetupShop()
{
Item atkBuff = new Item("Attack Buff", 5, 1,... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using System;
namespace IJFinalProject.GameScenes
{
/// <summary>
/// This is action scene for the game.
/// </summary>
... |
namespace Mediati.Core.Events
{
/// <summary>
/// Tag that designates that a command or query triggers an event
/// </summary>
/// <typeparam name="TEvent">The event type to be created from the triggering message</typeparam>
/// <typeparam name="TMessageReturn">The return type of the message that tr... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace Dnn.PersonaBar.Recyclebin.Components.Dto
{
public class UserItem
{
public int Id { get; set; }
public int PortalId { ... |
using System;
namespace Number0to9toText
{
class Number0to9toText
{
static void Main(string[] args)
{
byte theNumber;
theNumber = byte.Parse(Console.ReadLine());
if(theNumber == 0)
{
Console.WriteLine("zero");
}
... |
using Our.Umbraco.Ditto;
using Umbraco.Core.Models;
using Umbraco.Web;
namespace DittoDemo
{
public static class DitFloViewModelExtensions
{
public static IPublishedContent HomePage(this IDittoViewModel model)
{
return model.CurrentPage.AncestorOrSelf(1);
}
}
}
|
using CodeOwls.PowerShell.Provider;
using TreeStore.Model;
using System;
using System.Management.Automation;
namespace TreeStore.PsModule
{
public class TreeStoreDriveInfo : Drive, IDisposable
{
public TreeStoreDriveInfo(PSDriveInfo driveInfo, ITreeStorePersistence persistence) : base(driveInfo)
... |
using ServerKinect.Shape;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServerKinect.Clustering
{
public class KMeansClusterFactory : IClusterFactory
{
private KMeans algorithm;
private IClusterMergeStrategy mergeStrategy;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Reflection;
using System.Windows;
using System.Windows.Input;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Master.Contract;
namespace Master.Contract
{
public class Port:IContract
{
public Port() { }
public string PortCode { get; set; }
public string PortName { get; set; }
public string CountryCode { get... |
using System;
using Foundation;
using WebKit;
using UIKit;
using Xam.Plugin.WebView.Abstractions;
using Xamarin.Forms;
namespace Xam.Plugin.WebView.iOS
{
public class FormsNavigationDelegate : WKNavigationDelegate
{
readonly WeakReference<FormsWebViewRenderer> Reference;
public FormsNavigati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class EasyRestarter : MonoBehaviour
{
private float timeRestartButtonHasBeenPressed = 0;
public float timeNeeded = 3.0f;
private void Update()
{
if (Input.GetKey(KeyCode.Escape))
{
time... |
using CustomerManagement.Application.DTOs;
using CustomerManagement.Application.Interfaces;
using CustomerManagement.Infrastructure.CrossCuting.Extensions;
using System.Net.Http;
using System.Threading.Tasks;
namespace CustomerManagement.Application.Services
{
public class CepService : ICepService
{
p... |
using UnityEngine;
using System.Collections;
public class GeneradorTuberias : MonoBehaviour {
public GameObject prefabTuberias;
public float tiempoEntreTuberias = 3.5f;
void Start () {
InvokeRepeating("CrearTuberia",0,tiempoEntreTuberias);
}
void Update () {
if(GameManager.gameOver){
CancelInvo... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using FantasyStore.Domain;
using FantasyStore.Infrastructure;
using FantasyStore.WebApp.Extensions;
using FantasyStore.WebAp... |
using UnityEngine;
using System.Collections;
public class PlayerID : MonoBehaviour {
public int id = 1;
// Use this for initialization
void Awake () {
gameObject.BroadcastMessage ("setId", id);
}
}
|
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System;
using ValidationExperiments.Core.Entities;
using ValidationExperiments.Core.Interfaces;
namespace ValidationExperiments.Persistence
{
public partial class AppDbContext : DbContext, IAppDbContext
{
private read... |
using System;
using FluentAssertions;
using NUnit.Framework;
using Simplist.Cqrs.Core;
namespace Simplist.Core
{
[TestFixture]
public class SmokeTest
{
private Burner _burner;
[SetUp]
public void Setup()
{
_burner = new Burner();
}
[Test]
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace bitirme.Models
{
public class sehir
{
[Key]
public int sehirID { get; set; }
public string seh... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class SemanticException : Exception
{
string m;
public SemanticException (string message)
{
m = message;
}
public override string ToString()
{
return m;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xadrez.TabuleiroEntities;
namespace Xadrez.PecasXadrez
{
class Peao : Peca
{
public Peao(Tabuleiro tabuleiro, Cor cor, PartidaXadrez partida) : base(tabuleiro, cor)
{
... |
using System;
namespace Faust.PetShopApp.WebApi.Dto
{
public class PetDto
{
public int Id { get; set; }
public string Name { get; set; }
public String PreviousOwnerName { get; set; }
}
} |
using System.Collections.Generic;
using DnDPlayerCompanion.Enums;
namespace DnDPlayerCompanion
{
public abstract class BaseRace
{
public Dictionary<AbilityEnum, int> AbilityMods { get; set; }
public Size Size { get; set; }
public int Speed { get; set; }
public List<Language> La... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.