text stringlengths 13 6.01M |
|---|
using Android.App;
using Android.Content;
using Android.OS;
using Android.Widget;
using Com.Tencent.MM.Sdk.Constants;
using Com.Tencent.MM.Sdk.Modelbase;
using Com.Tencent.MM.Sdk.Openapi;
using RRExpress.Droid.WXPay;
namespace RRExpress.Droid {
[Activity(Name = "com.halogo.bt.wxapi.WXPayEntryActivity",
Exp... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using TimeClock.Data.Models;
namespace Timeclock.Api.Models
{
public class EmployeeBindingModel
{
public int EmployeeId { get; set; }
public string FirstName { get;... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using Microsoft.AspNet.Identity;
using BitClassroom.DAL.Models;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Baihoc7_KeThuav1
{
class Program
{
static void Main(string[] args)
{
//Con c = new Con();
//c.In();
//c.In2();
//Cha ch... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine.Characters
{
class LifeMonster : Monster
{
public const bool isKills=true;
public LifeMonster(int id, string name)
:base( id, name, isKills)
... |
namespace Sentry;
/// <summary>
/// Immutable data belonging to a transaction.
/// </summary>
public interface ITransactionData : ISpanData, ITransactionContext, IEventLike
{
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.ORD
{
public class ReceiptMasterSearchModel : SearchModelBase
{
public string ReceiptNo { get; set; }
public string IpNo { get; set; }
public string OrderNo... |
using Crainiate.Diagramming;
using Crainiate.Diagramming.Flowcharting;
using Crainiate.Diagramming.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Ta... |
using RSS_news_feed_bot.data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telegram.Bot.Types;
namespace RSS_news_feed_bot.bot
{
public interface IAnswer
{
/// <summary>
/// Текст ответа по умолчанию
/// </sum... |
using DG.Tweening;
using PixelCrushers.DialogueSystem;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BattleAreaMgr2 : MonoBehaviour
{
public static BattleAreaMgr2 instance;
public Transform PlayerSpawnPoint;
public Transform EnemySpaw... |
using Alabo.Domains.Entities;
using Alabo.Runtime.Config;
namespace Alabo.Domains.Services.Attach {
public interface IAttach<TEntity, in TKey> where TEntity : class, IAggregateRoot<TEntity, TKey> {
/// <summary>
/// 获取表名
/// </summary>
string GetTableName();
/// <sum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EasyDev.Presentation;
using SQMS.Services;
using EasyDev.BL;
using EasyDev.SQMS;
using System.Data;
using EasyDev.Util;
using YYControls;
using System.Web.UI.Htm... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace RoadSimLib.UnitTest
{
[TestClass]
public class TileUnitTest
{
[TestMethod]
public void ShouldCheckConstructorParameters()
{
Card tile;
tile = new Card();
Assert.AreEqual(1, tile.Pattern);
tile = new ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess.Object
{
[DataContract]
public class AddLertRequest
{
[DataMember(Name = "account_id")]
public string Acc... |
namespace E_ticaret.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Kullanici")]
public partial class Kullanici
{
[System.Diagnosti... |
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
[Migration(201409251158)]
public class AddPublicSummaryToPerson : Migration
{
public override void Down()
{
Delete.Column("PublicSummary").FromTable("PRF_Person");
Delete.Column("PublicSummaryDate").... |
namespace MusicStore.Models.DAL {
using MusicStore.Models.DataModels;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
public class DALGenre {
protected string ChaineConnexion = ConfigurationManager.ConnectionStrings["MusicStore"]... |
using RulesEngine.Interfaces;
namespace RulesEngine.Conditions
{
public class GreaterThanCondition : ICondition
{
private readonly decimal _actual;
private readonly decimal _threshold;
public GreaterThanCondition(decimal threshold, decimal actual)
{
_threshold = th... |
using DChild.Gameplay.Combat;
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild.Gameplay.Objects.Characters.Enemies
{
public class ShadowMinionBrain : MinionAIBrain<ShadowMinion>, IAITargetingBrain
{
[SerializeField]
[MinValue(0f)]
private float m_alertRange;
pri... |
/**
* Definition for a binary tree node.
* public class TreeNode {
* public int val;
* public TreeNode left;
* public TreeNode right;
* public TreeNode(int x) { val = x; }
* }
*/
public class Solution {
public int KthSmallest(TreeNode root, int k) {
var l = new List<int>();
H... |
using MyMovies.Domain.Enums;
using System;
using System.Collections.Generic;
namespace MyMovies.Domain.Entities
{
public class Person : Entity
{
public string Name { get; set; }
public DateTime Birthday { get; set; }
public Gender Gender { get; set; }
public virtual List<Job> J... |
using System;
using DevExpress.Xpo;
namespace ACHMS.Common.Entities
{
public class User : XPObject
{
public string UserName {
get { return GetPropertyValue<string>("UserName"); }
set { SetPropertyValue("UserName", value); }
}
public string Digest {... |
using Alabo.Data.People.Suppliers.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Data.People.Suppliers.Domain.Repositories
{
public class SupplierRepository : RepositoryMongo<Supplier, ObjectId>, ISupplierRepository
{
public Supplie... |
/*
* Name: Anju Chawla
* Date: September 27, 2016
* Purpose: Create an application for the fitness center.
* Allow user to sign in and select promotions.
* Display the promotion details with appropriate images
*
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Threading;
using System.Runtime.InteropServices;
using System.IO;
using System;
using UnityEngine.Networking;
public class FileWriter : NetworkBehaviour {
public bool FileWriting = true;
public float FileWriteFreq = 1f;
pu... |
namespace Krafteq.ElsterModel.Common
{
using System;
public class CompanyInfo
{
public CompanyName CompanyName { get; }
public FullName PersonName { get; }
public Address Address { get; }
public POBox POBox { get; }
public ContactInfo ContactInfo { get; }
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MetodosBancoComercial.Conta.Poupanca
{
public class ContaPoupanca : Conta
{
private double TaxaRendimento;
public ContaPoupanca():base()
{
TaxaRendimento = 5;
}
... |
using Alabo.Datas.Stores.Page.Mongo;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities.Core;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using System;
using System.Threading.Tasks;
namespace Alabo.Datas.Stores.Random.Mongo {
public abstract class RandomAsyncMongoStore<TEntity, TKey> : GetPageMongo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Marketplaces.Entityes;
using Welic.Dominio.Patterns.Service.Pattern;
namespace Welic.Dominio.Models.Marketplaces.Services
{
public interface IListingService : IService<Lis... |
/*
* Builded by Lars Ulrich Herrmann (c) 2013 with f.fN. Sense Applications in year August 2013
* The code can be used in other Applications if it makes sense
* If it makes sense the code can be used in this Application
* I hold the rights on all lines of code and if it makes sense you can contact me over the pub... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MirrorName
{
[TestClass]
public class TestMirrorName
{
[TestMethod]
public void TestMethod1()
{
Assert.AreEqual("gnilraD olleH", MirrorThisString.StringMirror("Hello Darling"));
}
[TestMethod]
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Luxand;
namespace ... |
using System.Threading.Tasks;
using IcecatSharp.Services;
using Xunit;
namespace IcecatSharp.Tests
{
public class FilesIndex_Tests_Fixture : IAsyncLifetime
{
public FilesIndexService Service => new FilesIndexService(Utils.IceCatConfig);
public async Task InitializeAsync()
{
}
... |
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using RangeDisplay.APIs;
using StardewModdingAPI;
using StardewValley;
using SObject = StardewValley.Object;
namespace RangeDisplay.RangeHandling.RangeCreators.Objects
{
internal class ScarecrowRangeCreator : IObjectRangeCreator, IModRegistryListene... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IWorkFlow.DataBase;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("B_OA_Notice_AppointManSee", "id")]
public class B_OA_Notice_AppointManSee : QueryInfo
{
/// <s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace Lab9.Pages
{
public class IndexModel : PageModel
{
private readonly ILog... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _06._List_Manipulation_Basics
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToList(... |
using UnityEngine;
using System.Collections.Generic;
public class Stuiterbaar : MonoBehaviour
{
// base components
[HideInInspector] public Transform myTransform;
[HideInInspector] public GameObject myGameObject;
// graphics
[Header("graphics")]
public Transform graphicsTransform;
public... |
using University.Data;
using University.Data.CustomEntities;
using University.Repository.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace University.Repository
{
public class ProductRepository : IProductRepos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms; // Keys
namespace CalculationServices
{
public class Token
{
/// <summary>
/// Check if input character is able to accept for parser.
/// </su... |
using PJEI;
using UnityEngine;
public class TimeWrapperTest : MonoBehaviour {
[SerializeField]
private Rect instructionsRect = new Rect(50, 100, 500, 100);
[SerializeField]
private Rect textRect = new Rect(50, 50, 300, 20);
void OnGUI() {
GUI.Label(this.instructionsRect, "Press P to pau... |
using System;
namespace NLogDemo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Addition Problem \n Enter 2 numbers");
int a = Convert.ToInt32(Console.ReadLine());
int b = Convert.ToInt32(Console.ReadLine());
Add_Number ad... |
using SqlSugar;
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 twpx.Dao;
using twpx.Model;
namespace twpx.VIew
{
public partial class Jxlgl :... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonAnimController : MonoBehaviour {
private void Update()
{
#if UNITY_EDITOR
//For Testing ---
if (Input.GetKeyDown(KeyCode.Q))
{
ButtonSelected();
}
if (Input... |
namespace ConsoleApplication1
{
public enum Education : byte { Master, Bachelor, SecondEducation }
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AddDrumUI : MonoBehaviour {
//Slider that dictates the number of beats to add to the new DrumTrack when created
public Slider drumBeatSlider;
//Text that displays number shown by t... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Alura.Loja.Testes.C... |
using System.Collections.ObjectModel;
using Android.Content;
using Android.Support.V7.Widget;
using Android.Views;
using Android.Widget;
namespace ResidentAppCross.Droid.Views.Components.NavigationDrawer
{
public class NavigationDrawerAdapter : RecyclerView.Adapter
{
public ObservableCollection<HomeM... |
namespace RosPurcell.Web.Infrastructure.Mapping
{
using System;
using RosPurcell.Web.Infrastructure.DependencyInjection;
using RosPurcell.Web.ViewModels.Media;
using Umbraco.Core.Models;
using Zone.UmbracoMapper;
/// <summary>
/// Custom extension of the Umbraco Mapper, where custom map... |
using Clients.Screener;
using Common;
using Common.Business;
using Common.Log;
using SessionSettings;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.ServiceModel;
using System.Threading;
namespace Screeners
{
public class Barcode : IDisposable
{
#reg... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Leaves : Block
{
public override string Name
{
get
{
return "Leaves";
}
}
public override int BlockID
{
get
{
return 6;
}
}
... |
using System;
namespace SOLIDPrinciples.CouplingProblem.Example02.Good
{
public class NFDao
{
public void Persiste(NotaFiscal nf)
{
//throw new NotImplementedException();
}
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Threading;
using System.Collections;
using System.Xml;
using DevExpress.XtraEditors;
using IRAP.Glob... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
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.Medi... |
using ApplicationCore.Entities;
using Microsoft.EntityFrameworkCore;
namespace Infrastructure.Data.EntityConfigurations
{
public class ProductConfiguration : IEntityTypeConfiguration<Product>
{
public void Configure(Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<Product> builder)
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Poker;
using System.Collections.Generic;
namespace PokerTests
{
[TestClass]
public class HandToStringTests
{
[TestMethod]
public void PokerTestToStringWithNoCards()
{
Hand hand = new Hand(new List<I... |
using System.ComponentModel;
using Phenix.Core;
using Phenix.Core.Workflow;
namespace Phenix.Workflow.Activities
{
/// <summary>
/// 适用于特定自定义活动(这些活动使用 Execute 方法实现执行逻辑,该方法具有对运行时功能的完全访问权限)的抽象基类
/// </summary>
public abstract class NativeActivity : System.Activities.NativeActivity, IActivity
{
/// <summar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestTask
{
class Program
{
static double[] ChangeArray (double[] arr, int i1) // Метод выбрасывает из массива чисел те числа, с которыми были отработаны умножение и дел... |
//
// DataContextProviderBase.cs
//
// Author:
// nofanto ibrahim <nofanto.ibrahim@gmail.com>
//
// Copyright (c) 2011 sejalan
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software F... |
using Uintra.Core.Member.Models;
namespace Uintra.Core.Member.Profile.Models
{
public class ProfileViewModel
{
public string Photo { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Phone { get; set; }
public int? Phot... |
using System;
namespace GitTFS_Migration.Application
{
static class GitTFS_Migration
{
[STAThread]
static void Main()
{
CompositionRoot.Wire(new ApplicationModule());
System.Windows.Forms.Application.EnableVisualStyles();
System.Windows.Forms.Applic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using KartObjects;
using System.Reflection;
using System.Data;
namespace KartExchangeEngine
{
public class Exchange1C_CSV : FileExchangeRelationJob
{
public Exchange1C_CSV(AbstractFlagMonitor flagMon... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace WebsiteManagerPanel.Framework.Extensions
{
public static class PrimitiveTypeExtensions
{
public static byte ToByte(this ob... |
using System;
namespace ProxySample
{
class Program
{
static void Main(string[] args)
{
IInternet internet = new ProxyInternet();
try
{
internet.ConnectTo("geeks.org");
internet.ConnectTo("abc.com");
}
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using BlazorShared.Models.Patient;
using Microsoft.Extensions.Logging;
namespace FrontDesk.Blazor.Services
{
public class PatientService
{
private readonly HttpService _httpService;
private readonly ILogger<PatientService> _logger;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DungeonestDark
{
class Program
{
static void Main(string[] args)
{
int health = 100;
int coins = 0;
List<string> dunge... |
using Pe.Stracon.SGC.Aplicacion.TransferObject.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual
{
/// <summary>
/// Representa el objeto request de Plantilla Párrafo ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SentimentAnalysis.UserControls
{
public partial class SentinentReport : UserControl
{
... |
using System;
namespace TY.SPIMS.POCOs
{
public class PurchasePaymentDisplayModel
{
public string VoucherNumber { get; set; }
public DateTime Date { get; set; }
public decimal Amount { get; set; }
}
}
|
//**********************************************************************************
//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd.
//**********************************************************************************
#region Apache License
//
// Licensed under the Apache License, Version 2.0 (the "License");
// yo... |
using Common.Business;
using Common.Log;
using Contracts.MLA;
using Entity;
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.Threading.Tasks;
namespace Clients.Addendum
{
/// <summary>
/// Proxy class f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Responses
{
public class CloudImageActionListResponse
{
public CloudImageActionResponse Results { get; set; }
public PaginationResponse Pagination { get; set; }
}
}
|
using System;
namespace _01._Spring_Vacation_Trip
{
class Program
{
static void Main(string[] args)
{
int daysOfTheTrip = int.Parse(Console.ReadLine());
decimal budget = decimal.Parse(Console.ReadLine());
int countOfPeople = int.Parse(Console.ReadLine());
... |
using DeMo.Models.model;
using System;
using System.Linq;
namespace DeMo.Models
{
public class LoginDAO
{
DADB db = new DADB();
// KIểm tra đăng nhập
public bool Login(String tk, String mk)
{
//dem so lan xuat hien tu databases
var rs = db.TaiKhoans.Coun... |
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;
public class DistanceTextEffect : MonoBehaviour {
private void OnEnable () {
transform.DOScale (new Vector3 (0.5f, 0.5f, 1), 0.2f).SetEase (Ease.Linear).OnComplete (() =>
transform.DOScale (Vector3.one, 0.3f).SetL... |
using Aurigma.GraphicsMill;
using Aurigma.GraphicsMill.AdvancedDrawing;
using Aurigma.GraphicsMill.AdvancedDrawing.Effects;
internal class PlainAndBoundedTextExample
{
private static void Main(string[] args)
{
DrawPlainAndBoundedText();
DrawMultilinePlainText();
}
/// <summary>
//... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TreasurePopupSetup : MonoBehaviour {
public Transform slotTransform;
public GameObject[] weapons;
public GameObject treasure;
public GameObject shield;
int randomInt;
DiamondsSetup diamonds;
Weapon... |
namespace DFC.ServiceTaxonomy.GraphSync.Enums
{
public enum ValidationScope
{
ModifiedSinceLastValidation,
AllItems
}
}
|
using System;
using System.Windows.Controls;
using System.Windows.Input;
namespace DameGUI.Components
{
/// <summary>
/// Interaction logic for PlayBar.xaml
/// </summary>
public partial class PlayBar : StackPanel
{
public PlayBar()
{
InitializeComponent();
... |
using FoodPricer.Core.Order.Beverage;
using FoodPricer.Core.Order.Dessert;
using FoodPricer.Core.Order.Meal;
using FoodPricer.Core.Order.MealPlan;
namespace FoodPricer.Core.Order.Offer.MealPlan
{
public class SandwichMaxMealPlan : IMealPlan
{
public double Price => 16;
public bool IsEl... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
namespace ClaimDi.DataAccess.Entity
{
public class Insurer
{
public string InsID { get; set; }
public string InsName { get; set; }
public string InsNameEn { get; set; }
public string Ins... |
using EmberKernel.Services.Command.Parsers;
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberKernel.Services.Command.Attributes
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class CommandHandlerAttribute: Attribute
{
pu... |
using UnityEngine;
using System.Collections;
public class ChangeDirection : MonoBehaviour {
private float m_angle = 0;
// Update is called once per frame
void Update () {
m_angle += 0.05f;
float angle = 180f * Mathf.Sin(m_angle) / 5f;
Vector3 rot = transform.rotation.eulerAngles;
rot.x = angle;
transf... |
using System;
using System.Data;
using System.Web;
using System.IO;
using System.Text;
using System.Data.Common;
using System.Data.SqlClient;
public class CRUD {
private SqlConnection CRUDconnection;
public CRUD() {
// database connection
CRUDconnection = new SqlConnection("user id=USER; passw... |
using System.Collections.Generic;
using UnityEngine;
namespace Thesis {
public sealed class CityMapManager
{
private const float _tolerance = 5f;
private static readonly CityMapManager _instance = new CityMapManager();
public static CityMapManager Instance
{
get { return _instance; }
}
private List... |
using System;
using System.IO;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public par... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using OrbisEngine.ItemSystem;
public class TestItem : Item {
public TestItem()
{
m_Components = new List<IComponent>() {
new TestComponent(this),
new OtherTestComponent(this),
new ItemSt... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResourcesList : MonoBehaviour
{
public static ResourcesList _resourcesList;
[Header("Resources")]
public int _food;
public int _meds;
public int _wood;
public int _stone;
public int _steelScrap;
... |
using System;
using System.Collections.Generic;
public class Turma : IImprimivel
{
private string _nome;
private string _serie;
private List<Aluno> EST = new List<Aluno>();
private Professor x;
private Professor y;
public string Nome
{
get
{
return this._nome;
}
}
public Professor... |
using System.Collections.Generic;
using System.ServiceModel;
namespace Services
{
[ServiceContract]
public interface IBlogService
{
[OperationContract]
IEnumerable<BlogDto> GetBlogs();
[OperationContract]
void AddBlog(BlogDto blog);
[OperationContract]
voi... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class StageSelectButton : MonoBehaviour {
//ゲームを管理するスクリプト
public GameManager GM;
//ステージに関するテキスト
public Text turnText;
public Text guardianText;
public Animator ssFrameAnim;
public int stageNum = 0;
public int stagePattern = 0... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Eda.Integrations.Delivery
{
/// <summary>
/// The contract for the delivery geo service.
/// </summary>
public interface IDeliveryGeoService
{
/// <summary>
/// Gets available countri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IWorkFlow.DataBase;
namespace IWorkFlow.ORM
{
//Sys_CommonWords
[Serializable]
[DataTableInfo("Sys_CommonWords", "")]
public class Sys_CommonWords : QueryInfo
{
/// <summary>
/... |
using System.Security.Claims;
using Microsoft.AspNetCore.SignalR;
namespace DattingApp.API
{
public class CustomUserIdProvider : IUserIdProvider
{
public string GetUserId(HubConnectionContext connection)
{
var conn = connection.User?.FindFirst(ClaimTypes.NameIdentifier)?.Value;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GameProject
{
class SalesManager : ISalesService
{
public void Buy(Sale sale)
{
Console.WriteLine("Satın alınan oyun: " + sale.GameName + " Fiyat: " + sale.GamePrice);
}
}
}
|
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EmployeeManagement.Controllers
{
[Route("Error")]
pub... |
namespace Funding.Services.Interfaces
{
using System.Threading.Tasks;
public interface IUserService
{
Task<bool> EmailExist(string email);
Task<bool> isDeleted(string email);
Task<string> GetUserFullName(string email);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BelindaWrightCPA.Models
{
public class LoanCalculatorItemModel
{
public DateTime Month { get; private set; }
public double MonthlyPayment { get; private set; }
public double InterestRate { ge... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Infrastructure.Data;
using Properties.Infrastructure.Data.Interfaces;
namespace Prope... |
using System;
namespace Task8
{
class Program
{
static void Main(string[] args)
{
int n1 = 0;
int n2 = 1;
int n3 = 0;
Console.Write("Enter the number of elements: ");
int number = Convert.ToInt32(Console.ReadLine());
Progr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.