text stringlengths 13 6.01M |
|---|
namespace CustomerApp.UnitTests
{
using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Linq;
using Controllers.APIv1;
using FluentAssertions;
using NUnit.Framework;
[TestFixture]
public class VerifyMefCompositionTests
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Toggle))]
public class BackpackUICaptainToggle : MonoBehaviour
{
[Tooltip("Toggle开启时")]public Sprite on;
[Tooltip("Toggle关闭时")] public Sprite off;
AudioSourceController audioSourc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using WindowsFormsApplication2;
using System.IO;
/// <summary>
/// qyxxkDaochu 的摘要说明
/// </summary>
pub... |
using ApiTemplate.Common.Markers.DependencyRegistrar;
namespace ApiTemplate.Service.RabbitMq
{
public class ProducerService : IProducerService,IScopedDependency
{
#region Fields
private readonly IRabbitMqService _rabbitMqService;
#endregion
#region Constructors
publi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace FoodApp.Models
{
public class Recipe
{
public int Id { get; set; }
[Required]
[StringLength(50, MinimumLength = 3, ErrorMessage = "Must be betw... |
using System;
using System.Collections.Generic;
using System.Linq;
#if NET5_0_OR_GREATER
using System.Runtime.CompilerServices;
#endif
namespace NStandard
{
public static class ArrayEx
{
private static ArgumentException Exception_InsufficientElements(string paramName) => new("Insufficient elements in ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BELCORP.GestorDocumental.DDP.TJ_ActualizarListaMaestra
{
public static class ProgressUpdater
{
public static TJ_ActualizarListaMaestra Job
{
get;
... |
using System;
namespace DataRetriever
{
public class ConfigurationFilesRoutes
{
public static string GetQueueConfigRoute()
{
return String.Format(@"{0}ConfigurationFiles\QueueConfig.txt",
AppDomain.CurrentDomain.BaseDirectory.Substring(0, AppDomain.CurrentDomain.Bas... |
namespace ForumSystem.Web.ViewModels.Posts
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ForumSystem.Data.Models;
using ForumSystem.Services.Mapping;
using Ganss.XSS;
public class PostEditModel : IMapFrom<Post>
{
public int Id { get; set; }... |
using UnityEngine;
using System.Collections;
public class pp_indicator : MonoBehaviour {
public pointpulser myGun;
public Rect myRect;
public NetworkShipGUI nsg;
void OnGUI () {
if (myGun.ready) {if (nsg.nsc.capacity>=myGun.energy) GUI.DrawTexture(myRect,nsg.ind_green); else GUI.DrawTexture(myRect,nsg.ind_re... |
using System;
using System.Collections.Generic;
namespace OrangeApple.WPF.ViewModels
{
class ComparisonStrategyFactory : IComparisonStrategyFactory
{
public IComparisonStrategy Create(string id, List<ComparisonItemViewModel> items)
{
switch (id)
{
case Th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;
using log4net.Appender;
using log4net.Layout;
using log4net.Core;
using log4net.Config;
namespace AutomationFramework.logger
{
/// <summary>
/// Log4Net appender implementation.
... |
using System;
using System.Text;
namespace PaswordGenerator
{
class Program
{
private const int PASSWORD_LENGTH = 10;
private static string answerUser;
private static string generatedPassword = "";
private delegate char MyDelegate();
private static MyDelegate[] generat... |
using System;
using System.Collections.Generic;
using System.Text;
using VendingMachine.Domain.Models;
namespace VendingMachine.Domain.Business.Contracts.Business
{
public interface IProductService
{
List<Product> GetProducts();
}
}
|
/***************************************
*
* Body for Objects that has no Dependents
*
***************************************/
namespace DChild.Gameplay.Objects
{
public class VisualBody : IsolatedTime, IVisualBody, IVisualTime
{
private float m_deltaTime;
public float deltaTime => m_de... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Text;
using VendingMachine.Domain.Models;
namespace VendingMachine.Repository
{
public class MachineContext : DbContext
{
public virtual DbSet<Product> Products { get; set; }
public virtual DbSet<Voorraad> ... |
using CodeX;
using LuaFramework;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using UnityEngine;
public class DownloadUpdateHistory : Singleton<DownloadUpdateHistory> {
private Dictionary<string, bool> m_download_history = new Dictionary<string, bool>();
pri... |
namespace StringReplicator.Core.Helpers
{
public interface IConfig
{
string GetRootPath();
string CurrentFilePath();
string GetUdlPath();
}
} |
using System.Collections.Generic;
namespace DChild.Gameplay.Systems.Serialization
{
public class ZoneSerializationHandler : ISerializer
{
private List<ZoneSerializer> m_zoneSerializers;
public ZoneSerializationHandler()
{
m_zoneSerializers = new List<ZoneSerializer>();
... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiCoin.Wallet.Win.Biz;
using FiiiCoin.Wallet.Win.Models;
using FiiiCoin.Wallet.Win.ViewModels;
using GalaSoft.MvvmLight;
usi... |
using Microsoft.ServiceFabric.Data.Collections;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.ServiceFabric.Data
{
internal class StatefulServiceStateManager : IReliableStateManager
{
Concu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace KartObjects
{
/// <summary>
/// Отчет остатки
/// </summary>
public class RestReport:Entity
{
public override string FriendlyName
{
get { return "Отчет ост... |
using System.Collections;
using System.Collections.Generic;
using System;
using System.Text;
using UnityEngine;
using UnityEngine.Windows.Speech;
using UnityEngine.UI;
public class UserInputVoiceRecognizer : MonoBehaviour
{
bool teclaPulsada = false;
float windowTime = 1;
[SerializeField]
private Tex... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using caiJiDll;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace caiJiDll.Tests
{
[TestClass()]
public class Class1Tests
{
[TestMethod()]
public void convertHref... |
using System;
using UnityEngine;
using UnityEngine.UI;
namespace XDebug
{
[Serializable]
public class Icon: IEquatable<Icon>
{
[SerializeField] private float m_Width;
[SerializeField] private float m_Height;
[SerializeField] private Color m_Color;
public Button button { g... |
using UnityEngine;
using System.Collections;
public class StatsManager : MonoBehaviour {
public static string playerName;
public static int styleChoice;
public static int frustration;
public static bool empCamera;
public static bool shootCamera;
public static bool pickDoor;
public static bool saveData;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace OnlineShopping.Models
{
public class FilterViewModel
{
public string SortBy { get; set; }
public string Search { get; set; }
public int MaxPrice { get; set; }
public int MinPrice { ge... |
public class Solution {
public bool IsMatch(string s, string p) {
bool[,] helperArray = new bool[s.Length+1,p.Length+1];
helperArray[s.Length,p.Length] = true;
for (int i = s.Length ; i >= 0; i --) {
for (int j = p.Length - 1; j >= 0; j--) {
bool firstMatch = (i <... |
using System;
using System.Windows.Data;
using Cradiator.Converters;
using NUnit.Framework;
using Shouldly;
namespace Cradiator.Tests.Converters
{
[TestFixture]
public class BuildNameAndMessageConverter_Test
{
private readonly IMultiValueConverter _converter = new BuildNameToMessageConverter();
private object ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess.AccountEntity
{
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HVCheck.Models
{
public class DuLieuSanPham
{
private static DuLieuSanPham _instance = null;
public static DuLieuSanPham Instance()
{
if (_instance ... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace XWebService
{
public partial class PostsPage : ContentPage
{
public PostsPage(int id)
{
InitializeComponent();
BindData(id);
BindComment(id);
}
private async void BindData(int id)
{
ServiceManager manager = new Ser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using LitJson;
using System.Security.Cryptography;
using System.IO;
using System.IO.Compression;
using System.Data;
public class CsString
{
static string SqlStr = @"like|and|or|exec|execute|... |
using UnityEngine;
using System.Collections;
public class SortParticleSystem : MonoBehaviour {
public string LayerName;
}
|
using Application.Services;
using Domain.Enums;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Security.Claims;
using System.Threading.Ta... |
using FichaTecnica.Dominio;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace FichaTecnica.Models
{
public class ComentarioModel
{
[Required]
public string Assunto{ get; set; }
[Required]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Attribute
{
/// <summary>
/// 字段类型
/// </summary>
public enum FieldType
{
NONE,
数据库字段,
虚拟字段,
关联字段,
关联对象
}
}
|
namespace DangerousFloor
{
using System;
using System.Linq;
public class Startup
{
static int n = 8;
public static void Main(string[] args)
{
Execute();
}
private static void Execute()
{
var matrix = new char[n][];
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
namespace com.Sconit.Entity.INV
{
[Serializable]
public partial class StockTakeLocation : EntityBase, IAuditable
{
#region O/R Mapping Properties
//[Display(Name = "Id", ResourceType = typeof(Resour... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class projectile_controller : MonoBehaviour
{
Rigidbody2D rb;
public int damageToDeal;
void Start() {
rb = GetComponent<Rigidbody2D>();
}
void OnTriggerEnter2D(Collider2D other) {
if(other.Compa... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using CarInsurance1.Models;
namespace CarInsurance1.Controllers
{
public class InsureeController : Controller
{
private InsuranceEnt... |
using Microsoft.Xna.Framework;
namespace OpenOracle.Old
{
public class MapOld : IUpdatableOld
{
private float _timeElapsed;
public MapOld(string name, int width, int height, SpriteSheetWithAnimationOld spriteSheet)
{
Screens = new ScreenOld[width, height];
Name... |
public class Solution {
public int TrailingZeroes(int n) {
int k = (int) Math.Log(n, 5);
int res = 0;
for (int i=1; i<=k; i++) {
res += (int) (n / (Math.Pow(5, i)));
}
return res;
}
} |
using System;
using Tomelt.Events;
using Tomelt.Messaging.Models;
namespace Tomelt.Messaging.Events {
[Obsolete]
public interface IMessageEventHandler : IEventHandler {
void Sending(MessageContext context);
void Sent(MessageContext context);
}
}
|
using BHLD.Model.Models;
using BHLD.Services;
using BHLD.Web.Infrastructure.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace BHLD.Web.Api
{
[RoutePrefix("api/SeUserOrgAccess")]
public class SeUserOrgAccessControl... |
using System;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
namespace RRExpress.Common {
public static class EnumHelper {
/// <summary>
/// 获取 DescriptionAttribute 中的 Description
/// </summary>
/// <typeparam name="T"></typeparam>
/// <typeparam... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace GraphicalEditor.Converters
{
class NegativeEquipmentQuantityConverter : IValueConverter
{
public object Convert(object va... |
using System;
using ConsoleApplication1.Implementations;
using ConsoleApplication1.Interfaces;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ConsoleApplication1.Tests.Implementations
{
[TestClass]
public class MakelaarDomainModelBuilderTests : BaseTest
{
private readonly IMakelaar... |
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Networking;
public class WebCamTextureSender : NetworkBehaviour {
public WebCamTexture webCamTexture;
public Color32[] data;
public Texture2D texture;
// Use this for init... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Menu : MonoBehaviour
{
public GameObject mainMenu;
public GameObject optionsMenu;
public Slider[] volumen;
void Start()
{
this.MainMenu();
volumen[0].va... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JustRipeFarm
{
public class Order
{
private int id;
private string description;
private int product_id;
private int quantity_box;
private double... |
using System;
using System.Collections.Generic;
using System.Text;
using MvvmCross.Navigation;
using MvvmCross.ViewModels;
using ColoringApp.Core.Models;
using MvvmCross.Commands;
using MvvmCross.Views;
using System.Threading.Tasks;
using System.Drawing;
using ColoringApp.Core.Services;
using System.IO;
namespace Col... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using GDS.Entity;
using SqlSugar;
using GDS.Comon;
namespace GDS.Dal
{
public class ImplProjectType : ImplDaoBase<ProjectType>, IProjectTypeDao<ProjectType>
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using my_new_app.Data;
namespace my_new_app.Models
{
public class PieRepository : IPieRepository
{
private readonly ApplicationDbContext _appDbContext;
public PieRepository(ApplicationDbContext ap... |
using MarcusW.SharpUtils.Core.Cryptography;
using MarcusW.SharpUtils.Core.Extensions;
using Xunit;
namespace MarcusW.SharpUtils.Core.Tests
{
public class RSAKeyLoaderTests
{
private const string TestCertFileName = "Files/test-cert.pfx";
private const string TestKeyFileName = "Files/test-key.pfx... |
using StreetFighter.dominio;
using StreetFighter.Dominio;
using System;
using System.Activities.Statements;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Transactions;
namespa... |
using System;
using System.Linq;
using System.Reflection;
using Harmony;
namespace FunnySnek.AntiCheat.Server.Framework
{
//Remember Prefix/Postfix should be public and static! Do not use lambdas
internal abstract class Patch
{
/*********
** Properties
*********/
protected ... |
using System;
using System.Data.Common;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace SQLServerBackupTool.Lib
{
public class SqlServerBackupProvider : ISqlBackupProvider
{
public const string BackupCommandTemplate = @"
BACKUP DATABASE [{0}]
TO DISK = N'{1}'
WITH NOFORMAT, NOI... |
using gView.Framework.Geometry;
using System;
using System.Collections;
using System.Text;
using System.Xml;
namespace gView.Framework.XML
{
internal enum featureQueryMethode
{
Geometry, Query, ID, None, Buffer
}
/// <summary>
/// Stellt die Ergebnisse einer Feature-Abfrage dar. Die Klasse ... |
using CryptoReaper.Simulation.CryptFeatures;
using Microsoft.Xna.Framework;
namespace CryptoReaper.Simulation
{
class Gameplay
{
protected Gameplay()
{
Crypt = new Crypt();
// Player = new Player(Crypt, new Crypt.Coords(9, 9));
for (int row = 0; row < 20; r... |
using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using Dg.fifth.Authorization.Roles;
using Dg.fifth.Authorization.Users;
using Dg.fifth.MultiTenancy;
namespace Dg.fifth.EntityFrameworkCore
{
public class fifthDbContext : AbpZeroDbContext<Tenant, Role, User, fifthDbContext>
{
/*... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class ExplorationUIManager : SingletonBehaviour<ExplorationUIManager>
{
[System.Serializable]
private struct ContentSlot
{
public Text eventText;
p... |
using NotebookClient.Model;
using NotebookClient.View;
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows... |
using System;
using System.IO;
using System.Reflection;
/// <summary>
/// EasyLogger Entry Point
/// </summary>
public static class EasyLogger
{
private static LogBase logger = null;
/// <summary>
/// The default directory used to store log files
/// CommonApplicationData\\EasyLogger\\Name of your Ap... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace PROnline.Models.Users
{
public class UserPTest
{
public Guid ID { get; set; }
public Guid StudentID { get; set; }
public virtual Stu... |
//using System;
//using System.Collections.Generic;
//using System.IO;
//using System.Linq;
//using System.Reflection;
//using System.Text.RegularExpressions;
//using System.Web.Compilation;
//namespace Atomic
//{
// /// <summary>
// /// 类型扫描抽象类
// /// </summary>
// public abstract class TypeFinderBase : ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "InGameThings/Cards/ItemCardType")]
public class ItemCard : CardType
{
private const int _cardTypeID = 1;
public override int CardTypeID
{
get
{
return _cardTypeID;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
using System.Net.Mail;
public partial class admin_email : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
string ... |
using System;
using Framework.Core.Common;
using Tests.Pages.Van.Main.Common;
using OpenQA.Selenium;
namespace Tests.Pages.Van.Main.UserPages
{
public class UserDetailsAssignVotersPage : VanBasePage
{
#region Page Element Declarations
public IWebElement AssignByDropdown { get { ret... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartSystem
{
public class Loading1CSpecRecord : DocGoodSpecRecord
{
public decimal RateNds { get; set; }
}
}
|
namespace SenseHat {
// Font definitions for SenseLED
// Format
// ulong = 64 bits, 1 bit per LED
// array contains:
// 2 elements representing width and height respectively
// 95 elements representing ASCII char (decimal) 32 to 126
// to save space, only LSBs... |
using Anywhere2Go.DataAccess.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Claimdi.Web.MY.Models
{
public class TaskViewModel
{
public TaskPicture TaskPicture { get; set; }
public List<TaskPicture> TaskPictureHistory { get; set; }
}
... |
using System;
namespace FamilyAccounting.Web.Models
{
public class AuditPersonViewModel
{
public PersonViewModel Person { get; set; }
public string Type { get; set; }
public DateTime Time { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IRAPShared;
namespace IRAP.Entity.MDM
{
public class CustomStandard
{
/// <summary>
/// 序号
/// </summary>
public int Ordinal { get; set; }
/// <summary>
... |
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using Umbraco.Core.Models;
using Umbraco.Web;
public class IPAddressRange
{
readonly AddressFamily addressFamily;
readonly byte[] lowerBytes;
readonly byte[] upperBytes;
public IPAddressRange(IPAddress lower, IPAddress upp... |
namespace ChatServer.Messaging.Commands
{
using System.Threading.Tasks;
using ChatProtos.Networking;
using ChatProtos.Networking.Messages;
using Google.Protobuf;
using HServer;
using HServer.Networking;
/// <inheritdoc />
/// <summary>
/// The update display name command.
//... |
using BestMeetingSpot.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using System.Net.Http;
#pragma warning disable CS1701 // Assuming assembly reference matches identity
namespa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyDev.EPS.Portal;
using System.Data;
using EasyDev.PL;
using System.Reflection;
using EasyDev.EPS.Attributes;
namespace EasyDev.EPS.BusinessObject
{
/// <summary>
/// 通用业务对象,此对象中使用的会话对象是默认会话对象
/// <... |
using Compent.Shared.Search.Elasticsearch;
using Uintra.Core.Search.Entities;
namespace Uintra.Core.Search.Queries.DeleteByType
{
public class DeleteSearchableActivityByTypeSpecificationFactory : IDeleteSpecificationFactory<SearchableActivity, DeleteSearchableActivityByTypeQuery>
{
public DeleteQueryS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.ISS
{
public class IssueDetailSearchModel : SearchModelBase
{
public string IssueCode { get; set; }
public string Content { get; set; }
public string Issue... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Core.Context;
using Pe.Stracon.SGC.Infraestructura.Core.QueryContract.Contractual;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Repository.Base;
using System;
using S... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ATeamFitness.Migrations
{
public partial class newMigration2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "AspNetRoles",
ke... |
namespace TripDestination.Tests.Web.MVC.Controllers
{
using Common.Infrastructure.Mapping;
using NUnit.Framework;
using TripDestination.Web.MVC.Controllers;
using Moq;
using Services.Data.Contracts;
using Data.Models;
using System.Linq;
using System.Collections.Generic;
using Servic... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BumperScript : MonoBehaviour
{
public float force = 20f;
private Vector3 bounceDir;
private void OnCollisionEnter(Collision other)
{
bounceDir = (transform.position - other.rigidbody.tran... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Framework.Core.Enums.Enum {
[ClassProperty(Name = "区时")]
public enum ZoneTime {
/// <summary>
/// (UTC-12:00)
/// </summary>
[LabelCssClass(BadgeColorCalss.Success)]
[Disp... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Cat : MonoBehaviour {
Transform cat;
public float speed = 3.0f;
public float distance = 50.0f;
float moved = 0.0f;
bool move = true;
bool forward = true;
// Use this for initialization
void Start ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZM.TiledScreenDesigner
{
public interface IChildrens
{
void ChildAdd(object o);
int ChildCount { get; }
int ChildIndexOf(object o);
void ChildInsert(int... |
using PL.Integritas.Domain.Entities;
using PL.Integritas.Domain.Interfaces.Repositories;
using PL.Integritas.Infra.Data.Context;
namespace PL.Integritas.Infra.Data.Repository
{
public class PurchaseRepository : Repository<Purchase>, IPurchaseRepository
{
public PurchaseRepository(IntegritasContext int... |
using System.Windows;
namespace ModelViewViewModel_Voorbeeld
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
//private void Application_Startup(object sender, StartupEventArgs e)
//{
// Stap2.Persoon model = new... |
using System;
using System.Collections.Generic;
namespace SampleConsoleApp_01
{
class Program
{
static List<int> PositiveList(List<int> list01)
{
List<int> resList = new List<int>();
for (int i = 0; i < list01.Count; i++)
{
if (list01[i] > 0... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class HudController : MonoBehaviour {
// Use this for initialization
[SerializeField]
private GameObject ready;
private Button readyBtn;
public static HudController instance;
void Awake()
{
instance = this;... |
// -----------------------------------------------------------------------
// <copyright file="ICultureRepository.cs">
// Copyright (c) Michal Pokorný. All Rights Reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Pentagon.Extensions.Localization.EntityFr... |
using System;
using System.Globalization;
using Xamarin.Forms;
namespace Bounce.Converters
{
public class CheckImageValueConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
bool bVal = (bool)value;
return (bVal ? "row_check" : "row_no... |
namespace Delegates
{
public interface IPicture
{
void Save();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TransitionMetalColourRevisionGame.TransMetals
{
class Chromium
{
public string name = "Chromium";
public string hexAqFormula = "[Cr(H₂O)₆]³⁺";
public string he... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.master2.assembly
{
class AssemblyInstance
{
private string assemblyName = "C://Users//Maz//Documents//Visual Studio 2012//Projects... |
using Alabo.Data.People.Cities.Domain.Entities;
using Alabo.Data.People.Cities.Domain.Services;
using Alabo.Data.People.Users.Domain.Services;
using Alabo.Framework.Core.Reflections.Interfaces;
using Alabo.Helpers;
namespace Alabo.Data.People.Cities
{
public class CityDefault : IDefaultInit
{
public b... |
using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using TechnicalRadiation.Models.Dtos;
using TechnicalRadiation.Models.Entities;
using TechnicalRadiation.Models.InputModels;
using TechnicalRadiation.Repositories.Data;
using TechnicalRadiation.Repositories.Extensions;
namespace Techn... |
using EntMob_Uni.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Jogging.Model;
using Jogging.DAL;
namespace Jogging.Test.Mocks
{
class MockUserService : IUserService
{
private IUserRepository userRepository = new Moc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using birdepobenzin.dataaccess;
namespace birdepobenzin.web.Controllers
{
public class SiteContentController : Controller
{
//
// GET: /SiteContent/
public ActionResult Index(str... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.