text stringlengths 13 6.01M |
|---|
using CommonCore.State;
using CommonCore.World;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CommonCore.ObjectActions
{
public class CampaignFlagTrigger : ActionTrigger
{
public string Flag;
public bool CheckContinuous;
public bool InvertBeha... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CRM.Model
{
public class Order:BaseEntity
{
public Order()
{
OrderItems = new HashSet<OrderItem>();
}
... |
using Common.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoneyBack.Repositories
{
public class TransactionRepository : RepositoryBase<Transaction, MoneyEntities>, ITransactionRepository
{
public Transact... |
/**
* Created DD/MM/YYYY
* By: Omer Farkhand
* Last Modified DD/MM/YYYY
* By: Omer Farkhand
*
* Contributors: Omer Farkhand
*/
using UnityEngine;
/*
* DoorScript activates trap doors hidden within the main level Level01
*/
public class DoorScript : MonoBehaviour
{
public GameObject Door;
// OnColl... |
using KRF.Core.FunctionalContracts;
using System;
using System.Collections.Generic;
using System.Linq;
using DapperExtensions;
using KRF.Core.Entities.ValueList;
using KRF.Core.Enums;
using Dapper;
using KRF.Core.Entities.MISC;
namespace KRF.Persistence.FunctionalContractImplementation
{
public class Administrat... |
using UnityEngine;
using System.Collections;
public class AudioRotator : MonoBehaviour
{
public bool x;
public bool y;
public bool z;
public bool waitUntilActivated;
public Vector3 speed;
public float volumeThreshold = 0.5F;
private bool isActivated;
// Update is called once per frame
void Update (... |
using Accounts.Service.Contract.Queries;
using FluentValidation;
namespace Accounts.Service.Authorisers.CompanyAuthorisers
{
public class GetAllGroupAuthoriser :
AbstractValidator<GetAllGroupSmallDetailDTOQuery>,
ICompanyAuthoriser<GetAllGroupSmallDetailDTOQuery>
{
public GetAllGroupAu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.Cashbag.Domain.Models
{
/// <summary>
/// 充值记录
/// </summary>
public class RechargeLog
{
/// <summary>
/// 流水号
/// </summary>
public string SerialNum { get; set;... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using SubscriptionDataModel.DataModel;
namespace SubscriptionBuissnessLayer
{
public class UserBl
{
public static List<User> GetAllUsers()
{
var all... |
using Application.Contract.RepositoryInterfaces;
using Application.CQRS.Commands;
using Application.CQRS.Validations;
using Domain.Models;
using FakeItEasy;
using FluentValidation.TestHelper;
using Xunit;
namespace Application.Test.CQRS.Validations
{
public class RemoveCryptoCurrencyValidationTest
{
... |
using System.Collections.Generic;
namespace multifactory
{
/*=====================================CLASS==================================================
class Order, Parent class to Menu
contains all the methods for generating, modifying and exposing orders
===========================================================... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace COMP476Proj
{
public abstract class EntityVisible : Entity
{
#region Fields
protected DrawComponent draw;
#e... |
namespace LuaLu {
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using System.IO;
[NoLuaBinding]
public class LuaAssetBundleExporter {
public static void BuildAllLuaAssetBundles(BuildTarget targetPlatform) {
// collections
List<string> assetBundleNames... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Orchard.ContentManagement;
using Orchard.DisplayManagement;
using Orchard.Localization;
using Orchard.Mvc;
using Orchard.Security;
using Orchard.Themes;
using bookstore.Models;
using bookstore.Services;
namespace bookstore.... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Sesi.WebsiteDaSaude.WebApi.Models
{
public partial class Eventos
{
public int IdEvento { get; set; }
[Required(ErrorMessage = "Insira o nome do evento.")]
public string NomeE... |
using System;
using HseClass.Data.Entities;
namespace HseClass.Api.ViewModels
{
public class LabInfoViewModel
{
public int Id { get; set; }
public string Title { get; set; }
public TaskLabViewModel Task { get; set; }
public int ClassRoomId { get; set; }
... |
using System;
using Volo.Abp.Domain.Entities.Auditing;
namespace SoftDeleteTest.Orders
{
public class OrderItem : FullAuditedEntity<Guid>
{
public Guid OrderId { get; protected set; }
public Order Order { get; protected set; }
public virtual string Remark { get; protected set; }
... |
// Copyright 2016 Google Inc. 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WhiteHole : MonoBehaviour
{
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
Collider2D[] inRange = Physics2D.OverlapCircleAll (transform.position, 20);
fore... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AncientBehemoth.cs" company="n/a">
// Atanas Georgiev
// </copyright>
// <summary>
// The ancient behemoth class.
// </summary>
// --------------------------------------------... |
/// <summary>
/// Scribble.rs ♯ namespace
/// </summary>
namespace ScribblersSharp
{
/// <summary>
/// An interface that represents a base game message
/// </summary>
public interface IBaseGameMessageParser
{
/// <summary>
/// Game message type
/// </summary>
string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Planning
{
public class FunctionParameter : Argument
{
public ParameterizedFunctionPredicate Function { get; private set; }
public FunctionParameter(ParameterizedFunctionPredicate f) : base("Functi... |
//------------------------------------------------------------------------------
// 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 Client.Signals;
using Models.RegularGame;
using Models.SuperGame;
using strange.extensions.mediation.impl;
using UnityEngine;
using View;
namespace Client.View
{
public class RoomListView : EventView
{
/// <summary>
/// Server updateRegularGameSignal
/// </summary>
[Injec... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CONSULS_SYSTEM.Models
{
public partial class MT_ContactUS
{
public int ID { get; set; }
[Required]
[StringLength(200)]
[Dis... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MigrateUsersUtility.Tests
{
[TestClass]
public class DomainUsersMigrationRequestTest
{
[TestMethod]
public void CanCreateMigration... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using AutoMapper;
using FluentValidation;
using Microsoft.Extensions.Logging;
using ShopsRUs.API.Model;
using ShopsRUs.API.Model.DTO;
using ShopsRUs.API.Validators;
using S... |
using Microsoft.AspNetCore.Identity;
using System;
namespace ImmedisHCM.Data.Identity.Entities
{
public class WebUserRole : IdentityUserRole<Guid>
{
protected bool Equals(WebUserRole other)
{
return RoleId == other.RoleId
&& UserId == other.UserId;
}
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using TesteCSharp.BLL.Models;
namespace TesteCSharp.DAL
{
public class Contexto : DbContext
{
public Contexto(DbContextOptions dbContext) : base(dbContext)
{
}
public DbSet<... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HunterLife : MonoBehaviour//deals with hunter life
{
[SerializeField] float life;
[SerializeField] float timeToHeal;
public static float currentLife;
float currentTime;
private void Start()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class CheckGround : MonoBehaviour
{
// Start is called before the first frame update
public bool isGrounded = false;
public int points;
Animator anim;
public UI uI;
Rigidbo... |
using Newtonsoft.Json;
using System;
using System.IO;
using System.Net;
using Terrasoft.Common;
using Terrasoft.Core;
using Terrasoft.Core.DB;
using Terrasoft.Core.Entities;
using Terrasoft.Core.Entities.Events;
namespace ZoomIntegration
{
//https://academy.bpmonline.com/documents/technic-sdk/7-13/entity-event-layer
... |
using System;
namespace klasy.Złotowłosa
{
public class Narrator
{
public string narrator;
public void Mówi(string treść)
{
Console.WriteLine(narrator + " mówi: " + treść);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Queue.Models.Interface
{
public interface IViewRepo
{
List<QueryView> SelectAllQuery(); // Возвращает список всех запросов
List<ExpertView... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrderPickUp : MonoBehaviour
{
PlayerController player;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
... |
using MediatR;
using OmniSharp.Extensions.DebugAdapter.Protocol.Models;
using OmniSharp.Extensions.DebugAdapter.Protocol.Serialization;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
// ReSharper disable once CheckNamespace
namespace OmniSharp.Extensions.DebugAdapter.Protocol
{
... |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
namespace MailerQ.RestApi
{
/// <summary>
/// The protocol sopported to connect to the external server
/// </summary>
public enum ExternalIpProtocol
{
/// <summary>
/// Network address translation
/// </... |
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 HackIdea
{
public partial class Form1 : Form
{
public string box1;
... |
using Zillow.Core.Enum;
namespace Zillow.Data.DbEntity
{
public class ContractDbEntity : BaseEntity
{
public ContractType ContractType { get; set; }
public double Price { get; set; }
public int RealEstatesId { get; set; }
public RealEstateDbEntity RealEstate { get; set... |
using UnityEngine;
using System.Collections;
namespace Ph.Bouncer
{
public class PauseButton : MonoBehaviour
{
private float pressStartTime;
private bool isLevelComplete;
void OnPress(bool isDown)
{
if (isLevelComplete)
return;
if(isDown && pressStartTime == 0)
pressStartTime = Time.time;
... |
using System;
using System.Linq;
class Program
{
static void Main()
{
var inputList = Console.ReadLine().Split().Select(int.Parse).ToList();
var numsInfo = Console.ReadLine().Split().Select(int.Parse).ToList();
var numToFind = numsInfo[0];
var numSide = numsInfo[1];
wh... |
/*
Equilibirium, a game simulator for balancing economic progress and environmental collapse.
Copyright (C) 2014, Mad House Studios.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version ... |
using CourseProject;
using CourseProject.Model;
using CourseProject.Repositories;
using CourseProject.View;
using CourseProject_WPF_.Repositories;
using CourseProject_WPF_.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Input;
namespace CourseProject_... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AppInfo.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ----------------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CA2
{
class Author : IComparable
{
//Properties
public string FirstName { get; set; }
public string LastName { get; set; }
//This is a collection of bo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class crearTankNetwork : NetworkBehaviour {
public GameObject tankPesado;
public GameObject nace;
//GROUND CHECHER
public Transform groundCheck;
float groundRadius = 5f;
public LayerMask whatIs... |
using System;
using MongoDB.Driver;
using SimpleTalkMongoDb.Pocos;
using System.Configuration;
using MongoDB.Bson;
namespace SimpleTalkMongoDb.Configuration
{
public static class SampleConfig
{
static SampleConfig()
{
try
{
// Path to the AdventureWor... |
using System;
namespace SparamTestLib
{
public class SparamImpedance_Between : SparamTestCase.TestCaseAbstract
{
private int iStartCnt, iStopCnt;
private bool blnInterStart, blnInterStop;
private double tmpVal = 0;
public override void Initialize()
{
_Resu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Mvc;
using Newtonsoft;
using Newtonsoft.Json;
using Photogf.Models;
using System.IO;
using Qiniu;
using Qiniu.Storage;
using Qiniu.Util;
using Qiniu.Http;
namespace Photogf.Contr... |
using Discord;
using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WaitingListBot.Data;
namespace WaitingListBot
{
public class NotWhenReactionBasedWaitingListEnabledAttribute : PreconditionAttribute
{
public override async T... |
using System.Collections;
using System.Collections.Generic;
public class ReqRoleRandName
{
public Packet Encode()
{
Packet packet = new Packet();
packet.Encode(Msg.P_REQ_ROLE_RAND_NAME);
return packet;
}
}
|
using System;
using System.IO;
namespace FileSystemWatcherExample
{
class Program
{
static void Main(string[] args)
{
string path = "C:\\Local\\";
var fsw = new FileSystemWatcher(path);
fsw.Filter = "*.txt";
fsw.IncludeSubdirectories = false;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace System.Data.Linq.SqlClient {
/// <summary>
/// Walk a tree and return the set of unique aliases it produces.
/// </summary>
class SqlGatherProducedAliases {
internal static HashSet<SqlAlias> Gather(SqlNode node) {
... |
namespace JetBrains.Annotations
{
using System;
using System.Runtime.CompilerServices;
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class AspMvcAreaAttribute : PathReferenceAttribute
{
[CompilerGenerated]
private string string_1;
[UsedImplicitly]
publ... |
namespace Tookan.NET.Http
{
public class ResponseInfo
{
public string Message { get; set; }
public Status Status { get; set; }
}
} |
using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab12
{
interface Interable
{
void toString();
}
public abstract class Transport : Interable
{
protected int num... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using aeffect_api.AeffectModel;
namespace aeffect_api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class PtEditController : ControllerBase
{
// GET api/pati... |
namespace Medit1.Models
{
public class ParticipantReservation
{
public int ParticipantId { get; set; }
public Participant Participant { get; set; }
public int ReservationId { get; set; }
public Reservation Reservation { get; set; }
}
}
|
using System.Windows.Media;
namespace WMagic.Brush.Basic
{
public class GFrame
{
#region 变量
// 边框大小
private int thick;
// 边框颜色
private Color color;
// 边框样式
private GLinear style;
#endregion
#region 属性方法
public int Thick
... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using RealEstate.BusinessObjects;
namespace RealEstate.DataAccess
{
public class ControlsDA
{
#region ***** Init Methods *****
public ControlsDA()
{
}
#endregion
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class XYVelocityVector : MonoBehaviour, CannonStateObserver
{
public CannonStateHandler stateHandler;
public void XYVelocityVectorRescale(float theta, float v, float v_min, float v_max, float v_scale, float v... |
using UnityEngine;
using System.Collections;
public class Enemy1 : MonoBehaviour {
private NavMeshAgent agent;
public Vector3 destination;
public float health = 100.0f;
// Use this for initialization
void Start()
{
destination = transform.position;
agent = GetComponent<NavMe... |
using AutoMapper;
using ArteVida.GestorWeb.ViewModels;
using ArteVida.Dominio.Entidades;
namespace ArteVida.GestorWeb
{
public class AutoMapperBootStrapper
{
public static void ConfigureAutoMapper()
{
//Mapper.CreateMap<TabelaAuxiliarViewModel, TabelaAuxiliar>();
//Map... |
using EWF.Data.Repository;
using EWF.Entity;
using EWF.Util;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace EWF.IRepository
{
public interface IRainWarnSetRepository : IRepositoryBase<TBL_EVENT_YLMODAL>, IDependency
{
DataTable GetRainWarnData(int type,... |
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 CIS420Redux.Models;
using CIS420Redux.Models.ViewModels;
using CIS420Redux.Models.ViewModels.POS;
namespace CIS420Redux.Controller... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_Rendering_BlendOp : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.Rendering.BlendOp");
LuaObject.addMember(l, 0, "Add");
LuaObject.addMember(l, 1, "Subtract");
LuaObject.addMember(l, 2, "Reverse... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlaySound : MonoBehaviour {
private AudioSource sound;
void Start()
{
sound = GetComponent<AudioSource>();
}
void OnTriggerEnter2D(Collider2D other)
{
if (other.tag == "Player")
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task2
{
public class MyArraySort
{
//Sort rows by the sum of elements
public static int[][] SortSumElements(int[][] mass)
{
int count = mass.Length;... |
using System;
namespace EpamTask4.BL.Models
{
public class File
{
public Guid Id { get; set; }
public string FileName { get; set; }
public DateTime Data { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
{
var myIntList = Console.ReadLine().Split().Select(int.Parse).ToList();
myIntList = myIntList.Where(x => x > 0).Reverse().ToList();
if (myIntList.Count() != 0)
... |
using Rg.Plugins.Popup.Services;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using truckeventsXamPL.Models;
using truckeventsXamPL.Pages.Eventos;
using truckeventsXamPL.Util;
using truckeventsXamPL.ViewlCells;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using MerchandiseSport.Models;
namespace MerchandiseSport.Data
{
public class MerchandiseSportContext : DbContext
{
public MerchandiseSportContext (DbContextOptions<Mer... |
using K_Systems.Data.Core.Domain;
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace K_Systems.Presentation.Web.Helper
{
public static class UserManagerExten
{
public static UserERP FindByEmailAndPassword(this UserManager<Use... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
using System.Globalization;
namespace ConsoleApp23
{
class Program
{
static double Сheck(bool mod = true, double inf = 1000)//проверка ввода числа... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MD5_Hash_Auto
{
public partial class Main_form ... |
using System;
namespace Dentist.Models
{
public class DailyAvailabilitySetting
{
public int Id { get; set; }
public DayOfWeek DayOfWeek { get; set; }
public bool IsWorking { get; set; }
public DateTime? StartTime1 { get; set; }
public DateTime? EndTime1 { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace webapp.Models
{
public class Customer
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.I... |
/*--------------------------------------------------------------------------
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 "... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="JenkinsStatus.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project root for license... |
namespace ProBikeSS16.Workplaces
{
class WP_2 : Workplace
{
static int order_E50 = 0;
static int order_E55 = 0;
static int order_E30 = 0;
#region Getter/Setter
public int ProdTimeE50
{
get
{
return getApproxProdTimeE50(or... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace uAdventure.Core
{
public enum Orientation
{
N, E, S, O
}
}
|
using System;
namespace Aqueduct.Common.Context
{
public class NullContext : BaseContext
{
private static IContext _instance = new NullContext();
public static IContext Instance
{
get { return _instance; }
}
protected NullContext()
:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using SurveySite.Models;
using SurveySite.ViewModels;
using PagedList;
namespace SurveySite.Controllers
{
[Authorize(Roles = "User, Administrator")]
public class SurveyController : Cont... |
using BPiaoBao.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace BPiaoBao.AppServices.ConsoContracts.DomesticTicket.DataObjects
{
[KnownType(typeof(ReponseNormalFullPolicy))]
[KnownType(typeof(ReponseSpecialFullPol... |
using DataLayer.Data;
using DataLayer.Entities;
using DataLayer.RequestFeatures;
using Microsoft.EntityFrameworkCore;
using Repository.Base;
using Repository.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Repository.Purchases
{
public class P... |
using SIGA.Models.ViewModels;
using SIGA_Model;
using SIGA_Model.StoredProcContexts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using System.Web.Http.Description;
namespace SIGA.Controllers.Api
{
public class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DocumentManagementLogger
{
public class FileLogger : ILogger
{
private static log4net.ILog Log { get; set; }
public FileLogger()
{
Log = log4net.Lo... |
using Newtonsoft.Json;
using System;
using System.Web;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Web.Security;
using System.Globalization;
using System.Security.Cryptography;
namespace Ast.Common
{
publi... |
//
// 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;
#endregion
namespace DotNetNuke.Entities.Modules.Communications
{
public class ModuleCommunicationEventArgs : EventArg... |
using System.Linq;
using UnityEngine;
using UnityEngine.AI;
namespace TypingGameKit.AlienTyping
{
/// <summary>
/// The enemy component manages the enemy AI, sound, and animation.
/// </summary>
public class Enemy : MonoBehaviour
{
[SerializeField] private Animator _animator = n... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TaxCalculatorExample.Models
{
public class TaxParams
{
public decimal TotalIncome { get; set; }
public decimal TotalDeduction { get; set; }
public string Country { get; set; }
}
}
|
using AdventureWorks.Services.HumanResources;
using AdventureWorks.Services.Production;
using Autofac;
using Autofac.Integration.Mvc;
using Autofac.Integration.WebApi;
using System;
using System.Web.Mvc;
using System.Web.Http;
using AdventureWorks.Services.Common;
namespace AdventureWorks.DR
{
public class Autofa... |
using Newtonsoft.Json;
namespace SpaceWars
{
/// <summary>
/// Projectile in the SpaceWars game World. Fields of this class "Opt In" for JSONObject MemberSerialization.
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
public class Projectile
{
/// <summary>
/// Projectile... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Akka.Persistence.Journal;
using Akka.Util.Internal;
using Akkatecture.Aggregates;
using Akkatecture.Core;
using Akkatecture.Extensions;
namespace Akkatecture.Events
{
public abstract class AggregateEventUp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Emgu.CV;
using LogUrFace.Domain.Entities;
using System.Drawing;
using Luxand;
using System.IO;
namespace LogUrFace.Hardware
{
public class LuxandCamera : IFaceCamera
{
private int ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MonsterControl : MonoBehaviour {
Rigidbody2D rb;
GameObject target;
float moveSpeed;
Vector3 directionToTarget;
// Use this for initialization
void Start () {
target = GameObject.Find ("Chcarater");
rb = GetC... |
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Text;
namespace NekoUchi.DAL
{
public class User : Model.User, Helpers.ISerializationHelper
{
#region Properties
public Model.User ModelUser { get; set; }
public ObjectId _id { get; set; }
... |
using System;
using System.Security;
using System.Text;
using System.Web;
using System.Web.Mvc;
namespace iTemplate.Web.Filters
{
public class RESTAuthorizeAttribute : AuthorizeAttribute
{
private const string _securityToken = "token"; // Name of the url parameter.
public override void OnAuthorization(Au... |
using System;
namespace Paralect.Schematra
{
public class Utils
{
/// <summary>
/// Concat two namespaces
/// </summary>
public static String ConcatNamespaces(String namespace1, String namespace2)
{
if (String.IsNullOrEmpty(namespace1) && !String.... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DbInstancesTechnologies.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.