text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoLP2
{
public class ProductoxAlmacen
{
private string codigo;
private int idalmacen;
private int stock;
public ProductoxAlmacen()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClaimDi.Business
{
public class Class1
{
//ssss
}
} |
using System.Threading.Tasks;
namespace RRExpress.Common.Interfaces {
public interface IWebApiBearerTokenStore {
/// <summary>
/// 获取 Token
/// </summary>
/// <returns></returns>
string GetToken();
/// <summary>
/// 更新Token
/// </summary>
... |
using System;
using Microsoft.Extensions.Logging;
using SDL2;
namespace PhobiaX.SDL2.Wrappers
{
public class SDL2ImageWrapper : ISDL2Image
{
private readonly ILogger<SDL2ImageWrapper> logger;
public SDL2ImageWrapper(ILogger<SDL2ImageWrapper> logger)
{
this.logger = logger ... |
using System;
using System.Collections;
using System.Collections.Generic;
using AlmenaraGames;
using UnityEngine;
/// <summary>
/// Spawn and track eggs for one team
/// Respawn players on death
/// Alert game to a loss by eggs
/// </summary>
public class Nest : MonoBehaviour
{
//0 = red, 1 = blue
public int ... |
namespace BlazorFullCalendar.Data
{
public static class CalendarPluginTypes
{
public static readonly string Interaction = "interaction";
public static readonly string DayGrid = "dayGrid";
public static readonly string TimeGrid = "timeGrid";
public static readonly string List = "... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace OcenaKlientow.Model.Models
{
public class Status
{
[Required]
//Uniq... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab4
{
class Student
{
private string name;
private int sumb;
private Random rnd { get; set; }
public void SetValue(string newname)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JawaIdle : MonoBehaviour
{
public AudioClip[] idle;
public AudioClip[] step;
public AudioSource[] effectSource;
public JawaManager jawaManager;
private int n;
private int stepIndex;
// Start is cal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI.WebControls;
using Sind.BLL;
using Sind.Model;
using Sind.Web.Publico.Code;
using Sind.Web.Publico.Controles;
using Sind.Web.Publico.Helpers;
namespace Sind.Web.Cadastros
{
public partial class VisaoDetalhe : System.Web.UI.Page... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Source:
// https://www.h3xed.com/programming/create-2d-mesh-outline-in-unity-silhouette
// https://www.youtube.com/watch?v=8AKhr3c4HOs
// OutlineGenerator attaches an GameObject with a linerenderer, to an object with any 2DCollider.
pu... |
using MyHeroKill.Model.Skills;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyHeroKill.Model.Roles
{
public class BianqueRole : BaseRole
{
public BianqueRole()
{
this.IndexOfRoles = 1;
this... |
using Clients.Conforming;
using Common;
using Common.Business;
using Common.Log;
using Common.Presentation;
using Common.Presentation.Controls;
using Entity;
using SessionSettings;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.ServiceModel;
using System.Text;
usi... |
using System.Collections.Generic;
using NHibernate.Criterion;
using NHibernate.SqlCommand;
using Profiling2.Domain.Contracts.Queries.Suggestions;
using Profiling2.Domain.Prf.Persons;
using SharpArch.NHibernate;
using Profiling2.Domain.Prf.Responsibility;
namespace Profiling2.Infrastructure.Queries.Suggestions
{
p... |
using System.ComponentModel;
using TMPro;
using UnityEngine;
public class NonProperties : MonoBehaviour
{
public Camera cam;
public SpriteRenderer spr;
public Camera bgc;
public SpriteRenderer updown;
private void Start()
{
updown = GetComponent<SpriteRenderer>();
// 攝影機深度
... |
namespace Calendar
{
/// <summary>
/// 中国日历相关数据
/// </summary>
internal static class ChineseCalendarData
{
/// <summary>
/// 农历月
/// </summary>
public static readonly string[] LunarMonths = {"正月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Tools;
namespace _059
{
class Program
{
private const string Filepath = "../../cipher1.txt";
private const byte AsciiSpace = 0x20;
private const byt... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event of type `CollisionPair`. Inherits from `AtomEvent<CollisionPair>`.
/// </summary>
[EditorIcon("atom-icon-cherry")]
[CreateAssetMenu(menuName = "Unity Atoms/Events/CollisionPair", fileName = "CollisionPairEvent")]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoidRandom : BoidBehavior
{
public override bool UpdateDirection()
{
dir = Random.insideUnitCircle.normalized;
return true;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WanderScript : MonoBehaviour {
public float[] forceBoundaries = new float[2];
public float[] intervalBoundaries = new float[2];
Rigidbody2D rb2;
// Use this for initialization
void Start () {
rb2 = GetComponent<Rig... |
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 Florentis;
using System.IO;
namespace VerifySign
{
public partial class SignatureCompareForm: ... |
using Services.Abstractions.Services;
namespace Services.Implementations.Services
{
public class LynxServiceProvider: ILynxServiceProvider
{
public LynxServiceProvider(ITripService tripService)
{
TripService = tripService;
}
public ITripService TripService { get; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace VeterinariaT1.Controller
{
class ControllerUC
{
public void CargarUCGrid(Grid g, UserControl uc)
{
if (g.Children.Count != 0)... |
using System;
class NullValuesArithmetic
{
static void Main()
{
Console.Title = "Null values arithmetic";
int? i = null;
double? d = null;
Console.WriteLine("i={0}\t[null values]", i);
Console.WriteLine("d={0}\t[null values]", d);
i = i.GetValueOrDefault() + 5;
... |
using System;
namespace _2_Shapes
{
public class Shape
{
public int X { get; private set; }
public int Y { get; private set; }
public int Height { get; set; }
public int Width { get; set; }
// Virtual method
public virtual void Draw()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Caching;
using TY.SPIMS.Controllers;
using System.Web;
using System.Threading;
namespace TY.SPIMS.Client.Helper
{
public class CacheManager
{
private static HttpRuntime _httpRuntime;
public ... |
using NUnit.Framework;
namespace StrongTest.Core.Tests
{
public class StatementMutationTests
{
[Test]
public void TestStatement1_Should_Return_120()
{
var statementMutation = new StatementMutation();
int result = statementMutation.TestStatement1();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace LongigantenAPI.Models
{
public class OrderForCreateDto : OrdersForManipulationDto
{
[Required]
public List<OrderLineForCreateDto> Ord... |
using JustOffer.Offer;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.IO;
using JustOffer.MenuDatabase;
namespace JustOffer.UnitTest
{
public class TestDataFactory
{
#region offer json
#endregion
public List<CustomOffer> GetOffer(string offerJson)
{
... |
using Hayaa.CacheKeyStatic;
using Hayaa.Redis.Client;
using Hayaa.Security.Service;
using System;
namespace Hayaa.WorkerSecurity.Client
{
internal class WorkerSecurityProvider
{
public static Boolean UserAuth(String token)
{
Boolean result = false;
var info = RedisServi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/* A Hello World! program in C#.
This program displays the string "Hello World!" on the screen with greats hints. */
namespace Hello_World
{
class Hello
{
static void Main(string[] args)... |
using UnityEngine;
/// <summary>
/// Tipo de ataque mas simple, al esperar el tiempo de ejecucion, le hace daño al jugador sin importar que.
/// </summary>
[CreateAssetMenu(fileName = "New Target Attack Data", menuName = "ScriptableObjects/EnemyAttackData/TargetAttackData", order = 1)]
public class TargetAttack : Ene... |
using System;
using System.Collections;
using System.Web.Http;
using System.Web.Http.Description;
using CustomReviewModule.Data.Model;
using System.Collections.Generic;
using System.Net;
using CustomReviewModule.Data.Infrastructure;
namespace CustomReviewModule.Web.Controllers.Api
{
[RoutePrefix("")]
public c... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace SampleFunc
{
public static class Greet
{
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Medi... |
using UnityEngine;
namespace Assets.Scripts.Extension
{
public static class DrawTreatment
{
public static Rect ScreenRectThreatment(Rect rect)
{
if ((Screen.height < rect.yMax) && (Screen.width < rect.xMax))
return new Rect(rect.x - (rect.xMax - Screen.width), rect.... |
using System.IO;
namespace InvertedIndex.FileHandler
{
public interface IDirectoryReader
{
FileInfo[] GetFiles(string path);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Drawing.Imaging;
using Microsoft.Xna.Framework.Graphics;
namespace MegaMan.Common
{
public class Palette
{
private stati... |
using UnityEngine;
public class Enemy : MonoBehaviour
{
public float StartSpeed = 7f;
public float speed;
public static float health = 3f;
public static int enemyCurrency = 20;
private Transform target;
private int waypointIndex = 0;
void Start()
{
//setting the first target of our e... |
/*
Dataphor
© Copyright 2000-2015 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
using System;
using System.Reflection;
using Alphora.Dataphor;
using Alphora.Dataphor.BOP;
using Alphora.Dataphor.DAE.Streams;
using Alphora.Dataphor.DAE.... |
// <copyright file="Packet.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2019 Firoozeh Technology 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
//... |
using System;
namespace NStandard
{
public static partial class ArrayExtensions
{
#region Multidimensional Array ToJaggedArray
/// <summary>
/// Converts jagged array to multidimensional array.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name=... |
using SensorsDBAPI.Filters;
using SensorsDBAPI.Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace SensorsDBAPI.Controllers
{
[BasicAuthentication]
public class AlertsController : ApiC... |
// ====================================================
// More Templates: https://www.ebenmonney.com/templates
// Email: support@ebenmonney.com
// ====================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using ListCoreApp.Data;
using ListCoreApp.Models;
using ListCoreApp.Requests.Item;
using ListCoreApp.Responses.Item;
usi... |
using BDTest.Attributes;
using BDTest.Test;
using BDTest.Tests.Helpers;
using NUnit.Framework;
namespace BDTest.Tests.Fixtures;
[Parallelizable(ParallelScope.None)]
[Story(AsA = "BDTest developer",
IWant = "to make sure that custom scenario text attributes work properly",
SoThat = "tests can be translated to ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HW.Models
{
public class Sp_Department_Result
{
public int? DepartmentID { get; set; } = null;
public byte[] RowVersion { get; set; } = null;
}
}
|
namespace Z.Framework.DbEntity
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class T_MENU
{
[System.Diagnostics.CodeAnalysis.Suppress... |
using Microsoft.EntityFrameworkCore;
namespace AssetTracking_EF
{
class AssetTrackorContext : DbContext
{
public DbSet<CompanyAsset> CompanyAssets { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlServer(@"Dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
namespace FallstudieSem5.Models
{
[Table("PropertyOwner")] // created Table with the... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Utilities;
namespace EddiDataDefinitions
{
public class FleetCarrier : INotifyPropertyChanged
{
private long? _carrierId;
private FrontierApiStation _marke... |
using System;
using System.Collections.Generic;
using System.Text;
using MySql.Data.MySqlClient;
namespace VerificacionDeAutenticidad
{
class ejecutar
{
private static MySqlCommand command;
private static conectar Coneccion;
private static MySqlDataAdapter adaptador;
... |
using Pe.Stracon.SGC.Aplicacion.Core.Base;
using Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual;
using System;
using System.Collections.Generic;
namespace Pe.Stracon.SGC.Application.Core.ServiceContract
{
public interface IFlujoAprobacionService : IGenericService
{
/// <summary>
... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using LogicAndTrick.Oy;
using Newtonsoft.Json;
using Sledge.BspEditor.Documents;
using Sledge.BspEditor.Primitives.MapObjects;
using Sledge.Common.Shell.Documents;
namespace Sledge.BspEditor.Components
{
... |
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the root of the project.
/*
This file provides URLs to help get Microsoft Graph data.
*/
using System.Threading.Tasks;
namespace Office_Add_in_ASPNET_SSO_WebAPI.Helpers
{
/// <summary>
/// Provides met... |
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 DevExpress.XtraEditors;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.Entities.FVS;
using IRAP.Enti... |
namespace Classes
{
using System;
using Interfaces;
public class Mine : IMine
{
private const int MaxDelay = 10_000;
private const int MaxX = 1_000_000;
private const int MaxDamage = 100;
private int delay;
private int xCoordinates;
private int damage;
... |
using System;
namespace AtividePagina9
{
class PotenciasDe2
{
static long PotenciaDe2(int E)
{
{
if (E == 0)
return 1;
else
return 2 * PotenciaDe2(E - 1);
}
}
static void Main(string... |
using System;
using System.Collections.Generic;
using UnityEngine;
public class Field : MonoBehaviour
{
public GameObject insideWall; //Prefab情報を格納
public GameObject hole; //Prefab情報を格納
private GameObject cloneObject; //Instantiate関数により生成したインスタンス情報(GameObject型)を格納
private Transform cloneObjec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TimeTracker.Core.Constants;
using TimeTracker.Infrastructure.Dto;
using TimeTracker.Infrastructure.Entities;
namespace TimeTracker.Infrastructure.DtoMapper
{
public class TrackerHistoryEntityT... |
using System;
using System.IO;
using System.Text;
using Xunit;
namespace Atc.Tests.Extensions
{
public class MemoryStreamExtensionsTests
{
[Fact]
public void ToBytes()
{
// Arrange
var input = "Hallo world".ToStream() as MemoryStream;
// Act
... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Constant of type `Color`. Inherits from `AtomBaseVariable<Color>`.
/// </summary>
[EditorIcon("atom-icon-teal")]
[CreateAssetMenu(menuName = "Unity Atoms/Constants/Color", fileName = "ColorConstant")]
public sealed clas... |
using Alabo.Validations;
namespace Alabo.Domains.Entities.Core {
/// <summary>
/// 领域对象
/// </summary>
public interface IDomainObject : IValidation {
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ScoreSquid.Web.Models;
using ScoreSquid.Web.ViewModels;
namespace ScoreSquid.Web.Controllers
{
[Authorize]
public class MiniLeagueController : Controller
{
public ActionRes... |
using System.Linq;
using System.Windows.Forms;
using DelftTools.Shell.Gui.Swf.Extensions;
using NUnit.Framework;
namespace DelftTools.Tests.Shell.Gui.Swf
{
[TestFixture]
public class ControlExtensionsTest
{
private Form form;
private Control userControl;
#region Setup
[Te... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace gView.Interoperability.GeoServices.Rest.Json
{
public class JsonObjectIdResponse
{
[JsonProperty("objectIdFieldName")]
public string ObjectIdFieldName { get; set; }
[JsonProperty("objectIds")]
public IEnumerabl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PropertiesIndexators
{
class Listing14
{
private int code;
public Listing14(int n)
{
code = n;
}
public override string ToString()
... |
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Action of type `ColliderGameObject`. Inherits from `AtomAction<ColliderGameObject>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class ColliderGameObjectAction : AtomAction<ColliderGameObject> { ... |
using System.Windows;
using System.Windows.Media;
namespace Crystal.Plot2D
{
public delegate void MarkerRenderHandler(DrawingContext dc, Point screenPoint);
/// <summary>
/// Renders markers along graph.
/// </summary>
public abstract class PointMarker : DependencyObject
{
/// <summary>
/// Rende... |
using ConsoleApplication1.Models;
namespace ConsoleApplication1.Interfaces
{
public interface IMakelaarPartialViewModelBuilder
{
MakelaarPartialViewModel Create(int positie, string naam, int totaalAantalObjecten);
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace ConsoleApp1
{
class ServerMain
{
public static Hashtable clientsList = new Hashtable();
public static stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
namespace Tomelt.WarmupStarter
{
public class Starter<T> where T : class
{
private readonly Func<HttpApplication, T> _initialization;
pr... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace SampleMVCSolution.Models
{
public class Exchange
{
[Column(Order = 1), Key]
[DataType(Dat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Cubito : MonoBehaviour {
Vector3 cubitoTras;
float factorVel;
public int Player;
// Use this for initialization
void Start () {
cubitoTras = new Vector3 (0.0f, 0.0f, 0.0f);
factorVel = 3.0f;
}
// Update is cal... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Nez;
using Nez.Sprites;
using Nez.UI;
using SpaceCamp.Entities;
using SpaceCamp.Scenes;
using SpaceCamp.UI;
namespace SpaceCamp
{
/// <summary>
/// This is the main type for your game.
/// </s... |
using System;
namespace PluralsightDdd.SharedKernel.Interfaces
{
public interface IDomainEvent
{
/// <summary>
/// UTC DateTime when event occurred
/// </summary>
DateTime DateTimeEventOccurred { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotelManagement.DataObject;
using System.Windows.Forms;
using System.Data;
namespace HotelManagement.Controller
{
public class DonViControl
{
DonViData data = new DonViData();
public void... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System.Xml.Serialization;
using System.Xml;
using System.Linq;
public class database_handle : MonoBehaviour {
public struct score
{
public int player_score;
public string jatekos... |
using System;
namespace SocialMedia.Core.CustomEntities
{
public class Login
{
public Guid ApplicationId { get; set; }
public Guid UserId { get; set; }
public string UserName { get; set; }
public string LoweredUserName { get; set; }
public string MobileAlias { get; set... |
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.AutoMapper;
using Abp.Linq.Extensions;
using Abp.Extensions;
using Abp.Domain.Repositories;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Linq.Dynamic.Core;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactoryMethod
{
public interface IAnimal
{
void MakeSound();
void GetName();
}
public enum Animals { Dog, Cat, Wolf}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace CursoCsharp.ClassesEMetodos
{
class Mebros
{
public static void Executar()
{
Pessoa sicrano = new Pessoa();
sicrano.Nome = "Leonardo";
sicrano.Idade = 23;
//Console.Wri... |
/*
* 版本:4.0
* 时间:2015/4/15
* 作者:http://www.foxuc.com
*
* 描述:实体类
*
*/
using System;
using System.Collections.Generic;
namespace Game.Entity.NativeWeb
{
/// <summary>
/// 实体类 GameRulesInfo。(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class GameRulesInfo
{
#region 常量
/// <summary... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class AutoLoadFromSetup : MonoBehaviour
{
void Awake ()
{
if ( SetupManager.instance == null )
{
// reset input?
if ( InputManager.instance != null )
{
InputManager.instance.Disable... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#pragma warning disable 0649 // For serialized fields
using Microsoft.MixedReality.Toolkit.Utilities;
using System.Collections.Generic;
using UnityEditor;
using Uni... |
namespace LeadChina.CCDMonitor.Infrastrue
{
public abstract class AbstractEtFactory
{
public abstract BaseEntityOperation<T> GetEntityOperation<T>() where T : new();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class SceneFader : MonoBehaviour
{
public Image m_Img;
public AnimationCurve m_FadeCurve;
private void Start()
{
StartCoroutine (FadeIn ());
}
public void FadeTo(st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lab.MIS.Model;
namespace Lab.MIS.BLL
{
public class MonitorPointInfoService : BaseService<MonitorPointInfo>
{
public override void setCurrentDal()
{
CurrentDal ... |
using MassTransit;
using Ntech.Saga.Contracts;
using Ntech.Saga.Service.Handling.Consumers;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Ntech.Saga.Service.Handling
{
class Program
{
public static async Task Main(string[] args)
{
// Register endpoi... |
namespace Sentry.Internal;
internal interface IEnumeration : IComparable
{
internal string Value { get; }
}
internal interface IEnumeration<T> : IEquatable<T>, IComparable<T>, IEnumeration
{
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DatosJugador : MonoBehaviour
{
Arbol[] arboles;
Arbol activeArbol;
private void Awake()
{
arboles = GetComponentsInChildren<Arbol>();
foreach(Arbol arbol in arboles)
{
arbo... |
using RusticiSoftware.HostedEngine.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HackerFerret.ScormHelper.Extensions
{
public static class RegistrationExtensions
{
public static string ToFormattedString(this Regi... |
using Model.Migrations;
using Model.ResponseModels;
using Model.ViewModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Service.Interfaces.IChat
{
public interface IChatService
{
/// <summary>
/// 發送訊息
/// </summary>
... |
using System;
using System.Net;
using System.Net.Sockets;
namespace kcp2k
{
public static class Extensions
{
// non-blocking UDP send.
// allows for reuse when overwriting KcpServer/Client (i.e. for relays).
// => wrapped with Poll to avoid WouldBlock allocating new SocketException.
... |
using ND.FluentTaskScheduling.Command.Corn;
using ND.FluentTaskScheduling.Model.enums;
using Quartz;
using Quartz.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//**********************************************************************... |
namespace EIM.Exceptionless
{
public static class ApplicationBuilderExtensions
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2020 {
public class Problem19 : AdventOfCodeBase {
private Dictionary<int, Rule> _rules;
private List<List<Rule>> _tiers;
private List<string> _messages;
private Dictiona... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RandomGenerator
{
/// <summary>
/// Defines a feature of a document
/// </summary>
public class Feature
{
private List<Feature> subElements;
private Dictionary<String, Style... |
using MediaBrowser.Model.Drawing;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Extensions;
using MediaBrowser.Model.MediaInfo;
using MediaBrowser.Model.Session;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace MediaBr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.EditorTools;
//[EditorTool("Platform Tool")]
public class SceneViewTool : EditorTool {
[SerializeField]
Texture2D m_ToolIcon;
GUIContent m_IconContent;
/*
private void OnEnable... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.