text stringlengths 13 6.01M |
|---|
namespace Webstore
{
using System.Data.Entity;
using Infrastructure.Models;
public class WebModel : DbContext
{
/*
The target context 'Webstore.WebModel' is not constructible. Add a default constructor or provide an implementation of IDbContextFactory.
*/
public WebModel... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
namespace BagBag.Models
{
public class Encrypt
{
public static string MD5_Encode(string strSoure)
{
MD5 md5 = MD5.Create();
byte[]... |
using System.Threading.Tasks;
namespace Mitheti.Core.Services
{
// TODO: add servicing service, with this and other (optimizing and clear records) services on tasks;
public interface ISizeLimitDatabaseService
{
Task LimitDatabase();
long GetSize();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace LibEqmtDriver.SCU
{
public class AeWofer : IISwitch
{
int _mRetVal, _session, _hSys;
string _apiName = "";
public AeWofer(int sysId)
... |
using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BUS
{
public class t_pgiam
{
KetNoiDBDataContext db = new KetNoiDBDataContext();
public void moipg(string id, DateTime ngaynhap, string iddt, string iddv, st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentPortal
{
class Student
{
public string name { get; set; }
public int id { get; set; }
public String address { get; set; }
public S... |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Meziantou.Analyzer.Test")]
|
using System;
namespace CSExercises
{
//Electrifying Electronics Pte Ltd. manufactures
//three audio-visual electronic products named
//as TV, DVD, and MP3. The table below gives
//the unit price for each of these products:
//PRODUCT PRICE
//TV $900
//DVD $500
//MP3 ... |
namespace Devices.Adafruit
{
public static class Constants
{
public const float SENSORS_GRAVITY_EARTH = 9.80665F; /**< Earth's gravity in m/s^2 */
public const float SENSORS_GRAVITY_MOON = 1.6F; /**< The moon's gravity in m/s^2 */
public const float SENSORS_... |
using System;
using System.Linq;
using DSharpPlus;
using DSharpPlus.Entities;
using Microsoft.Extensions.Logging;
using Requestrr.WebApi.RequestrrBot.ChatClients.Discord;
using Requestrr.WebApi.RequestrrBot.DownloadClients;
using Requestrr.WebApi.RequestrrBot.DownloadClients.Ombi;
using Requestrr.WebApi.RequestrrBot.Do... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
namespace Pokemon
{
class Program
{
static void Main(string[] args)
{
string input;
Dictionary<string, Trainer>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
namespace Predicate_party__
{
class Program
{
static void Main(string[] args)
{
List<string> peoples = new List<string>();
peoples = Console.ReadLine(... |
namespace cn.bmob.io
{
internal class Delete : Operate
{
public override void write(BmobOutput output, bool all)
{
base.write(output, all);
output.Put(OP_NAME, "Delete");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace WindowsFormsApp1
{
class patient
{
private const String SERVER = "35.185.184.170";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.API;
using Discord.Commands;
using System.Configuration;
namespace JeanGuyTremblayBot
{
class Program
{
#region hey
const string _PSWD = "jgt_bot";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Lighter : MonoBehaviour {
public ParticleSystem fire;
public GameObject light;
// Use this for initialization
void Start () {
fire.Stop();
}
// Update is called once per frame
void Update () {
}
... |
using Newtonsoft.Json;
using System;
namespace Minecraft4Dev.Web.Models
{
public class DeathLog
{
[JsonProperty("playerName")]
public string PlayerName { get; set; }
[JsonProperty("deathReason")]
public string DeathReason { get; set; }
[JsonProperty("deathDate")]
... |
using PNPUCore.Database;
using PNPUTools;
using PNPUTools.DataManager;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace WcfService1
{
// REMARQ... |
using System.Threading.Tasks;
namespace Micro.Net.Abstractions.Sagas
{
public interface ISagaTerminateHandler<TData>
{
Task HandleTerminate(ISagaTerminateContext<TData> context);
}
public interface ISagaTerminateHandler
{
Task HandleTerminate<TData>(TData data, ISagaTerminateConte... |
namespace GrandCloud.CS.Model
{
/// <summary>
/// The ListBucketsRequest contains the parameters used for the ListAllBuckets operation.
/// No parameters are needed for this request.
/// </summary>
public class ListBucketsRequest : CSRequest
{
}
} |
namespace Plus.Utilities.Enclosure.Algorithm
{
public class FieldUpdate
{
public FieldUpdate(int x, int y, byte value)
{
X = x;
Y = y;
Value = value;
}
public byte Value { get; }
public int Y { get; }
public int X { get; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using trial_api.Models;
using trial_api.PasswordHashing;
namespace trial_api.Data
{
//this adds some static data to db
publi... |
namespace MyAppBack.Models
{
public class AppSettings
{
public string ServiceDomainUrl { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MODEL.SYSTEM
{
public class UserLoginLimitModel
{
private int userid = int.MaxValue;
private string logintype = string.Empty;
private string ukeyid = string.Empty;
privat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MoreMountains.Tools;
using MoreMountains.CorgiEngine;
public class CharacterHandleShootingGun : CharacterHandleWeapon
{
protected override void HandleInput()
{
}
protected override void Initialization()
{
... |
using Airfield_Simulator.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using Airfield_Simulator.Core.Airplane;
namespace Airfield_Simulator.Core.Simulation
{
public class AirplaneManager : SimulationObject, IAi... |
namespace Bindable.Linq.SampleApplication
{
using System.Windows;
using Samples;
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
Window w ... |
using DAL.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace DAL.Interfaces
{
public interface IUser
{
Task<User> Adduser(string username, string emailAddress, string password, int authLevelId);
Task<List<User>> GetAllUsers();
... |
using System;
using System.Diagnostics;
using SharpDX;
using SumoNinjaMonkey.Framework.Controls.DrawingSurface;
using CommonDX;
using SharpDX.Direct3D11;
using Windows.UI.Xaml;
using SharpDX.IO;
using SharpDX.DXGI;
using SharpDX.Direct3D;
using System.Collections.Generic;
using ModernCSApp.Services;
using Sandbox.Dx... |
namespace AdventOfCode.Base;
public abstract class SolverBase
{
string DayDirectory => $"{AppContext.BaseDirectory.Substring(0, AppContext.BaseDirectory.IndexOf("bin"))}\\{GetType().Name.Substring(0, 5)}\\";
List<string> Load(string inputFileName)
=> File.ReadAllLines(DayDirectory + inputFileName).To... |
using System.Collections.Generic;
namespace CfgComparator.Models
{
/// <summary>
/// Holds source and target <see cref="ConfigurationFile"/> and list of <see cref="ParameterDifference"/>.
/// </summary>
public class ConfigurationsCompareResult
{
public ConfigurationFile Source { get; }
... |
using UnityEngine;
[System.Serializable]
public class Sound
{
public string soundName;
public AudioClip[] clip;
[Range(0,5)]
public float delay;
[Range(0, 1)]
public float volume = 0.5f;
[Range(0, 1.5f)]
public float pitch = 1;
private AudioSource source;
Sound() {
volume = 1;
pitch = 1;
}
public ... |
using CVBuilder.Core.Models;
using CVBuilder.Core.Printers;
using NUnit.Framework;
using System;
using System.Linq;
using CV = CVBuilder.Core;
namespace CVBuilder.Tests
{
public class CurriculumVitaeBuilderTests
{
[SetUp]
public void Setup()
{
}
[Test]
public vo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Core;
using Windows.UI.Xam... |
namespace E19_GroupedByGroupNameExtensions
{
using System;
using System.Linq;
using E09_StudentGroups;
public class GroupedByGroupNameExtensions
{
public static void Main(string[] args)
{
// Rewrite the previous using extension methods.
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Tools.Response.Json;
namespace Tools.Response
{
public class JsonResponse
{
/// <summary>
/// 状态码
/// </summary>
public ResponseStatus StatusCode { get;... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.SharePoint;
using Waffles;
using Waffles.UserControls;
public partial class webs_view : AdminModal
{
public override void Build()
{
SPWebCollection web... |
using System;
namespace View
{
public class OutputView
{
public void ShowStart()
{
Console.WriteLine("|-----------------------------------------|");
Console.WriteLine("|--------- Welkom bij Goudkoorts ---------|");
Console.WriteLine("|-----------------------... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CyberPunkRPG
{
class Blind : GameObject
{
Rectangle position;
public Rectangle blindHitBox;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
static class StringBuilderExtensionMethods
{
//test
static void Main()
{
StringBuilder str = new StringBuilder();
str.Append("stringbuilder");
StringBu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DMIPrivateServices.Model
{
public class LiveTemperature
{
private static LiveTemperature instance;
public double LiveTemp;
private LiveTemperature() { }
public static LiveTemperatu... |
using System;
namespace Template
{
internal class Program
{
private static void Main(string[] args)
{
int cantidad = 0;
string tipo = string.Empty;
IPrimitiva calidad = null;
double total = 0;
Console.WriteLine("1-Barato, 2-Normal");... |
using System;
using StratCorp.CorpSMS.Entities;
using StratCorp.CorpSMS.ServiceLibrary.DataContracts;
namespace StratCorp.CorpSMS.ServiceLibrary.Translators
{
public static class MessageTranslator
{
public static MessageEntity MessageContractToMessageEntity(Message contract)
{
Mess... |
using ReactiveUI.Fody.Helpers;
using System;
using System.Collections.Generic;
using System.Text;
using TableTopCrucible.Core.Models.ValueTypes;
namespace TableTopCrucible.Core.Models.Sources
{
[Serializable]
public struct LibraryLocation
{
public LibraryLocation(bool isPinned, string path, DateT... |
using Ghost.Utility;
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class RoleFollowInfo : IReuseableObject<Transform, RoleComplete, Vector3, int>, IReuseableObjectBase
{
public Transform transform;
public RoleComplete role;
public Vector3 offset;
public Vector3 tempOffset;
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum ViewEvent {
PlayerTurnLeft,
PlayerTurnRight,
PlayerTurnUp,
PlayerTurnDown,
CamClockwise,//镜头顺时针旋转
CamCounterClockwise//镜头逆时针旋转
}
|
using System;
using System.Collections.Generic;
using System.Xml.Linq;
using System.Linq;
namespace Yasl
{
public class PrimitiveSerializer<T> : StructSerializer<T>
where T : struct
{
public override void SerializeConstructor(ref T value, ISerializationWriter writer)
{
write... |
/*
* This class is used to demonstrate the concept of Inheritence.
* This inherits the class Company.
*
* Please notice that the methods in Company class is re-used,
* abstract classes are impemented
* and virtual methods are over-riddedn.
*
* Below cocepts will be demoed using this file and it's interface:
* - In... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OracleClient;
using PST_BL;
namespace PST_SI
{
public class PSTInterface
{
public PSTInterface()
{
// TODO: Add constructor logic here
}
private static readonly... |
using GeneticAlgorithm.Genes;
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Immutable;
using System.Linq;
namespace GeneticAlgorithm
{
public abstract class OrderMaintainingChromosome<TSol, TGene, TFitness> : GeneMutatingChromosome<TSol, TGene, TFitness> where TGene :... |
//using System;
//using System.Collections.Generic;
//using System.Diagnostics;
//using System.Globalization;
//using System.IO;
//using System.Xml;
//using System.Linq;
//using System.Text.RegularExpressions;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
//using ORTRulesEngine;
//using ORTRulesEngine.Entities... |
using UnityEngine;
public class PlatformSpawner : MonoBehaviour
{
[SerializeField] private GameObject _platform;
[SerializeField] private Transform _generationPoint;
private float _platformLength;
private void Awake()
{
_platformLength = _platform.transform.localScale.z;
}
... |
using System;
using System.Runtime.Serialization;
using FluentAssertions;
using NUnit.Framework;
using Utilities.NET.Extensions;
namespace Utilities.NET.Tests.Extensions
{
public class EnumExtensionsTests : UnitTestBase
{
public enum FooEnum
{
Foo = 0,
Bar = 1,
... |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using OmniSharp.Extensions.JsonRpc.Generators.Contexts;
namespace OmniSharp.Extensions.JsonRpc.Generators.Strategies
{
internal class HandlerRegistryAct... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ObserverPattern
{
public class WeatherData : Subject
{
private List<Observer> observers { get; set; }
private float temperature { get; set; }
private float humi... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ToDoApp.Db;
using ToDoApp.Db.Domain;
using ToDoApp.Db.Extensions;
namespace ToDoApp.Api.Repositories
{
public class ElementRepository : IElementRepository
{
priva... |
using System;
using System.Collections.Generic;
using System.IO;
namespace AutoBazar
{
public class BusDB : MenuProperties
{
public static List<DataBus> car = new List<DataBus>();
public static int selectMotorType = 0;
public static int maxMotorType = Enum.GetNames(typeof(DataBus.Motor... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Text;
using Karkas.Core.DataUtil;
using Karkas.Ornek.TypeLibrary;
using Karkas.Ornek.TypeLibrary.Ornekler;
namespace Karkas.Ornek.Dal.Ornekler
{
public partial class D... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Knife : Item
{
public Collider2D swingCol;
public SpriteRenderer swingSR;
private LookAtMouse LAM;
public SpriteRenderer knife2;
private bool onCooldown;
private Coroutine swingCoroutine = null;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace WebApiDemo.Model.Response
{
public class BaseResponse: ISerializable
{
/// <summary>
/// 表示业务是否正常
///... |
using Pchp.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Sym
{
/**
* The EventDispatcherInterface is the central point of Symfony's event listener system.
* Listeners are registered on the manager and events are dispatched through the
* manager.
*
... |
using System;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Timers
{
public class ContinuousClock : GameTimer
{
public ContinuousClock(double intervalSeconds)
: base(intervalSeconds)
{
}
public ContinuousClock(TimeSpan interval)
: base(inte... |
namespace SpaceEngineersCalculator.Models
{
class Ingot
{
public string Name { get; private set; }
public (Ore ore, double count) Ore { get; private set; }
public Ingot(string name)
{
this.Name = name;
}
public Ingot(string name, Ore ore, int countO... |
using BPiaoBao.AppServices.Contracts.Cashbag;
using BPiaoBao.Client.UIExt;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Threading;
using System;
using System.Threading.Tasks;
namespace BPiaoBao.Client.SystemSetting.ViewModel
{
/// <summary>
/// 修改支付密码视图模型
/// </summary>
public class Chan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Metadata.W3cXsd2001;
using System.Text;
using System.Threading.Tasks;
namespace InspectorLib
{
public class FunctionInsp
{
static public string GInsp = ("Васильев Василий Иванович");
static public ... |
using System.Diagnostics;
namespace iQuest.VendingMachine.ProgramConfiguration
{
internal class EventViewerErrorWriter : IEventViewerErrorWriter
{
private int eventID = 1;
public void EventLogger(string message)
{
EventLog eventLog = new EventLog();
if(!EventL... |
using Archimedes.Library.Message.Dto;
namespace Archimedes.Service.Price
{
public interface IPriceRequestManager
{
void SendToQueue(MarketDto market);
}
} |
using Learn.IRepository;
using Learn.IService;
using Learn.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Learn.Service
{
public class WriterService:BaseService<Writer>,IWriterService
{
private readonly IWriterReposi... |
using HangoutsDbLibrary.Data;
using HangoutsDbLibrary.Model;
using HangoutsDbLibrary.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPI.Mappers;
using WebAPI.ViewModels;
namespace WebAPI.Services
{
public class ServiceUser : IServiceUser
{... |
using Alfheim.FuzzyLogic.Functions;
namespace Alfheim.FuzzyLogic
{
public interface IFunction
{
FuzzyFunctionType Type { get; }
double GetValue(double x);
}
}
|
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using System;
using System.Collections.Generic;
#nullable disable
namespace Repository.Models
{
/// <summary>
/// Repo model from database-first scaffolding
/// </summary>
public partial class Comment
{
public Comment()
{
UserLikes = new HashSet<UserLike>... |
using System;
using Entity;
namespace Business
{
public class UserBO
{
public static ListUserEntity SelectAll()
{
return DataAccess.UserDA.SelectAll();
}
public static UserEntity SelectByUserName(String username)
{
return DataAccess.UserDA.SelectByUserName(username);
}
public ... |
// Copyright 2020 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;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Prism.Logging;
using Ninject;
namespace Webcorp.rx_mvvm
{
public class Logger : ILogger
{
[Inject]
public ILoggerFac... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class lineTrack : MonoBehaviour {
public GameObject trackObject;
public Vector3 startOffset;
private LineRenderer line;
private UiBox uiBox;
private dataMaster data;
public int boxIndexActivate;
public string dockTypeActiv... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GameWindow : GenericWindow {
} |
using System.Collections.Generic;
using AgeBaseTemplate.Core.ContentTypes;
namespace AgeBaseTemplate.Core.Services
{
public interface ILanguagePageService
{
IEnumerable<LanguagePage> GetAllLanguagePages();
LanguagePage GetCurrentLanguagePage();
}
} |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Xml;
using Item = Compiler.LinkList<Compiler.Parser.LR1Production>;
namespace Compiler
{
cla... |
using System.Threading;
using static IoUring.Internal.ThrowHelper;
using static IoUring.Internal.Helpers;
using Tmds.Linux;
namespace IoUring.Internal
{
internal sealed unsafe partial class CompletionQueue
{
public bool TryRead(out Completion result)
{
uint head;
uint ne... |
using System;
using UnityEngine;
namespace ProBuilder2.Common
{
[Serializable]
public class pb_Renderable : ScriptableObject
{
public Mesh mesh;
public Material[] materials;
public Matrix4x4 matrix = Matrix4x4.get_identity();
public static pb_Renderable CreateInstance(Mesh InMesh, Material[] InMaterials)... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP
{
/**
* Interface ICacheFactory
*
* @package OCP
* @since 7.0.0
*/
public interface ICacheFactory
{
/**
* Get a distributed memory cache instance
*
* All entries add... |
using FluentValidation;
namespace DDDSouthWest.Domain.Features.Account.Admin.ManageProfile.UpdateExistingProfile
{
public class UpsertSpeakerProfileValidator : AbstractValidator<UpsertSpeakerProfile.Command>
{
public UpsertSpeakerProfileValidator()
{
RuleFor(x => x.GivenName).NotEm... |
using System;
using System.Globalization;
using Newtonsoft.Json;
using Omu.AwesomeMvc;
using Omu.Awem.Utils;
namespace Omu.Awem
{
internal static class Autil
{
internal static string Serialize(object input)
{
return JsonConvert.SerializeObject(input);
}
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Savaged.HasMyPasswordBeenPwned.Lib;
namespace Savaged.HasMyPasswordBeenPwned.Test
{
[TestClass]
public class HashServiceTests
{
[TestMethod]
public void TestHash()
{
var hashServ = new HashService("password");
... |
using AutoMapper;
using ImmedisHCM.Data.Entities;
using ImmedisHCM.Services.Models.Core;
using NHibernate;
namespace ImmedisHCM.Services.Mapping
{
public class ScheduleTypeMapping : Profile
{
public ScheduleTypeMapping()
{
CreateMap<ScheduleType, ScheduleTypeServiceModel>()
... |
using Ganss.Excel.Exceptions;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using NPOI.SS.Util;
using NPOI.Util;
using NPOI.XSSF.UserModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.L... |
//Based on the class originated from github.com/Microsoft/HoloToolkit-Unity/
//The button class controls the state of all the button used in the project.
using UnityEngine;
using Scripts;
using UnityEngine.Events;
public class Button : Singleton<Button>
{
public State StartingState;
private Renderer button... |
using UnityEngine;
using Mog;
using UnityEngine.UI;
public class ImageBlinker : MogImage {
public Sprite[] images;
public float blinkTime = 0.5F;
private int count;
private float lastBlinkTime = 0F;
protected void OnEnable () {
count = 0;
}
int IncrementCount () {
count ... |
using System;
using System.Collections.Generic;
using System.Text;
using ext;
using OCP.Files;
using File = System.IO.File;
namespace OC.Files
{
/**
* Class to provide access to ownCloud filesystem via a "view", and methods for
* working with files within that view (e.g. read, write, delete, etc.). Each... |
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using Microsoft.EntityFrameworkCore.Migrations;
namespace CarWash.ClassLibrary.Migrations
{
public partial class Schema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObstaclePool : MonoBehaviour {
public int obstaclePoolSize = 7;
public GameObject obstaclePrefab;
public float spawnRate = 5f;
public float obstacleMin = 5f;
public float obstacleMax = 20f;
private Ga... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System;
using System.Collections;
using System.Collections.Generic;
namespace Orbital.Mapping
{
public class Tileset : ScriptableObject
{
public Material Floor;
public Material FloorCorner;
public Material Wall;
public Material Doorway;
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMove : MonoBehaviour
{
Transform cameraTrans;
[SerializeField] Transform playerTrans;
[SerializeField] Vector3 cameraVec;
[SerializeField] Vector3 cameraRot;
void Start ()
{
cameraTrans =... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YoctoScheduler.Core.Database
{
[System.Runtime.Serialization.DataContract]
[DatabaseKey(DatabaseName = "ID", Size = 4)]
public class GenericCommand : D... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_AnisotropicFiltering : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.AnisotropicFiltering");
LuaObject.addMember(l, 0, "Disable");
LuaObject.addMember(l, 1, "Enable");
LuaObject.addMember(l, 2, ... |
namespace Belot.UI.Windows
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Belot.AI.SmartPlayer;
using Belot.Engine;
using Belot.Engine.Cards;
using Belot.Engine.Game;
using Belot.Engine.GameMechanics;
using Belot.Engine.... |
//
// 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.Collections;
#endregion
namespace DotNetNuke.Security.Permissions
{
/// -----------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;
namespace Erwine.Leonard.T.ExampleWebApplication
{
[ServiceContract(Namespace = "")]
[AspNet... |
using Checkout.Payment.Query.Domain;
using Checkout.Payment.Query.Domain.Interfaces;
using Checkout.Payment.Query.Domain.Models;
using Microsoft.Extensions.Caching.Distributed;
using System;
using System.Threading.Tasks;
using System.Text.Json;
using Checkout.Payment.Query.Seedwork.Extensions;
using Microsoft.Extensio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.