text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Text;
using Models;
namespace BLL.Interface
{
public interface IQuanTriBusiness
{
public List<GIANGVIEN> DangNhapGiangVien(int role, string un, string pas);
public List<SINHVIEN> LayDSSVTheoMaLopChuyenNganh(int ki, string malop);
... |
using System.Threading.Tasks;
using Archimedes.Library.Message.Dto;
using Microsoft.AspNetCore.SignalR;
namespace Archimedes.Service.Ui.Hubs
{
public class PriceHub : Hub<IPriceHub>
{
public async Task Add(PriceDto value)
{
await Clients.All.Add(value);
}
public as... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DB_Test.Domain
{
public class Person
{
private string firstName;
private string lastName;
private string iD;
private string nID;
private DateTim... |
namespace Epsagon.Dotnet.Core.Configuration {
public interface IEpsagonConfiguration {
string Token { get; }
string AppName { get; }
bool MetadataOnly { get; }
bool UseSSL { get; }
string TraceCollectorURL { get; }
string OpenTracingCollectorURL { get; }
bool ... |
namespace BankClassLib
{
class CheckingAccount : Account
{
public CheckingAccount(int accountNumber, string name)
{
this.AccountNumber = accountNumber;
this.Name = name;
this.AccountType = AccountType.CheckingAccount;
}
public override void C... |
using System.Data.Common;
using FastSQL.Sync.Core.Enums;
using FastSQL.Sync.Core.Models;
namespace FastSQL.Sync.Core.Repositories
{
public class ConnectionRepository : BaseGenericRepository<ConnectionModel>
{
public ConnectionRepository(DbConnection connection) : base(connection)
{
... |
/*
* 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 ... |
using System.Collections.Generic;
namespace Enrollment.Parameters.Expressions
{
abstract public class FilterMethodOperatorParametersBase : IExpressionParameter
{
public FilterMethodOperatorParametersBase()
{
}
public FilterMethodOperatorParametersBase(IExpressionParameter sour... |
using System;
using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Extensions;
using MyCompanyName.AbpZeroTemplate.Card;
#region 代码生成器相关信息_ABP Code Generator Info
//你好,我是ABP代码生成器的作者,欢迎您使用该工具,目前接受付费定制该工具,有需要的可以联系我
//我的邮箱:wer... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Project_Workflow_Engine
{
public class CallWebServide : IWorkFlow
{
public void Execute()
{
Console.WriteLine("Calling web service...");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atendimento_V2
{
class Guiche
{
//atributos
private int id;
private Queue<Senha> atendimentos;
//Propriedades getter e setters
p... |
using Android.Content;
using Android.Widget;
using Android.Util;
using Ts.Core.Containers;
using Microsoft.Practices.ServiceLocation;
namespace Ts.Core.Popups
{
public class DialogContent : TextView, IDialogContent
{
private Context _context;
//private TextView _textContent;
private s... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Collections;
/// <summary>
/// A class that creates the end game screen and exits it.
/// </summary>
public class GameOver : MonoBehaviour {
/// <summary>
/// The text object in the Game Over scene.
/// </summary>
public Game... |
using System;
using System.Collections.Generic;
using System.Drawing;
public class RegularPolygon : Poligon
{
private int count;
public RegularPolygon(int count)
{
this.count = count;
}
public override void dragOnCreate(Point startPoint, Point secondPoint)
{
base.move(startPo... |
namespace Contoso.Parameters.Expressions
{
public class OrBinaryOperatorParameters : BinaryOperatorParameters
{
public OrBinaryOperatorParameters()
{
}
public OrBinaryOperatorParameters(IExpressionParameter left, IExpressionParameter right) : base(left, right)
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Quartz.Spi;
using Quartz;
using Ninject.Activation;
namespace MvcApplicationWithNinjectAndQuartz.App_Quartz
{
public class QuartzSchedulerProvider : Provider<IScheduler>
{
private readonly IJobFactory jobFactory... |
using DG.Tweening;
using PurificationPioneer.Global;
using PurificationPioneer.Network.Proxy;
using UnityEngine;
using UnityEngine.UI;
namespace PurificationPioneer.Script
{
public class HeroChooseTimerUi : MonoBehaviour
{
public RectTransform timerObj;
public Text timerText;
public Bu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.BackgroundJob
{
public interface IJob : Quartz.IJob
{
/**
* Run the background job with the registered argument
*
* @param \OCP\BackgroundJob\IJobList jobList The job list that manages the state of this job
* @par... |
using System;
using System.Windows.Forms;
using Ego.PDF.Data;
using Ego.PDF.Samples;
namespace Ego.PDF.WindowsFormsTest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
... |
using System;
using System.Data;
using System.Text;
using System.Data.OracleClient;
using Maticsoft.DBUtility;//Please add references
namespace PDTech.OA.DAL
{
/// <summary>
/// 数据访问类:ARCHIVE_PROJECT_MAP
/// </summary>
public partial class ARCHIVE_PROJECT_MAP
{
public ARCHIVE_PROJECT_MAP()
{}
#region Basi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EatDrinkApplication.Models
{
public class Foods
{
public int FoodsId { get; set; }
public Recipe[] Property1 { get; set; }
}
public class Recipe
{
public int RecipeId... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Windows.UI.Popups;
using Stock_Management.Model;
using Stock_Management.Viewmodel;
using Windows.UI.Xaml;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
using TMPro;
using UnityEngine.SceneManagement;
[System.Serializable]
public class EndCutscene {
[TextArea(3, 10)]
public string sentence;
}
public class End : MonoBehaviour {
//cutscenes
public EndCutscene[] c... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using CRVCManager.DataModels;
using CRVCManager.Utilities;
namespace CRVCManager
{
/// <summary>
/// Interaction logic for SaleWindow.xaml
/// </summa... |
using JIoffe.PizzaBot.Model;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.AI.Luis;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
using PizzaBot.Accessors;
using PizzaBot.States;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
na... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Assets.Scripts.Managers;
using Assets.Scripts.Interfaces;
using UnityEngine.UI;
namespace Assets.Scripts
{
public class Bootstrapper : MonoBehaviour
{
IUpdateManager _updateManager;
IControlManager _controlMan... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CheckMySymptoms.Forms.Parameters.Common
{
public enum DetailItemEnum
{
Field,
Group,
List
}
}
|
using System;
using System.Collections.Generic;
using System.Reflection;
namespace DependencyInjectionContainer.Container
{
public class DiContainer
{
private readonly Dictionary<Type, Type> _types = new Dictionary<Type, Type>();
public void Register<TInterface, TClass>()
{
... |
namespace Aqueduct.SitecoreLib.Search.Parameters
{
public class FieldSearchParam : SearchParam
{
public string FieldName { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScoreManager : MonoBehaviour {
/*
* So what's a Score Manager do?
* Well, keeps track of the score, of course!
* It has to be able to respond to the following messages:
* -AddRuns() by a boundary or housefront collid... |
// Phạm Mạnh Hùng - 20194293
using System;
using System.Collections.Generic;
using DTO;
namespace DAL
{
/// <summary>
/// Class khởi tạo và lưu trữ dữ liệu về khách hàng
/// </summary>
public class KhachHangDAL
{
private List<KhachHangDTO> _dsKhachHang;
/// <summary>
... |
// (C) 2012 Christian Schladetsch. See http://www.schladetsch.net/flow/license.txt for Licensing information.
using System;
using System.Diagnostics;
namespace Flow
{
/// <summary>
/// TODO: delta-capping, pausing, introduction of zulu/sim time differences
/// </summary>
internal class TimeFrame : ITimeFrame
{
... |
using System.ComponentModel.DataAnnotations;
using CourseLibrary.API.ValidationAttributes;
namespace CourseLibrary.API.Models.Courses
{
[CourseTitleMustBeDifferentFromDescription(ErrorMessage = "Title must be different from description")]
public abstract class CourseForManipulationDto
{
[Required(... |
using System.Collections.Generic;
using UnityEngine;
public class Sounds_Scriptable : ScriptableObject {
public List<string> vSoundsClip;
#if UNITY_EDITOR
private void Awake() {
AudioClip[] vAudioClips = Resources.LoadAll<AudioClip>( "Audio/Sounds");
vSoundsClip = new List<string>();
foreach( Aud... |
using System;
using System.Text.RegularExpressions;
class SubStringInText
{
//Write a program that finds how many times a sub-string is contained in a given text (perform case insensitive search).
static void Main(string[] args)
{
Console.Write("Enter some text: ");
string text = Console... |
// File initially copied from
// https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/4d9b3e3bb785a55f73b3029a843f0c0b73cc9ea7/StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/Helpers/FixAllContextHelper.cs
// Original copyright statement:
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
//... |
using Paylocity.Models;
namespace Paylocity.Benefits.CostStrategies
{
public class SingleEmployeeStrategy : IBenefitsCostStrategy
{
private readonly IConfiguration _configuration;
public SingleEmployeeStrategy(IConfiguration configuration)
{
_configuration = configuration;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using System.Net.Http;
using Newtonsoft.Json.Linq;
using InfiniteMeals.Kitchens.Model;
using System.Collections.ObjectModel;
using System.Globalization;
using InfiniteMeals.Refund;
u... |
using System;
using System.Collections.Generic;
using System.IO;
using Windows.Storage;
using Windows.Storage.Pickers;
using Windows.UI.Xaml.Controls;
using Syncfusion.Drawing;
using Syncfusion.Pdf;
using Syncfusion.Pdf.Graphics;
namespace kassasysteem.Classes
{
internal class CreatePrintPdf
{
public ... |
using Dapper;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
using static HelperLibrary.Tools;
using System.Text;
using System.Threading.Tasks;
using ConnectLibrary.Logger;
using ConnectLibrar... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Web;
using DotNetNuke.Common;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Controllers;
using ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BlackJack
{
class Game
{
private IBlackjackPlayer PlayerOne;
private IBlackjackPlayer PlayerTwo;
private Deck Deck;
public void StartNewGame()
{
PlayerOne = new... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KPI.Model.EF
{
public class LateOnUpLoad
{
[Key]
public int ID { get; set; }
public int UserID { get; set; }
... |
using System;
public class Program
{
public static void Main()
{
var typeOfDay = Console.ReadLine();
var clientAge = int.Parse(Console.ReadLine());
var ticketPrice = 0;
if (clientAge < 0 || clientAge > 122)
{
Console.WriteLine("Error!");
return;... |
/*
>>>----- Copyright (c) 2012 zformular ----->
| |
| Author: zformular |
| E-mail: zformular@163.com |
| Date: 9.27.2012 |
| |
╰==========================... |
using MvvmCross.Platform.Plugins;
namespace EsMo.Android.WeiBo.Bootstrap
{
public class MessengerPluginBootstrap
: MvxPluginBootstrapAction<global::MvvmCross.Plugins.Messenger.PluginLoader>
{
}
} |
using Newtonsoft.Json;
namespace Breezy.Sdk.Payloads
{
internal class FileInfoMessage
{
[JsonProperty("friendly_name")]
public string FriendlyName { get; set; }
[JsonProperty("file_size")]
public int FileSize { get; set; }
[JsonProperty("file_type")]
public st... |
namespace Kers.Models.Entities.KERScore
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.IO;
using System.Runtime.Serialization;
using Newtonsoft.Json;
/// <summary>
/// Th... |
using UnityEngine;
namespace Game
{
public enum UiAction
{
Start,
Exit,
Credits,
Settings,
CanvasHover
}
public class VrUiElement : MonoBehaviour
{
[SerializeField] private UiAction action;
[SerializeField] private GameObject unselectedPane... |
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 MOClient
{
class Program
{
static void Main(string[] args)
{
HttpClient client = new HttpClient()... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
namespace Millo.Handlers
{
public class FullPipelineMessageHandler : DelegatingHandler
{
const string _header = "f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveForward : MonoBehaviour
{
public float x = 0;
public float speed = 1f;
private void Start()
{
x = transform.localPosition.x;
}
// Update is called once per frame
void FixedUpdate()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace Chu... |
//Class generated
class MyClass1
{
public string MyProperty1 {get;set;}
public string MyProperty2 {get;set;}
}
//Class generated
class MyClass2
{
public string MyProperty1 {get;set;}
public string MyProperty2 {get;set;}
}
|
using Dominio;
using Entidades;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Vistas
{
public partial class Frm_Materias : Form
{
... |
namespace DnDPlayerCompanion.Enums
{
public enum AbilityEnum
{
Strength,
Dexterity,
Constitution,
Intelligence,
Wisdom,
Charisma
}
public enum AbilityModEnum
{
StrMod,
DexMod,
ConMod,
IntMod,
WisMod,
Ch... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class NavBoatControl : BoatBase {
Rigidbody body;
public enum BoatSideFacingWind {Port, Starboard};
public static NavBoatControl s_instance;
public ParticleSystem left, right;
float currThrust = 0f;
float weakThrust = 150f, strongThrust ... |
using System.ComponentModel.DataAnnotations;
namespace Requestrr.WebApi.Controllers.DownloadClients.Ombi
{
public class SaveOmbiTvShowsSettingsModel : OmbiSettingsModel
{
[Required]
public string Restrictions { get; set; }
}
} |
using System.IO;
namespace Vantage.Automation.VaultUITest.Helpers
{
public static class FileUtility
{
public static void CreateDirectoryIfNotExists(string path)
{
Directory.CreateDirectory(path);
}
public static void CreateFileOfSize(string path, long sizeInBytes, ... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using samsung.sedac.alligatormanagerproject.Api.Entities;
namespace samsung.sedac.alligatormanagerproject.Api.DataConfig
{
public class DepartamentosConfiguration : IEntityTypeConfiguration<Departamentos>
{
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using challengeApp.DataAccess.Abstract;
using challengeApp.Entities;
namespace challengeApp.DataAccess.Concrete.EntityFrameworkCore
{ //Product'a özel ekstra metotları tanımlayacağımız alandır.
p... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace Web.Areas.Admin.ViewModels
{
public class CourseEnrollmentViewModel
{
[Required, Display(Name = "Student"), DataType("UserID")]
public string UserId { get; set; }
[HiddenInput]
public st... |
using cosmetic_hub__e_shopping_system_.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace cosmetic_hub__e_shopping_system_.Interfaces
{
public interface IShoppingCartItemsRepository
{
IEnumerable<ShoppingCartItems> GetAllShoppingItems();
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ApplicationCore.Entities.Basket
{
public class ShoppingCartItem
{
public int ShoppingCartItemId { get; set; }
public string ShoppingCartId { get; set; }
public Cosmetics Cosmetics { get; set; }
public ... |
//------------------------------------------------------------------------------
// 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;
namespace RockPaperScissors
{
class Program
{
public static bool loop = true;
public static int wins;
public static int totalwins;
public static int losses;
public static int totallosses;
public static int ties;
public static int totalties... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace challenge
{
class Program
{
static void Main(string[] args)
{
string input;
int number1 = 1;
int number2 = 1;
Console.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiscBagStuff.Classes
{
public class Application
{
private static MenuController _menuController = MenuController.Instance;
public static void Run()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour {
[SerializeField]
private GameObject _laserPrefab;
[SerializeField]
private GameObject _tripleShotPrefab;
[SerializeField]
private GameObject _ExplosionPrefab;
[SerializeFiel... |
using VideoServiceBL.DTOs;
namespace VideoServiceBL.Services.Interfaces
{
public interface IGenreService: IBaseService<GenreDto>
{
}
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Sqlite.Internal;
using Microsoft.EntityFrameworkCore.TestUtilities;
usin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButterflyCluster : MonoBehaviour
{
public Vector3 clusterDirection;
private Transform playerMesh;
private Vector3 positionBehindPlayer;
public float clusterSpeed;
[SerializeField]
float currentSpeed;
... |
using System;
using System.Collections.Generic;
using Kers.Models.Entities.KERScore;
namespace Kers.Models.ViewModels
{
public class KesrUserBriefViewModel{
public int Id {get;set;}
public string Name {get;set;}
public string Position {get;set;}
public string Title {get;set;}
... |
using Hayalpc.Library.Repository;
namespace Hayalpc.Fatura.Data
{
public class HpUnitOfWork : HpUnitOfWork<HpDbContext>
{
public HpUnitOfWork(HpDbContext context) : base(context)
{
}
}
}
|
using System;
using Locky.Shared;
using UIKit;
using Microsoft.WindowsAzure.MobileServices;
namespace Locky.iOS
{
public partial class ViewController : UIViewController
{
bool hasLoggedIn = false;
private MobileServiceUser user;
public MobileServiceUser User
{
get{... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("SpellAreaEffectInfo")]
public class SpellAreaEffectInfo : MonoClass
{
public SpellAreaEffectInfo(IntPtr address) : this(address, "SpellAreaEffectInfo")
{
}
public Sp... |
using Microsoft.EntityFrameworkCore;
using Vinarish.Models;
namespace Vinarish.Data
{
public partial class TCMMSContext : DbContext
{
public TCMMSContext()
{
}
public TCMMSContext(DbContextOptions<TCMMSContext> options)
: base(options)
{
ChangeTr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FadableTutorialStep : FTUEStep
{
public float FadeTime;
public float WaitTime;
private CanvasGroup canvasGroup;
public override IEnumerator OnExecute()
{
Hashtable hash = iTw... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using DotNetNuke.Services.Installer.Packages;
#endregion
namespace DotNetNuke.Services.Installer.Writers
{
/// ---------------------... |
using System;
using System.Web.Mvc;
using Logs.Authentication.Contracts;
using Logs.Providers.Contracts;
using Logs.Services.Contracts;
using Logs.Web.Infrastructure.Factories;
using Logs.Web.Models.Upload;
namespace Logs.Web.Controllers
{
[Authorize]
public class UploadController : Controller
{
p... |
//using System;
//using System.Collections;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//namespace Alfheim.FuzzyLogic.Rules.Model
//{
// class TermsChainEnumerator : IEnumerator<TermsChainListNode>
// {
// private TermsChainList chain;
//... |
using Football.DAL.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Football.API.Dto
{
public class MatchBroadcastDto
{
public int Id { get; set; }
public string... |
using System;
using UnityEngine;
using strange.extensions.context.api;
using strange.extensions.context.impl;
using strange.extensions.dispatcher.eventdispatcher.api;
using strange.extensions.dispatcher.eventdispatcher.impl;
using strange.extensions.command.api;
using strange.extensions.command.impl;
using syscrawl.Ga... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace UrTLibrary.Bsp.Elements
{
public class Vertex : BspElement
{
public float[] Position;
public float[,] TextureCoordinates;
public float[] Normal;
public byte[] Color;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine.Rendering;
public class ECSManagerTwo : MonoBehaviour
{
private EntityManager manager;
public GameObject sheepPrefab... |
using System;
using System.Text;
namespace Grisaia.Extensions {
partial class StringExtensions {
#region ToNullTerminated
/// <summary>
/// Returns a new string that is ended at the first index of a null character.
/// </summary>
/// <param name="s">The string to null terminate.</param>
/// <returns>Th... |
// Copyright 2020 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
/*
* 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 appl... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace TypeLite.Tests.RegressionTests {
public class Issue15_ConvertSystemType {
[Fact]
public void WhenClassContainsPropertyOfSystemType_InvalidCastExceptionIsntThrown() {
var b... |
using PTJ.Base.DataLayer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PTJ.Person.DataLayer
{
public class PersonHanterare : Base<int, Person, DBPersonDataContext, int, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing>
... |
using CarRental.ViewModels.Order;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarRental.Models.Interfaces
{
public interface IRentReposiotry
{
List<Rent> GetAll();
void AddRent(Rent rent);
void UpdateRent(Rent rent);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
public float velocidade = 2f;
public BoxCollider2D areaJogo;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void... |
using System.Windows;
using PhonebookImportClient.ViewModels;
namespace PhonebookImportClient.Views
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
public MainWindow(MainViewModel dataContext)
{
this.... |
using MCC.Utility.Binding;
namespace MCC.Bouyomi
{
public class SettingPageViewModel : BindableBase
{
private Setting setting = Setting.Instance;
public string Format
{
get => setting.Format;
set => Set(ref setting.Format, value);
}
public stri... |
using JoySoftware.HomeAssistant.Client;
using NetDaemon.Common.Fluent;
namespace NetDaemon.Mapping
{
public static class ContextMapper
{
public static Context Map(HassContext? hassContext)
{
if (hassContext == null)
return new Context();
return new Cont... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.ComponentModel;
using DotNetNuke.Data;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Security.Roles;
using DotNetNuke.Services.Cach... |
using System;
using System.Collections;
namespace SequentialCollections
{
class RunQueue
{
static void Main(string[] args)
{
//Creating a queue
Queue newQueue = new Queue();
newQueue.Enqueue("First");
newQueue.Enqueue("Second");
newQu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.InvoiceManagement;
using Model.DataEntity;
using Utility;
using Model.Locale;
using Model.Schema.EIVO.B2B;
using Model.UploadManagement;
using Model.Schema.EIVO;
namespace Model.Helper
{
public class B2BExceptionInfo... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RegSide
{
public partial class Form1 : Form
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.