text stringlengths 13 6.01M |
|---|
using System;
using HarmonyLib;
namespace ValheimDiyagi
{
/// <summary>
/// Hooks some Private Methods from ZRoutedRpc.
/// </summary>
[HarmonyPatch(typeof(ZRoutedRpc))]
public class HookZRoutedRpc
{
[HarmonyReversePatch]
[HarmonyPatch(typeof(ZRoutedRpc), "GetServerPeerID",... |
using System.Data.Entity;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace MManatee.Models
{
// Chcete-li přidat data profilu pro uživatele, můžete přidat další vlastnosti ke třídě ApplicationUser. Další informa... |
using System;
using System.IO;
using TechTalk.SpecFlow;
using Vantage.Automation.VaultUITest.Context;
using Vantage.Automation.VaultUITest.Helpers;
using Vantage.Automation.VaultUITest.Steps;
namespace Vantage.Automation.VaultUITest.Hooks
{
[Binding]
public class ScenarioHooks : BaseSteps
{
privat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSoundManagement : MonoBehaviour
{
public AudioClip jumpSoundClip;
public AudioClip moveSoundClip;
private AudioSource jumpSoundSource;
private AudioSource moveSoundSource;
// Start is called before ... |
using System;
using System.Collections;
using System.IO;
using System.Threading;
using SenticsLib;
namespace SCII
{
public class PlayListEntry
{
public PlayListEntry(string fileName, int afterPlayPauseInSeconds)
{
SongFileName = fileName;
AfterPlayPauseInSeconds = afterP... |
using Microsoft.AspNetCore.Mvc;
using Dealership.Models;
using System.Collections.Generic;
namespace DealerShip.Controllers
{
public class CarsController : Controller
{
[HttpGet ("/cars")]
public ActionResult Index()
{
List<Cars> allCars = Cars.ShowCars();
return... |
#region Copyright Syncfusion Inc. 2001 - 2015
// Copyright Syncfusion Inc. 2001 - 2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// app... |
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class DungeonStates
{
public enum States{
PREPARE,
FIGHT,
EXPLORE,
END,
ENTERING
}
public States State;
public DungeonStates ()
{
}
}
|
using System;
using System.Collections.Generic;
#if NETFX_CORE
using Windows.UI.Popups;
using Windows.Foundation;
#endif
namespace WPFBase.ViewModel
{
public abstract class ViewModelBase : GalaSoft.MvvmLight.ViewModelBase, IViewController, IProcessIndicator
{
#region IProcessIndicator
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pistol : MonoBehaviour
{
//Busqueda del objeto Pistola y del controlador de las armas.
GameObject pistol; //Variable para guardar el objeto Pistola.
WeaponManager pistolParameters; //Variable para guardar la refere... |
using Csv.Resources;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Csv
{
public class CsvReader : IDisposable
{
private const int DefaultBufferSize = 1024;
private const int DefaultFileBufferSize = 4096;
private ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WPFTestProject.Domain;
using WPFTestProject.Service;
namespace UnitTestProject
{
// unitest cannot connect to db
// need to ... |
using Microsoft.AspNetCore.Identity;
namespace GUIEX2PROJECT.Models
{
public enum EmployeeEnum
{
Admin,
Waiter,
Receptionist,
Chef
}
public class Employee : IdentityUser
{
public string EmployeeId { get; set; }
public EmployeeEnum EmployeeType { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FrbaCommerce.Modelo;
using FrbaCommerce.Conexion;
using System.Data.SqlClient;
using System.Data;
namespace FrbaCommerce.DAO
{
class DaoEstadoPublicacion
{
private static List<EstadoPublicacion> estados;
... |
using Microsoft.EntityFrameworkCore;
using RepositoryPattern.Domain.Interfaces;
using RepositoryPattern.Repository.Base.Interfaces;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RepositoryPattern.Repository.Base
{
public abstract class IdentifiableRepositoryBase<TEnt... |
using System;
namespace App1.Interface
{
public interface IMememoryInfo
{
float GetMemory();
}
}
|
using System;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace LandingRangeViewer
{
public partial class LandingRangeViewer : Form
{
LandingRange landingrange = new LandingRange();
int flag_LaunchPoint = 999;
int flag_LandingStatus = 0;
public LandingRangeViewer()
... |
using System;
using Xamarin.Forms;
using City_Center.Clases;
using City_Center.ViewModels;
using City_Center.Page.SlideMenu;
using City_Center.PopUp;
namespace City_Center.Page
{
public partial class MasterPage : MasterDetailPage
{
private InicioContent page1 = new InicioContent();
private Cas... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace AvaliacaoFinalCSharp.Features.Scrape
{
public class ScrapeService : IScrapeService
{
private readonly IInternetScraper... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Net;
using System.Xml;
namespace createTargetAndAddToSegment
{
internal class Program
{
private static void Main(string[] args)
{
// Changez le Path pour correspondre à la destination de ... |
using Cinema.Data.Models;
using Cinema.Data.Services.Contracts;
using Moq;
using NUnit.Framework;
using System;
using System.Web.UI;
namespace Cinema.Tests.PresentersTests.MoviePresenters.AddMoviePresenter
{
[TestFixture]
public class CreateMovieShould
{
[Test]
public void CallMoviesServic... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
namespace ProjectEuler
{
class Program
{
static void Main(string[] args)
{
var cont... |
using IndependienteStaFe.Services;
using Xamarin.Essentials;
using IndependienteStaFe.Views;
using Xamarin.Forms;
namespace IndependienteStaFe
{
public partial class App : Application
{
public static bool IsUserLoggedIn { get; set; }
public App()
{
InitializeComponent();
... |
/**
*
* name : Doctor.cs
* author : Aleksy Ruszala
* date : 29/04/2019
*
* */
namespace Application.Data.Models
{
/// <summary>
/// This class representing model for player doctor
/// </summary>
public class Doctor
{
//Primary
public int Id { get; s... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Aroma_Violet.Models;
namespace Aroma_Violet.Controllers
{
public class AddressesController : Controller
... |
using SQLite;
using System;
using System.Collections.Generic;
using System.Text;
namespace mytry.Models
{
public class Volunteer
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string Name { get; set; }
public string Password { get; set; }
... |
namespace Csv
{
/// <summary>
/// Not Implemented
/// </summary>
internal class CsvSettings
{
}
} |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using System.Collections.Generic;
using System;
using System.IO;
using System.Linq;
using System.Drawing;
using System.Threading;
public delegate void PauseStateChanged(bool isPaused);
public class ScenarioManager : MonoBehaviour {
... |
/* TRexKingBurger.cs
* Author: Ben Hartman
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace DinoDiner.Menu
{
/// <summary>
/// Class to represent the TRexKingBurger entree.
/// </summary>
public class TRexKingBurger : Entree, IMenuItem, IOr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AntColony
{
public abstract class AntState
{
protected Antenna[] antennas;
protected Transform transform;
protected NavMeshAgent moveControl;
protected Colony colony;
protected Ant ... |
/*
* Copyright 2014 Technische Universitšt Darmstadt
*
* 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 appli... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DbInstancesControllerTest.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ----------------------------------------------------------------------... |
using System.Data;
Public Class SongMethods
Public DataSet GetAllSongs(string file)
{
String a = "martin is gay";
}
End Class
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PayRoll.BLL
{
public class DeleteEmployeeTransaction:Transaction
{
private readonly int id;
public DeleteEmployeeTransaction(int id, PayrollDatabase database): base(database)
{
... |
namespace Self_Serve
{
public class Appetizer : Orderable_Item
{
public Appetizer(string name, double price)
{
this.name = name;
this.Cost = price;
}
}
}
|
using BusinessLaag.irepositories;
using BusinessLaag.models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DataLaag.repositories
{
public class ContinentRepo : IContinentRepo
{
private DataContext DataContext;
public ContinentRepo(DataContext ... |
using System;
class Program
{
public static void Main()
{
int num = int.Parse(Console.ReadLine());
int biggestNum = int.MinValue;
for (int i = 0; i < num; i++)
{
int entryNum = int.Parse(Console.ReadLine());
if (entryNum > biggestNum)
bi... |
using UnityEngine;
using System.Collections.Generic;
using System;
public class saveManager : MonoBehaviour {
public void salva(string key, string dado){
byte[] toBytes = GetBytes(dado);
string tempcode = Convert.ToBase64String(toBytes);
PlayerPrefs.SetString(key, tempcode);
Debug.Log("saving...");
PlayerP... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//display a line given in inspector fade in and out
public class DisplayLine : MonoBehaviour
{
public Text displayText;
public float displayTime;
public int repeatNum;
public string line;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business.Workflow;
namespace eIVOGo
{
public partial class login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using Turnamentor.Interfaces;
using System.Linq;
namespace Turnamentor.CLI.Tests
{
class Engine : IGameEngine<IContestant, (IContestant, int)>
{
public (IContestant, int) Play(IList<IContestant> contestants)
{
retur... |
namespace RestaurantManager.Models
{
public enum MetricUnit
{
Grams,
Milliliters
}
}
|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace FeelingGoodApp.Models
{
public class IndexViewModel
{
//public IndexViewModel(string name, string address, int radius, string type, string query, int age, float height_cm, float weight_kg, string... |
using System;
class MainClass
{
static void Main ()
{
Console.Write ("Enter a number in range [0...999]: ");
int number = int.Parse (Console.ReadLine ());
Console.WriteLine (NumberAsWord (number));
}
private static string NumberAsWord (int number)
{
if (number > 99) {
return Hundreds (number);
} el... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nim
{
class PossibleMove
{
public PossibleMove() { }
public PossibleMove(int rowNum, int removeAmt)
{
Row = rowNum;
NumberToRemove = rem... |
using CleanArchitecture.Application.Services;
using CleanArchitecture.Core.Interfaces.Repositories;
using CleanArchitecture.Core.Interfaces.Services;
using CleanArchitecture.InfraStructure.Persistence.Repositories;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using Sy... |
using UnityEngine;
using System.Collections;
public class KeepDistanceWithPlayer : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
GameObject player = GameObject.FindGameObjectWithTag ("Player");
Vector2 position = transform.position;
... |
using Microsoft.Xna.Framework;
using System;
namespace GameLib
{
public struct Index2
{
public int X;
public int Y;
public Index2(int x, int y)
{
X = x;
Y = y;
}
public Index2(Vector2 first)
{
X = (int)first.X;
... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using System;
namespace EnhancedEditor {
/// <summary>
/// <see cref="SeparatorAttribute"/>-related draw position.
/// </su... |
using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Linq;
using FinanceBot.Models.EntityModels;
using FinanceBot.Models.Repository;
using Telegram.Bot;
using Telegram.Bot.Types;
using FinanceBot.Models.CommandsException;
using FinanceBot.Views.Update;
namespace FinanceBot.Mo... |
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter08.Listing08_13
{
using System;
using System.Diagnostics;
public class Program
{
public static void Main()
{
ThreadPriorityLevel priority = (ThreadPriorityLevel) Enum.Parse(
typeof (ThreadPriorityLevel... |
using System.Net;
using Newtonsoft.Json;
using Xunit;
using StudentExercises.Models;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
namespace TestStudentExercises
{
public class TestStudent
{
[Fact]
public async Task ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainGhostSpawner : MonoBehaviour {
Animator ghost_animator;
[SerializeField]
ObjectSpawner _ghostGenerator;
// Use this for initialization
void Start () {
ghost_animator = GetComponent<Animator>();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows;
using System.Globalization;
namespace VKDesktop.Models.Converters
{
public class VisibilityConverter : IValueConverter
{
public object Co... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActiveSelect : MonoBehaviour {
void Start () {
}
void Update () {
}
public void Active(string beforeName, string newName)
{
gameObject.transform.FindChild(beforeName).gameObject.SetActive(false);
... |
using SEDC.PracticalAspNet.Data.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SEDC.PracticalAspNet.Data.Repository
{
public class ItemsRepository : BaseRepository, IRepository<Item>
{
public Item Create(Item item)
... |
using System;
using System.Runtime.InteropServices;
using System.Drawing;
namespace SerialDevicesWin.Helpers
{
public class WinAPI
{
public struct RECT
{
public int left;
public int top;
public int right;
public int bottom;
public ov... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Collections;
using HSoft.SQL;
using Obout.Grid;
using Obout.ComboBox;
using HSoft.ClientManager.Web;
public partial class Pages_Survey : System.... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CarWash.ClassLibrary.Models
{
/// <summary>
/// Database representation of a time blocker object.
/// Blockers are used by the CarWash to block out time (eg. on holidays or when they ar... |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
using System;
using System.ComponentModel;
using System.Collections;
... |
using Google.Apis.Auth.OAuth2;
using Google.Apis.Sheets.v4;
using Google.Apis.Sheets.v4.Data;
using Google.Apis.Services;
using Google.Apis.Util.Store;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using DiscordBotTest.Models.Floorball;
using System.Linq;
namespace DiscordBo... |
namespace CMS_Database.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("ThanhPham")]
public partial class ThanhPham
{
[System.Diag... |
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TestApplicationDomain;
using TestApplicationDomain.DTO;
using TestApplicationDomain.DTO.Request;
using TestApplicationDomain.DTO.Response;
using TestApplicationDomain.DynamicQuery;
using TestApplica... |
using System;
using System.Collections.Generic;
using System.Text;
using ENTITY;
//<summary>
//Summary description for AdvancePaymentInfo
//</summary>
namespace ENTITY
{
public class AdvancePaymentInfo
{
private decimal _advancePaymentId;
private decimal _employeeId; ... |
#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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerCup150.Chapter3_StacksAndQueues
{
public class _03_06_SortStack
{
/*
Write a program to sort a stack in ascending order. You should not make any assumptions about how
the stack is i... |
namespace Utils {
public class Constants {
public static string connectionString = "server=quilla.lab.inf.pucp.edu.pe;" + "user=inf282g3;" + "database=inf282g3;" + "port=3306;password=H9u1oC;SslMode=none;" + "";
public static string CurrentUserText { get; set; }
public static string Curren... |
using System;
using System.Linq;
namespace biz.dfch.CS.LogShipper.Core
{
public class LogBase
{
protected static readonly log4net.ILog Log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public static void WriteException(Exception ex)
{
... |
using AppDuoXF.Interfaces;
using AppDuoXF.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AppDuoXF.Fakes
{
public class StoriesServiceFake : IStoriesService
{
public async Task<IList<StoriesGroup>> GetStories()
{
re... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsultingManager.Dto
{
public class CustomerTaskDto
{
public Guid Id { get; set; }
public string Description { get; set; }
public string Instructions { get; set; }
public int Duration { get; set; }
... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using lianda.Component;
namespac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.PropertyEd... |
using UnityEngine;
using System.Collections;
public class BlinkText : MonoBehaviour {
public float interval = 0.5f;
// Use this for initialization
void Start () {
InvokeRepeating ("toggleActive", 0, interval);
}
// Update is called once per frame
void Update () {
}
void toggleActive(){
gameObject.Set... |
#region 版本说明
/*****************************************************************************
*
* 项 目 :
* 作 者 : 冯兴彬
* 创建时间 : 2010-5-13 14:41:51
*
* Copyright (C) 2008 - 鹏业软件公司
*
*****************************************************************************/
#endregion
using System;
using System.Collect... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApplication1
{
public class Report1Row
{
public string Knjiga { get; set; }
public string Korisnik { get; set; }
public int Kolicina { get; set; }
public float Cijena { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntidadesMascotas
{
public enum TipoManada { Unica,Mixta};
public class Grupo
{
private List<Mascota> _manada;
private string _nombre;
private static Tip... |
using InterviewTestTemplatev2.Data;
using InterviewTestTemplatev2.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace InterviewTestTemplatev2.Services.Repostiories
{
public interface IHrEmployeesService : ISynetecService<HrEmployee>
{
IEnumerabl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Avago.WSD.ClothoCommonLib.Algos.FBar.YuHan
{
/// <summary>
/// Dummy class with dummy algo method to demo how a library should looks like
/// </summary>
public class ExampleLi... |
using UnityEngine;
using System.Collections.Generic;
using ActorsState;
public class SORO_GameScene : MonoBehaviour
{
private GameObject[] _playerObjects;
private PlayerBehaviour _playerBehave;
private GameObject[] _enemyObjects;
private EnemyBehaviour _enemyBehave;
private List<Actors... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using SmallHouseManagerDAL;
using SmallHouseManagerModel;
namespace SmallHouseManagerDAL
{
public class HomeParkDAL
{
public List<HomeParkModel> GetAllHome... |
using Portal.repo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Configuration;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Portal
{
public partial class userProfile : System.Web.UI.Page
{
protected usersRepo usersRepos;
... |
using DevExpress.XtraEditors;
using DevExpress.XtraRichEdit.API.Native;
using MetroFramework;
using PDV.CONTROLER.Funcoes;
using PDV.DAO.DB.CriptografiaMD5;
using PDV.DAO.DB.Utils;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
namespac... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSoundsScript : MonoBehaviour
{
public AudioSource audioSource;
public AudioClip walking;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Users_Aprrove : System.Web.UI.Page
{
int aucid, userid, bidid;
protected void Page_Load(object sender, EventArgs e)
{
aucid = Convert.ToIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MobilePhone
{
public class GSMTest
{
public static void StartGSMTest()
{
//creating GSM objects
GSM[] gsmArray =
{
new G... |
using UnityEngine;
using System.Collections;
public class FieldSet : MonoBehaviour {
// {x,y,r}
//private float[][] form = {{0,0,0},{87,0,0}};
private float[,] form = new float[,] {
{-10, 0, 0},
{82.5f, 135, 180},
{-45, 123, 90},
{-71, -35, 90} };
private float[,] dLight = new float[,] {
{35, 0, 18... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Figuras.Entidades.Enums
{
enum Cor : int
{
Preto = 0,
Azul = 1,
Vermelho = 2
}
}
|
using ServiceDesk.Api.Systems.RequestSystem.Dtos.RequestAttachment;
namespace ServiceDesk.Api.Systems.RequestSystem.DtoBuilders.RequestAttachment
{
public class RequestAttachmentDtoBuilder : IRequestAttachmentDtoBuilder<RequestAttachmentDto>
{
public RequestAttachmentDto Build(Core.Entities.RequestSys... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RoadCreate : MonoBehaviour {
//预制体 坡
public GameObject Slope;
//预制体 坑
public GameObject Hollow;
//预制体 障碍物1
public GameObject Obstacle1;
//预制体 障碍物2
public GameObject Obstacle2;
//生成基准点
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace BaseVisitCore.Controllers
{
public abstract class BaseController : Controller
{
protected long ContactID
{
get
{
... |
using MediatR;
namespace FindSelf.Application.Users.CreateUser
{
public class CreateUserCommand : IRequest<UserDTO>
{
public string UserNickname { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SolidPrinciples.OCP
{
public class DiscountCalculator
{
List<IDiscountCalculate> _discountService;
public DiscountCalculator()
{ _discountS... |
namespace Requestrr.WebApi.config
{
public class ApplicationSettings
{
public int Port { get; set; }
public string BaseUrl { get; set; }
public bool DisableAuthentication { get; set; }
}
} |
namespace _7.FoodShortage.Models
{
public interface IIhabitant : IBuyer
{
string Name { get; }
int Age { get; }
}
} |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_RenderTextureDescriptor : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int constructor(IntPtr l) {
try {
#if DEBUG
... |
using System;
namespace App1.Interface
{
public interface INotification
{
void Start();
void Show(string sTitle, string sMessage);
void NotificationOffAll();
void NotificationVersionOff();
}
}
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ApplicationsFileImporter.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------... |
using System.Linq;
using System;
namespace cs_calc
{
class VowelCalculator
{
static string GetInput()
{
string inputString;
do
{
Console.WriteLine("Please enter a string:");
inputString = Console.ReadLine();
if ... |
namespace XShare.WebForms.Reservations
{
using System;
using System.Linq;
using System.Web.UI.WebControls;
using Ninject;
using XShare.Data.Models;
using XShare.Services.Data.Contracts;
using XShare.WebForms.Controls.Notificator;
public partial class Make : System.Web.UI.Page
{
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Charts.ViewModel
{
public class TestViewModel
{
public ObservableCollection<TestClass> Errors { get; private set; }
public TestVi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.