text stringlengths 13 6.01M |
|---|
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using OmniSharp.Extensions.LanguageServer.Server.Logging;
// ReSharper disable once CheckNamespace
namespace OmniSharp.Extensions.LanguageServer.Server
{
public static class LanguageServerLoggerExtensions
{
public stati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class W_Projectile_Enemy : MonoBehaviour
{
#region Properties
Demons.Projectile type;
Renderer rend;
Texture[] sprites;
bool initialized = false;
int damage;
int damageRolls;
float projectileSpeed;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Cashflow.Dtos;
using Cashflow.Models;
namespace Cashflow.Controllers.Api
{
public class CompararController : ApiController
{
private ApplicationDbContext _context;
... |
using System;
using System.Collections.Generic;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
namespace Umbraco.Core.Components
{
/// <summary>
/// Represents a composition.
/// </summary>
/// <remarks>Although a composition exposes the application's service container, people should use th... |
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Button))]
public class UIHyperlink : MonoBehaviour {
[SerializeField] private string url = string.Empty;
private void Awake() {
GetComponent<Button>().onClick.AddListener(OpenURL);
}
private void OpenURL() {
Appli... |
//
// 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.Collections.Generic;
using System.Linq;
using DotNetNuke.ComponentModel;
using DotNetNuke.Services.Search.Enti... |
using NUnit.Framework;
using FluentAssertions;
namespace StructureAssertions.Test
{
[TestFixture]
public class AssertStructureTest
{
[Test]
public void FailsWhenAssemblyContainsForbiddenDependencies()
{
Assert.Throws<ForbiddenDependencyException>(AssertForbiddenReferenceExists);
}
[Test]
public void... |
using System.Collections.Generic;
using EXCHNG.ExchngWebApp.Models;
namespace EXCHNG.ExchngWebApp.Providers.Contracts
{
public interface ICurrencyProvider
{
List<string> GetCurrencies();
List<Rate> GetLatestRates(List<string> currencies);
List<GraphData> GetRatesForComplet... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Tekstomania.Mobile.Core.Models
{
[Android.Runtime.Preserve(AllMembers = true)]
public class SearchArtistResult
{
[JsonProperty("ListaArtystow")]
public List<Artist> Artists { get; set; }
public int ActualPage { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using ORM.Entities;
namespace ORM.Db
{
public class HeroesInitializer: DropCreateDatabaseIfModelChanges<HeroesContext>
{
protected override void Seed(HeroesContext context)
{
var users = new List<User>()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using MilkBot.Core;
using MilkBot.Core.Components;
using System.Windows.Forms;
namespace MilkBot.SubMessage {
public class SubMessageComponent : IComponent {
public string Compone... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;
using System.... |
using Library.Repositories;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using ... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace MongoDBApplication
{
public class User
{
[BsonId]
public BsonObjectId _id { get; set; }
public string Email { get; set; }
public string PasswordHash { get; set; }
}
}
|
using ModestTree;
using System;
using System.Collections.Generic;
using Zenject;
namespace Lonely
{
public interface IStateBinder
{
IStateBinder Enter<TStateEnter>(params Type[] decoratedTypes) where TStateEnter : IStateEnter;
IStateBinder Exit<TStateExit>() where TStateExit : IStateExit;
... |
namespace TriodorArgeProject.WebUI.Controllers
{
internal class PersonnelModel
{
}
} |
using Microsoft.AspNetCore.Mvc;
using System.Text.Encodings.Web;
using VideoLibrary;
namespace ytproxy.Controllers
{
public class YoutubeController : Controller
{
//
// GET: /HelloWorld/
public string GetVideo(string id)
{
var youTube = YouTube.Default; // starting... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
using System.Globalization;
namespace _6_zadacha
{
class Program
{
static void Sequence(double a1, double a2, double a3, int N, double E,
int i = 0... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TE18B_Arrayer_listor
{
class Program
{
static void Main(string[] args)
{
int[] numbers = new int[5];
Random generator = new Random();
... |
using Kers.Models.Entities.KERScore;
using Kers.Models.Contexts;
using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using System.IO;
using System.Net.Http;
using Newtonsoft.Json;
using Kers.Models.Repositories;
using Microsoft.Extensions.DependencyInjection;
namespa... |
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.IO;
using System.ComponentModel;
using System.Diagnostics;
using System.Collections.Specialized;
namespace anyICA
{
public delegate void ReplacerUpdatedHandler();
public class ReplacerList : ObservableColl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CharacterWizardRepository.Models;
namespace CharacterWizard.Models
{
public class CharacterSheetVm
{
public Player Player { get; set; }
public Character Character { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Acr.UserDialogs;
using IndependienteStaFe.Services;
using IndependienteStaFe.Models;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace IndependienteStaFe.Views
{
[XamlCompilation(XamlCo... |
using System.Collections;
namespace OCP.Log
{
/**
* Interface IFileBased
*
* @package OCP\Log
*
* @since 14.0.0
*/
interface IFileBased {
/**
* @since 14.0.0
*/
string getLogFilePath();
/**
* @since 14.0.0
*/
IList getEntries(int limit=50, ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace MegaCalculator
{
public class CalculatedNode : INode
{
public INode LeftSubNode
{
get; set;
}
public INode RightSubNode
{
get; set;
}
public OperationTy... |
using System.Collections.Generic; using System;
using System.Text;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace BrainDuelsLib.utils.pic
{
public class ImageSerizlizer
{
public static LightImage Deserialize(string s)
{
if(s[0] == '1'){
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DriveMgr.BLL
{
public class OutStoreHouseDetailsBLL
{
private static readonly DriveMgr.IDAL.IOutStoreHouseDetailsDAL outStoreHouseDetailsDal = DriveMgr.DALFactory.Factory.GetOutStoreHouseDetailsDAL();
... |
namespace Task03_WordsSet
{
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using Task03_WordsSet.Trie;
public class Program
{
private const string InputFileName = @"Ivan_Vazov_Pod_Igoto.txt";
public static void Main()
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace HardwareInventoryManager.Models
{
public class ApplicationSetting: ModelEntity, ITenant
{
[Key]
public... |
namespace Belot.Engine
{
using System.Collections.Generic;
using Belot.Engine.Game;
using Belot.Engine.GameMechanics;
using Belot.Engine.Players;
/* N
* W E
* S
*/
public class BelotGame : IBelotGame
{
private readonly RoundManager roundManager;
private r... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using UnityEngine;
public class StateObject
{
public Socket WorkSocket;
public const int BUFFER_SIZE = 256;
public byte[] Buffer = new byte[BUFFER_SIZE];
public StringBuilder Builder = new St... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PTJ.Person.DataLayer
{
public static class DBDateTimeHelper
{
public static DateTime getDefaultDateTime()
{
return new DateTime(1800, 01, 01);
}
... |
using System;
namespace Framework.Metadata
{
public enum NxChildEntityUsageOrderType
{
InList,
InView
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Water2DTool
{
public class ObstructionPolygon : MonoBehaviour
{
/// <summary>
/// The local positions of the handles.
/// </summary>
public List<Vector3> handlesPosition = new List<Vector3>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MarsRoverAPI.Model
{
public class RoverInfo : IApiModel
{
public string Name { get; set; }
public int LocationX { get; set; }
public int LocationY { get; set; }
public str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Quiz_Game_Wpf
{
class QuestionFour : Question
{
public QuestionFour()
{
QuestionText = "Question 4 - Guess the brand's logo";
AnswerOne = "Toyot... |
using UnityEngine;
using System.Collections;
public class ProceduralGeneration : MonoBehaviour {
//Objects to spawn
public GameObject ocean;
public GameObject player;
public GameObject[] islands;
public GameObject goal;
public GameObject[] npcs;
public GameObject eventController;
//public GameObject ui;
public GameOb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TicketShopProject.Data.Interfaces;
using TicketShopProject.Data.Models;
namespace TicketShopProject.Data.Repositories
{
public class TicketRepository : ITicketRepository
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp3
{
public class HeapSort
{
private Sirket[] dizi;
public HeapSort(Sirket[] dizi)
{
this.dizi = dizi;
}
... |
using BattleUtil;
using UnityEngine;
public class BattleAttack : ScriptableObject
{
[Header("Damage")]
[Space(5)]
public int damage;
public int cost;
public int resonance;
public bool knockback;
public bool isNote;
public float knockbackDistance;
public bool chargedAttack;
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utilities.Enums;
using Utilities.Implementation.FileManagement.Result;
namespace Utilities.Interface
{
/// <summary>
/// Interface contrato para exponer los metodos del
/// manejo de... |
using System.Windows.Controls;
namespace EcobitStage.View
{
public partial class UserPrivilegeListView : Page
{
public UserPrivilegeListView()
{
InitializeComponent();
}
}
} |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities.Auditing;
using Abp.Domain.Entities;
namespace eForm.EFlight
{
[Table("TravelAgents")]
public class TravelAgent : Entity , IMayHaveTenant
{
public int? TenantId { get; s... |
using NUnit.Framework;
namespace litecart_tests
{
public class MainAuthorizationTestBase : TestBase
{
[SetUp]
protected void SetupAuthorizationTest()
{
app.LoginHelper.LoginInMainPage();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharpLearning.Sort
{
static public class Fibonacci
{
//递归形式的斐波那契数列
public static int FibonacciRecursion(int n)
{
var result = 0;
if (n == 1 || n == 2)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StructureMap;
namespace Pes.Core.Impl
{
public class AlertService : IAlertService
{
private IConfiguration _configuration;
private IUserSession _userSession;
private IWebContext _web... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System;
using System.Collections.Generic;
using System.Text;
using Zhouli.BLL.Interface;
using Zhouli.DAL.Interface;
using Zhouli.DbEntity.Models;
namespace Zhouli.BLL.Implements
{
public class SysAbRelatedBLL : BaseBLL<SysAbRelated>, ISysAbRelatedBLL
{
private readonly ISysAbRelatedDAL _sysAbRela... |
using System.Collections.Generic;
using ComputerBuilderClasses.Contracts;
using ComputerBuilderClasses.SystemComponents;
using ComputerBuilderClasses.SystemTypes;
namespace ComputerBuilderClasses.Manufacturers
{
public class DellFactory : IManufacturer
{
private const int PcAndLaptopCoreNumber = 4;
... |
namespace Task03_Precision
{
using System;
public class Startup
{
public static void Main()
{
int maxDenominator = int.Parse(Console.ReadLine());
var fraction = Console.ReadLine().Split('.')[1];
int bestNom = 0;
int bestDenom = 1;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Vinarish.Models
{
public partial class Report
{
public Report()
{
AppendixReports = new HashSet<Report>();
}
pu... |
using System.Collections.Generic;
using FluentNHibernate.Mapping;
using ServiceStack.ServiceInterface.Auth;
namespace myThat.ServiceInterface.Mappings
{
public class UserAuthMap : ClassMap<UserAuthPersistenceDto>
{
public UserAuthMap()
{
Table("UserAuth");
Id(x => x.Id... |
///////////////////////////////////
//ゲームマネージャー ゲーム全体を通してゲームを管理する
//
//Inukai Satoru
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : SingletonMonoBehaviour<GameManager>
{
// Start is called before the first frame update
void Start()
{... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Persistence.Migrations
{
public partial class AddRequiredStockFields : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Stocks_AspNetUsers... |
using System;
using System.ComponentModel.DataAnnotations;
namespace POS_SP.Models
{
public class InstallmentSchedulePayment
{
public int Id { get; set; }
public bool IsPaid { get; set; }
[Display(Name = "Schedule Date"), DataType(DataType.Date)]
public DateTime ScheduleDate ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Size = ServerKinect.Shape.Size;
using ServerKinect.Clustering;
namespace ServerKinect.HandTracking.Visual
{
public class ClusterLayer : LayerBase
{
private IClusterDataSource d... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectWindAnimatorDecider : MonoBehaviour {
public enum windAnimDir
{
none,
horizontal,
up,
down
};
public windAnimDir _windDir;
public SpriteMask _spiteMask;
public Spr... |
using System.Collections.Generic;
using System.Reflection;
using System.Web.Mvc;
using JqD.Common.ILogic;
using JqD.Common.Web;
namespace JqueryDapper.Controllers
{
public class EmbeddedResourceController : BaseController
{
private const string AssemblyNamespace = "JqD.Web.Common";
private sta... |
namespace ZenMvvm.Helpers
{
public interface IBusy
{
/// <summary>
/// Gets or sets a value indicating whether this instance is busy.
/// </summary>
/// <value><c>true</c> if this instance is busy; otherwise, <c>false</c>.</value>
bool IsBusy { get; set; }
}
}
|
/// <summary>
/// class: 不带优先级的选择节点
/// Check: 先调用上一个运行的子节点(若存在)的Check方法,如果可以运行,则继续运保存该节点的索引,返回True,如果不能运行,则重新选择(同带优先级的选择节点的选择方式)
/// Tick: 调用可以运行的子节点的Tick方法,用它所返回的运行状态作为自身的运行状态返回
/// </summary>
public class BTControlNodeSelector : BTControlNodeBase {
protected int _currentSelectIndex;
protected int _la... |
using System.Collections.Generic;
using System.Linq;
using Payment.Contracts;
using Payment.Data;
using Payment.Data.Session;
namespace Payment.Core.Queries
{
public class GetAllEmployeeSalaries : IQuery<IList<EmployeeSalary>>
{
public IList<EmployeeSalary> Execute(ISession session)
{
... |
using Kit.Model;
namespace Kit.Controls.CrossImage
{
public abstract class CrossImage : ModelBase
{
private object _Native;
public object Native
{
get => _Native;
set
{
_Native = value;
Raise(() => Native)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PolymorphExampleEasy
{
class Cat : Enimal
{
public override void WhatTheEnimalSay()
{
Console.WriteLine("Myau - myau");
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour
{
//最大体力
[SerializeField] private int hp_max;
//攻撃力
[SerializeField] private int attack;
[SerializeField] private int waittime;//生成されてからプレイヤーに向かうまでの時間 推奨 3とか
[Seri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Minesweeper
{
public class PlayerScore
{
private string playerName;
private int playerScore;
public string PlayerName
{
get { return playerName; }
set { play... |
using PreencherAgendaExcel.Entities;
using PreencherAgendaExcel.Entities.Enums;
using System;
using System.Globalization;
using System.Threading;
namespace PreencherAgendaExcel
{
class Program
{
static void Main(string[] args)
{
var resposta = "S";
while (resposta != "... |
namespace Plus.Communication.Packets.Outgoing.Inventory.Trading
{
internal class TradingErrorComposer : MessageComposer
{
public int Error { get; }
public string Username { get; }
public TradingErrorComposer(int error, string username)
: base(ServerPacketHeader.Trad... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Objects.DataClasses;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using Relocation.Base;
using Relocation.Base.UI;
using Relocation... |
using System;
namespace Game.Online
{
[Serializable]
public class Player
{
public string Username { get; }
public uint Id { get; } //TODO: List of players in ConnProvider;
public bool IsLocal { get; }
public Player(string username, uint id, bool isLocal)
{
... |
using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using Maticsoft.DBUtility;//Please add references
namespace HealthCloud.DBDAL
{
/// <summary>
/// 数据访问类:EXAMIN_USER_Limit
/// </summary>
public partial class EXAMIN_USER_Limit
{
public EXAMIN_USER_Limit()
{}
#region BasicMeth... |
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CountURLW... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Diagnostics;
using System.Management.Automation;
using System.Threading.Tasks;
using Microsoft.PowerShell.EditorServices.Services.PowerShellContext;... |
using UnityEngine;
using UnityEditor;
namespace Water2DTool
{
[CustomEditor(typeof(RippleSource))]
public class Water2D_RippleSourceEditor : Editor
{
private bool showOptions = true;
private static float pathScale = 1f;
SerializedProperty active;
SerializedProperty source... |
using System;
using MenuSample.Inputs;
using MenuSample.Scenes.Core;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace MenuSample.Scenes
{
/// <summary>
/// Une popup utilisée pour afficher les messages de confirmation
/// </summary>
... |
using Microsoft.AspNet.Mvc;
using System;
using Weather.Bbc.Models;
namespace Weather.Bbc.Controllers
{
public class WeatherController : Controller
{
private Random _rng;
public WeatherController()
{
_rng = new Random();
}
[Route("api/[controller]/{loc... |
using DataLayer.ScriptData;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLayer.Script
{
public class Script: BusinessBase
{
#region Atributos
private String textoScript;
#endregi... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GlobalDevelopment.SocialNetworks.Facebook.Models
{
public class FacebookRestaurantSpecialties
{
/// <summary>
/// Whether restau... |
using System;
using System.Data.SQLite;
namespace csharp_scraper.Controllers
{
public class Data
{
protected static SQLiteConnection connect()
{
const string url = "/Users/timothywheeler/RiderProjects/csharp-scraper/csharp-scraper/csharp-scraper/Models/stock_portfolio.db";
... |
namespace _1.CodeFirstStudentSystem.Migrations
{
using Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<_1.CodeFirstStudentSystem.StudentS... |
using System;
using System.Diagnostics;
using System.Numerics;
using Dalamud.Plugin;
using ImGuiNET;
using Penumbra.Models;
using Penumbra.Mods;
namespace Penumbra.UI
{
public partial class SettingsInterface
{
private class ModPanel
{
private const string LabelModPanel = "sel... |
namespace ns17
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Xml.Linq;
internal class Class100 : Class98, Interface10, Interface12
{
[CompilerGenerated]
private static Func<XAttribute, Class104> func... |
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class CardManager : MonoBehaviour
{
#region Singleton
private static CardManager _instance;
public static CardManager Instance
{
get
{
if(_instance == null)
{
_instance = F... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using FackerProgram;
using Faker;
namespace FakerUnitTest
{
[TestClass]
public class FakerTest
{
private FackerProgram.Faker _faker;
private MyTestClass result;
[TestInitialize]
... |
namespace EntityFrameworkCoreExample
{
enum ExamplesEnumeration
{
AddCharactersToDb,
GetCharactersFromDb,
UpdateCharacter,
DeleteCharacter,
GetDependentDataWithExplicitLoading,
GetDependentDataWithEagerLoading,
GetDependentDataWithLazyLoading,
}
}
|
using System;
using Peppy.Core.Amqp.Messages;
using System.Text;
namespace Peppy.Core.Amqp.Internal
{
/// <summary>
/// A context for consumers, it used to be provider wrapper of method description and received message.
/// </summary>
public class ConsumerContext
{
/// <summary>
//... |
[System.Serializable]
public class Wiggle
{
public float speed = 1;
public float amplitude = 2;
public int octaves = 4;
float cueVel = 0;
public float current { get; private set; }
float destination;
int currentTime = 0;
public void Update()
{
// if number of frames playe... |
namespace MiddleWare.Host
{
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Actions;
using Autofac;
using Autofac.Extras.DynamicProxy;
using Infrastructure;
using Interceptors;
using Middleware.Core;
internal class Program
{
public static... |
using UnityEngine;
using System.Collections;
public class PlatformControllerScript : MonoBehaviour {
GameObject[] platforms;
Rigidbody2D playerRigidbody2d;
void Update () {
if (platforms == null) {
platforms = GameObject.FindGameObjectsWithTag ("platform");
}
if (playerRigidbody2d == null) {
playerRig... |
using System;
using System.Windows.Input;
using City_Center.Services;
using GalaSoft.MvvmLight.Command;
using static City_Center.Models.SalaPokerResultado;
namespace City_Center.ViewModels
{
public class SalaPokerItemViewModel:SalaPokerDetalle
{
#region Services
private ApiService ap... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
namespace ConsoleApplication12.Extensions
{
public static class Extensions
{
public static T Deserialize<T>(string jsonData)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GiaiPTBac2
{
public class XuLy
{
public string GiaiPT(ref double a, ref double b, ref double c)
{
string kq = "";
if (a == 0)
{
... |
using System;
class Program
{
static void Main(string[] args)
{
int val = 10;
float f = 10.5f;
Console.WriteLine(System.Convert.ToString(val));
int str = System.Convert.ToInt32("30");
Console.WriteLine(str);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows;
using System.Device.Location;
using AugmentedReality.Models;
using System.Xml;
using System.Xml.Linq;
namespace AugmentedReality.Utilities
{
public class MapDataHandler
{
public... |
using System;
using System.Collections.Generic;
namespace RMAT3.Models
{
public class RoleType
{
public RoleType()
{
EntityRoleTypes = new List<EntityRoleType>();
}
public int RoleTypeId { get; set; }
public string AddedByUserId { get; set; }
... |
/*--------------------------------------------------------------------------
Reactor
The MIT License (MIT)
Copyright (c) 2015 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlayTennis.Model
{
public class WxUser
{
public Guid Id { get; set; }
/// <summary>
/// openid 微信唯一识别id
/// </summary>
public string Opneid { g... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Linq;
using System.Data.SqlClient;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Web;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BunnySpawner : MonoBehaviour {
public GameObject BunnyContainer;
private GameObject BunnyContainerClone;
private bool isDead;
private float timer;
// Start is called before the first frame update
void... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySpawn : MonoBehaviour
{
Vector2 spawn;
public GameObject enemy;
private void Start()
{
spawn = GameObject.FindGameObjectWithTag("Path").GetComponent<EdgeCollider2D>().points[0];
}
public ... |
using MessengerApp.Models.Account;
using MessengerApp.Models.Channel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MessengerApp.Models.Messenger
{
public class MessageModel
{
public int Id { get;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.