text stringlengths 13 6.01M |
|---|
using OrgMan.DomainObjects.Session;
using System;
using System.Collections.Generic;
namespace OrgMan.DomainContracts.Session
{
public class UpdateSessionQuery
{
public List<Guid> MandatorUIDs { get; set; }
public SessionDomainModel Session { get; set; }
}
}
|
using Microsoft.Xna.Framework;
using static OpenOracle.Old.Global;
namespace OpenOracle.Old
{
internal class PlayerOld : MobileActorOld
{
private const int
X_EASING = 5,
Y_EASING_TOP = 6,
Y_EASING_BOTTOM = 1,
X_DIRECTIONAL_EASING = 7,
Y_DIRE... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class tasks : MonoBehaviour
{
public static tasks instance = null;
private void Awake()
{
if (instance == null)
{
instance = this;
... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
[RequireComponent(typeof(Button))]
public abstract class ButtonBase : MonoBehaviour {
private void Awake() {
Button btn = this.GetComponent<Button>();
btn.onClick.AddListener(() => callback());
}
public abstract void call... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour {
public Camera MainCamera;
public Camera FinalCamera;
public void ShowMainCamera()
{
MainCamera.enabled = true;
FinalCamera.enabled = false;
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using UFO.Server;
using UFO.Server.Data;
namespace UFO.WebService.Controllers
{
public class ArtistController : ApiController
{
private IArtistService artistService;
... |
using Dapper;
using SAAS.FrameWork.Module.Sql.Mysql;
using SAAS.FrameWork.Extensions;
using Newtonsoft.Json.Linq;
namespace SAAS.DB.Dapper
{
public class DapperSqlBuild: SqlBuild
{
public readonly DynamicParameters sqlParam = new DynamicParameters();
public DapperSqlBuild()
{
... |
using gView.Framework.Carto;
using gView.Framework.Carto.Rendering;
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.Geometry;
using gView.Framework.Symbology;
using gView.Framework.Sys.UI.Extensions;
using gView.Framework.UI.Controls;
using Syst... |
namespace SocketLite.Logs
{
public interface ILogger
{
bool ServerWrite { get; }
bool AddTime { get; }
void Clear();
void WriteLog(string message);
void WriteLog(string format, params object[] args);
void WriteServerLog(string message);
void WriteServerLo... |
namespace com.Sconit.Web.Controllers.ORD
{
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using com.Sconit.Entity.ORD;
using com.Sconit.Service;
using com.Sconit.Web.Models;
using com.Sconit.Web.Models.SearchModels.ORD;
using com.Sconit.Utility;
using Te... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MasterBedroomTileset : TileSet
{
}
|
namespace Tutorial.Functional
{
using System;
using System.Collections.Generic;
using System.Linq;
internal static partial class Functions
{
internal static void OutputAsInput()
{
string input = "-2";
int output1 = int.Parse(input); // string -> int
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem325 : ProblemBase {
public override string ProblemName {
get { return "325: Stone Game II"; }
}
public overr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DoorDetection : MonoBehaviour
{
public GameObject Door;
public OpenLockedDoor openLockedDoor;
private void OnTriggerStay2D(Collider2D collision)
{
if (collision.gameObject.tag == "Door")
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace IvanovoCity
{
class Apartment : Building
{
public Apartment()
{
active_b = house.apartment;
IsEmpty = false;
... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Web.Script.Serialization;
using Progress.Sitefinity.Translations.MicrosoftMachineTranslatorConnector;
using Progress.Sitefinity.Translations.MicrosoftMachineTr... |
using Backend.Model;
using Backend.Model.Exceptions;
using Backend.Model.Pharmacies;
using IntegrationAdaptersActionBenefitService.Repository;
using IntegrationAdaptersActionBenefitService.Service;
using Moq;
using Xunit;
namespace IntegrationAdaptersTests.UnitTests
{
public class ActionBenefitServiceTest
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossShooting : MonoBehaviour {
[SerializeField] GameObject BossProjile;
Player player;
[SerializeField] float timeBetweenShooting = 0.3f;
[SerializeField] int shootingWave = 5;
[SerializeField... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
namespace BAH.BOS.Pattern
{
/// <summary>
/// 单例基类。
/// </summary>
/// <typeparam name="T">实例类型。</typeparam>
public class Singleton<T> : ISingleton<T> where T : class, new()... |
using System;
using System.Collections.Generic;
namespace ServiceDeskSVC.DataAccess.Models
{
public partial class NSLocation
{
public NSLocation()
{
this.AssetManager_Hardware = new List<AssetManager_Hardware>();
this.AssetManager_Hardware1 = new List<AssetManager_Hardwa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Cellar : Room
{
private CellarTileset tileset;
private Orientation orientation;
IntRange shortRange = new IntRange(5, 6);
IntRange longRange = new IntRange(13, 16);
List<Furniture> furnitureOptions;
List... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using NesScripts.Controls.PathFind;
namespace MCUU.SuperTiled2Unity {
public static class SuperMapUtils {
/// <summary>
/// Creates a boolean representation of the given tilemap's boundaries. This
/// boundary map is used ... |
using UnityEngine;
using System.Collections;
public class BallMovement : MonoBehaviour {
public float jumpForce = 750f;
private bool collisionWithFlor = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
handleClicks ();
}
void OnCollisionEnte... |
using System.ComponentModel;
namespace CYJ.DingDing.Dto.Enum
{
public enum ApiCodeEnum
{
[Description("系统错误")]
Error = 0,
[Description("对象不能为空")]
NullReferenceException,
[Description("请求Token失败")]
RequestTokenFailure,
[Description("无效的Id")]
In... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameController : MonoBehaviour
{
public GameObject waterTower;
public GameObject follower;
public GameObject player;
public static int boardLength;
private float xPos = -2... |
namespace OpenMagic.ErrorTracker.WebApi.Specifications.Settings
{
public class WebApiSettings
{
private static int _lastPort = 9000;
private readonly int _port;
public WebApiSettings()
{
_port = ++_lastPort;
}
public string BaseUri => $"http://local... |
using Microsoft.Extensions.Primitives;
using OpenTelemetry;
using OpenTelemetry.Context.Propagation;
using Sentry.Extensibility;
namespace Sentry.OpenTelemetry;
/// <summary>
/// Sentry OpenTelemetry Propagator.
/// Injects and extracts both <c>sentry-trace</c> and <c>baggage</c> headers from carriers.
/// </summary>... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Don_SampleTrackingApp
{
public class RaportareDbContext : DbContext
{
public RaportareDbContext(DbContextOptions<RaportareDbContext> options)
: ba... |
namespace ForumSystem.Web.ViewModels.Administration.Posts
{
using System.Collections.Generic;
using ForumSystem.Web.ViewModels.PartialViews;
public class PostCrudModelList
{
public IEnumerable<PostCrudModel> Posts { get; set; }
public PaginationViewModel PaginationModel { get; set; }... |
namespace Data.Repositories
{
using System.Data.Entity;
using Interfaces;
using Models;
public class UserRepository : Repository<User>, IUserRepository
{
public UserRepository(DbContext context) : base(context)
{
}
}
} |
namespace Fragenkatalog.Model
{
abstract class Benutzer
{
//# benutzer_nr: int
//# login_name : string
//# email_adresse : string
//# passwort : string
// Attribute
protected uint benutzer_nr;
protected string login_name;
protected string email_a... |
using ArquiteturaLimpaMVC.Dominio.Entidades;
using MediatR;
using System.Collections.Generic;
namespace ArquiteturaLimpaMVC.Aplicacao.Produtos.Queries
{
public class TodosProdutosQuery : IRequest<IEnumerable<Produto>>
{
}
} |
using System;
using System.Collections.Generic;
namespace Inventory.Data
{
/// <summary>
/// Особеность (изображение: острое и т.д.)
/// </summary>
public class Mark : BaseEntity
{
public Guid RowGuid { get; set; }
public byte[] Picture { get; set; }
public virtual IColl... |
namespace Alabo.App.Share.OpenTasks.Base
{
/// <summary>
/// 模板信息
/// </summary>
public class TemplateRule
{
/// <summary>
/// 日志模板
/// </summary>
public string LoggerTemplate { get; set; } =
"会员{OrderUserName}消费,会员{ShareUserName}{AccountName}账户获得... |
using System.Collections;
using System.Collections.Generic;
using System;
using Newtonsoft.Json;
using UnityEngine;
using System.Runtime.CompilerServices;
using Unity;
public static class NoteHendler
{
public static List<Note> notes;
public static List<Note> availableNotes = new List<Note>();
public static... |
/*
* Author: Generated Code
* Date Created: 08.06.2011
* Description: Represents a row in the tblAktenIntActionType table
*/
namespace HTB.Database
{
public class tblAktenIntActionType : Record
{
#region Property Declaration
[MappingAttribute(FieldType = MappingAttribute.FIELD_TYPE_ID, FieldAutoNumber ... |
using System;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Com.Colin.Web
{
[DefaultProperty("Text")]
[ToolboxData("<{0}:BBSPager runat=server></{0}:BBSPager>")]
public class BBSPager : WebControl
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentAssertions;
using Nancy.Testing;
using Xunit;
namespace Testr.Tests
{
public class Class1
{
[Fact]
public void Test()
{
true.Should().BeTrue();
}
}
}
|
using System;
using System.Collections.Generic;
using com.Sconit.Entity.Exception;
using NHibernate.Type;
namespace com.Sconit.Web.Models
{
public class ProcedureSearchStatementModel : BaseModel
{
public string CountProcedure { get; set; }
public string SelectProcedure { get; set; }
pu... |
using BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebSport.Models;
namespace WebSport.Controllers
{
public class CompetitorController : Controller
{
private DAL.IRepository<Competitor> repo;
public Competit... |
using System.Web.Mvc;
using LearningSystem.Models.ViewModels.Admin;
using LearningSystem.Services;
using LearningSystem.Services.Interfaces;
using LearningSystem.Web.Attributes;
namespace LearningSystem.Web.Areas.Admin.Controllers
{
[MyAuthorize(Roles = "Admin")]
[RouteArea("Admin")]
public class AdminController :... |
using System;
using UKPR.Hermes.NG.Models.DataContract;
namespace UKPR.Hermes.Models
{
public class NgDispatchMessage : NgBaseRawMessage
{
public InstructionMessage NgRawMessage { get; set; }
public bool Accepted { get; set; }
public string Reason { get; set; }
public Guid? Con... |
using System.Collections.Generic;
namespace Shared
{
public interface IKidService
{
void SaveKids(IEnumerable<KidDto> kids);
void SaveOrUpdateKids(IEnumerable<KidDto> kids);
IEnumerable<KidDto> GetKids();
}
} |
using System.ComponentModel.DataAnnotations;
using Tomelt.ContentManagement;
namespace ArticleManage.Models {
public class ArticlePart : ContentPart<ArticlePartRecord>
{
[Display(Name = "内容摘要")]
public string Summary
{
get { return Record.Summary; }
set { Record... |
using Cs_Gerencial.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Infra.Data.EntityConfig
{
public class Se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace DDMedi.Test.Helper
{
public static class SupplierChannelHelper
{
public static bool HasSupplier<TSupplier>(this object supplierChannel) where TSupplier : class
{
var cachedInstanc... |
using System;
using System.Collections.Generic;
using SignInCheckIn.Models.DTO;
using Microsoft.AspNet.SignalR;
namespace SignInCheckIn.Services.Interfaces
{
public interface IWebsocketService
{
void PublishRoomCapacity(int eventId, int roomId, EventRoomDto data);
void PublishCheckinParticipan... |
using LimenawebApp.Models;
using Newtonsoft.Json;
using Postal;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Script.Serialization;
using Microsoft.SharePoint.Client;
using System.Security;
using System.Data.SqlClie... |
using System;
using System.Collections;
using System.ComponentModel;
using DelftTools.Utils;
using DelftTools.Utils.Collections;
using DelftTools.Utils.Data;
namespace DelftTools.Functions
{
///<summary>
/// Multi-dimensional array.
///
/// <remarks>
/// When values are accessed using <see cref="... |
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 ZM.TiledScreenDesigner.WinApp
{
public partial class frmGetRotation : Form
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ejercicio_19
{
public class Sumador
{
private int cantidadSumas;
public Sumador(int cantidadSumas)
{
this.cantidadSumas = cantidadSumas;
}
... |
using MySql.Data.MySqlClient;
using System;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace GYOMU_CHECK
{
public partial class GC0050 : Form
{
private User user;
CommonUtil comU = new CommonUtil();
public bool torokuFlg = false;
... |
namespace Motherload.Interfaces.Unity
{
/// <summary>
/// Lida com carregamento dos Resources
/// </summary>
public interface IResourceLoader
{
/// <summary>
/// Carrega um arquivo json da pasta Assets/Resources
/// </summary>
/// <param name="path">Caminho para o re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using NetNote.Models;
using NetNote.Repository;
using NetNote.ViewModels;
namespace NetNote.Api
{
[Route("api/note")]
public class NoteApiController : Controller
{
priva... |
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Responsible for initializing the text in the winner scene
/// along with background music.
/// </summary>
public class WinnerSceneGui : MonoBehaviour
{
/// <summary>
/// Initializes dynamic text in the winner scene
/// along with background music.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.CalculateSumAccuracy
{
class CalculateAccuracy
{
static void Main()
{
double firstNum = 3d;
double secondNum = 2d;
double sumFir... |
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class RespawnedEvent : Event
{
public const string NAME = "Respawned";
public const string DESCRIPTION = "Triggered when you respawn (either after injury or after handing yourself in to local authorities)";
pu... |
using UnityEngine;
[RequireComponent(typeof(Collider))]
[RequireComponent(typeof(Rigidbody))]
public class TRex : MonoBehaviour
{
public float rushSpeed;
public float timeUntilRush;
private float initRushTime;
private bool rushing = false;
private bool outOfPoint = false;
private Collider co... |
using DChild.Gameplay.Objects.Characters;
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChild.Gameplay.Combat.StatusEffects
{
public class HealthRegeneration : MonoBehaviour
{
[SerializeField]
private float m_duration;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rwd.Framework.Extensions
{
public static class NumberExtensions
{
public static int ToInt(this decimal number)
{
return (int)number;
}
public static int IntTryParse(thi... |
using System;
namespace PT
{
class Program
{
static void Main(string[] args)
{
var watch = System.Diagnostics.Stopwatch.StartNew();
for (int i = 0; i < 250000; i++)
{
Console.WriteLine(1);
}
watch.Stop();
C... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Exemplo.Application.ViewModel;
namespace Exemplo.Application.Service
{
public interface IContatoService
{
Task<IEnumerable<ContatoViewModel>> GetAll();
Task<ContatoViewModel> RetornaPorId(int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chapter03_03
{
class CPoint2<T>
{
private T theX;
private T theY;
public CPoint2()
{
}
public CPoint2(T aX, T aY)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.SceneManagement;
using System.IO;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public static GameManager gameManager;
[SerializeField] private float money;
... |
using UnityEngine;
public class Credits: MonoBehaviour
{
public delegate void BackButtonClickedEvent();
[SerializeField]
private Canvas canvas;
[SerializeField]
private Camera camera;
[SerializeField]
private AutoScroll scroll;
[SerializeField]
private AutoPlayA... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
interface IPlayerWeapon
{
int DamageValue
{
get;
set;
}
void OnAttackEvent();
Collider AttackHitBox
{
get;
set;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyMovement : MonoBehaviour
{
Rigidbody rb;
float pnoise;
float searchspeed;
float attackspeed;
float damagedist;
float incr;
int walking;
bool seenyou;
MeshCollider sight;
Collider p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HomeWork5
{
class Program
{
static void Main(string[] args)
{
//проверяем является ли число степенью двойки//
int x = 0;
int s;
... |
using Nancy.Hosting.Self;
using Newtonsoft.Json;
using RazorEngine;
using RazorEngine.Templating;
using RingCentral;
using System;
using System.IO;
namespace csharp_client_nancy
{
class Program
{
static void Main(string[] args)
{
var uri = new Uri(string.Format("http://{0}:{1}", Co... |
using System;
using System.IO;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed partial class VlcManager
{
public bool TakeSnapshot(VlcMediaPlayerInstance mediaPlayerInstance, uint outputNumber, string filePath, uint width, uint height)
{
... |
using Google.Apis.Auth.OAuth2;
using Google.Apis.Gmail.v1;
using Google.Apis.Gmail.v1.Data;
using Google.Apis.Services;
using Google.Apis.Util.Store;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;
using System.Data.SqlClient;
using System.Web.Configuration;
using GreenValleyAuctionsSystem;
namespace GreenValleyAuctionsSystems
{
public ... |
using System;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Phenix.Core.Security.Cryptography;
using Phenix.Web.Client.Security;
namespace Phenix.Web.Client
{
internal class ClientHandler : HttpClientHandler
{
public ClientHandler(UserIdentity userIdenti... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FragmentAddon : ExplodableAddon
{
[Header("Destroy after")]
public float seconds = 5;
[Header("Damage")]
public Team originTeam;
public LayerMask playerLayer;
public int damage = 1;
public float minV... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.IO.IsolatedStorage;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace Countly
{
public class PersistantQueue<T> : IEnumerable<T>
{
Queue<T> queue;
public PersistantQueue()
{
queue = new Que... |
namespace SubC.Attachments {
using UnityEngine;
public static class ClingyUtils {
public static Quaternion LookAt2D(Vector3 currentPos, Vector3 lookAtPos, bool flipX = false) {
Vector2 delta = lookAtPos - currentPos;
float radians = Mathf.Atan2(delta.y, delta.x);
r... |
using eMAM.Data.Models;
using eMAM.Service.DTO;
using System.Threading.Tasks;
namespace eMAM.Service.DbServices.Contracts
{
public interface IGmailUserDataService
{
Task CreateAsync(GmailUserDataDTO gmailUserData);
Task UpdateAsync(GmailUserDataDTO gmailUserData);
Task<GmailUserData>... |
using AppJCDV.Models;
using Refit;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Essentials;
namespace AppJCDV.Services
{
public class UsuarioService
{
//No inicio vou considerar que o usuario já existe e vou somente atualizar a posição ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Groceries.Domain;
namespace Groceries.MonoDroid
{
[Activity (Label = "ShoppingCartAdapter")]
... |
#if UNITY_2018_1_OR_NEWER
using System;
using System.IO;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace PumpEditor
{
public class SaveProjectAsTemplateEditorWindow : EditorWindow
{
private static readonly string UnityEditorApplicationProjectTemplatesPath = Path.Combine(
... |
using Memory;
using System;
using System.Diagnostics;
using System.IO;
using System.IO.Pipes;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace LAdotNET.GameLauncher
{
class Program
{
static void Main(string[] args)
{
Mem m = new Mem();
... |
using System.ComponentModel;
namespace MainTool.Enums
{
public enum TaskType
{
[Description("Найкоротший шлях на мережі")]
ShortestWay,
[Description("Максимальний потік на мережі")]
MaxFlow
}
} |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestHouse.Application.Infastructure.Repositories;
using TestHouse.Domain.Models;
namespace TestHouse.Infrastructure.Repositories
{
public class ProjectResp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.Serialization.Json;
namespace _4._4_JSON_serialization
{
class Program
{
static void Main(string[] args)
{
UpdateJson update = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities;
namespace DataAccessLayer.Repository
{
public class LoginRepository : BaseRepository<Login>
{
public LoginRepository(TaskManagementContext context) : base(context)
... |
using System.Data;
namespace Samples.AspNetCore.Mvc;
public class GameService : IGameService
{
private readonly ILogger<GameService> _gameLogger;
public GameService(ILogger<GameService> gameLogger) => _gameLogger = gameLogger;
public async Task<(int dungeonsIds, int userMana)> FetchNextPhaseDataAsync()
... |
using System;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using Newtonsoft.Json;
namespace CYJ.Utils.Extension.ObjectExtension
{
public static class ObjectExtension
{
#region 类型转换
/// <summary>
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using BezierMasterNS;
using BezierMasterNS.MeshesCreating;
[CustomEditor(typeof(CreateMeshBase), true)]
public class MeshCreatorEditor : Editor
{
protected CreateMeshBase meshCreator;
protected BezierMaster mas... |
// CrowdSimulator - Form1.cs
//
// Copyright (c) 2012, Dominik Gander
// Copyright (c) 2012, Pascal Minder
//
// Permission to use, copy, modify, and distribute this software for any
// purpose without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.SI.SAP
{
public class SupplierSearchModel : SearchModelBase
{
//Id, Code, OldSupplierCode, Name, IOStatus, InboundDate, OutBoundDate
public int Id { get; set; }
... |
using GUI.Models;
using Windows.UI.Xaml;
namespace GUI.ViewModels
{
/// <summary>
/// Bunch of View converter helpers to improve the views
/// </summary>
public static class Converters
{
/// <summary>
/// Returns the reverse of the provided value.
/// </summary>
pub... |
using Newtonsoft.Json;
using System;
namespace Project2Service.Models
{
public class Contact
{
[JsonProperty("ID")]
public int Id { get; set; }
[JsonProperty("Email")]
public string Email { get; set; }
[JsonProperty("Password")]
public string Password { get; s... |
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using VesApp.iOS;
using VesApp.CustomRender;
[assembly: ExportRenderer(typeof(ShortLabel), typeof(ShortLabelRender))]
namespace VesApp.iOS
{
public class ShortLabelRender : LabelRenderer
{
protected override void OnElementChanged(Elem... |
using LoowooTech.Stock.Common;
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Tool
{
public class ValueCompareTool2:ValueBaseTool2,IVTool
{
public string Name
{
get
{
... |
using System.Windows.Forms;
namespace gView.Framework.Carto.Rendering.UI
{
public partial class FormGroupRendererProperties : Form
{
public FormGroupRendererProperties(Control panel)
{
InitializeComponent();
Controls.Add(panel);
panel.BringToFront();
... |
using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wpf.Model
{
class Index : ObservableObject
{
public string IndexName { get; set; }
public string IndexPage { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PROnline.Models.Users;
using System.ComponentModel.DataAnnotations;
namespace PROnline.Models.Assessments
{
//测评结果
public class AssessmentResult
{
public Guid AssessmentResultID { get; set; }
... |
using System.Collections.Generic;
using Properties.Core.Objects;
namespace Properties.Core.Interfaces
{
public interface IVideoService
{
List<Video> GetVideosForProperty(string propertyReference);
Video GetVideoForProperty(string propertyReference, string videoReference);
string Create... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RTreeCodeApproach
{
public interface ISpatialDatabase<T> : ISpatialIndex<T>
{
void Insert(T item);
void Delete(T item);
void Clear();
void BulkLoad(IEn... |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Support;
using System.Xml.Linq;
/*
Copyright (c) 2011-2012, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.