text stringlengths 13 6.01M |
|---|
using System;
namespace Binocle.AI.UtilityAI
{
/// <summary>
/// wraps a Func for use as an Appraisal without having to create a subclass
/// </summary>
public class ActionAppraisal<T> : IAppraisal<T>
{
Func<T,float> _appraisalAction;
public ActionAppraisal( Func<T,float> appraisalAction )
{
_apprais... |
using System;
namespace Dominio
{
public class Usuario
{
public decimal SQ_USUARIO { get; set; }
public string NM_USUARIO { get; set; }
public string LOGIN { get; set; }
public string SENHA { get; set; }
public DateTime DT_INCLUSAO { get; set; }
public string NM... |
using CallCenter.Client.SqlStorage;
using CallCenter.Client.SqlStorage.Entities;
using CallCenter.Common;
using CallCenter.Common.Entities;
using CallCenterRepository.Controllers;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace CallCen... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("Error")]
public class Error : MonoClass
{
public Error(IntPtr address) : this(address, "Error")
{
}
public Error(IntPtr address, string classN... |
using System;
using Xunit;
namespace PuzzleCore.Test
{
public class BoardValidMoves
{
[Theory]
[ClassData(typeof(TD_ValidMoves))]
public void ValidMoves_AreCorrect(string boardData, Directions moves)
{
var sut = BoardState.FromString(boardData);
Assert.... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Threading;
using biz.dfch.CS.LogShipper.Public;
using System.Collect... |
using KRF.Core.Entities.ValueList;
using System.Collections.Generic;
namespace KRF.Core.DTO.Employee
{
/// <summary>
/// This class does not have database table. This class acts as a container for below products classes
/// </summary>
public class EmployeeDTO
{
public IList<KRF.Core.Entitie... |
using SimpleBlogEngine.Repository.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SimpleBlogEngine.Services.Interfaces
{
public interface IBaseService<T> where T : BaseEntity
{
Task<ICollection<T>> GetAll();
Task<T> Get(long id);
Task Insert(T entity);... |
using SDL2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpDL.Events
{
public class TextEditingEventArgs : GameEventArgs
{
public int Length { get; set; }
public int Start { get; set; }
public String Text { get; set; }
pu... |
using System;
namespace ToDoApp.Models
{
public class ToDoItem
{
public Guid Id { get; set; }
public bool IsDone { get; set; }
public string Title { get; set; }
public DateTimeOffset? StartedAt { get; set; }
public string OwnerId { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
public class ClickToShoot : MonoBehaviour {
[HideInInspector]
public BulletShooter BulletShooter;
void Start () {
BulletShooter = gameObject.GetComponent<BulletShooter> ();
}
void Update () {
if (!BulletShooter)
return;
if(Input.GetKey(KeyCode.Mouse0))
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using TwinkleStar.Common.Json;
namespace TwinkleStar.Common
{
public static class HttpHelper
{
public static string GetPostBody(this HttpRequestBase re... |
using UnityEngine;
using System.Collections;
public class TestLight : MonoBehaviour
{
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
{
float newIntensity = HeartBeatAudioAnalyzer.smoothedVolume;
newIntensity *= 0.015F;
if ( newIntensity > 0.4... |
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Infrastructure.Persistence.Configurations
{
public class PostConfiguration : IEntityTypeConfiguration<Post>
{
public void Configure(EntityTypeBuilder<Post> builder)
{
... |
using System;
namespace LubyClocker.CrossCuting.Shared.Exceptions
{
public class InvalidRequestException : Exception
{
public InvalidRequestException(string? message) : base(message)
{
}
}
} |
//
// 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.Users.Social
{
/// ----------------------------------------------------------... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc.RazorPages;
using WagahighChoices.Ashe;
using WagahighChoices.Kaoruko.Models;
namespace WagahighChoices.Kaoruko.Pages
{
public class ResultsModel : PageModel
{
private readonly SearchStatusRepository _repository;
... |
/* 01. Write a program that reads from the console a sequence of positive integer numbers.
* The sequence ends when empty line is entered. Calculate and print the sum and average of the elements of the sequence.
* Keep the sequence in List<int>. */
using System;
using System.Collections.Generic;
using System.Linq... |
using System;
using UnityEngine;
// Handles events that needs to be called ever second
public class Clock : MonoBehaviour
{
#region -Events-
// Event called every second
public static event Action OnSecond;
// Event called every tenth of a second
public static event Action OnTenthSecond;
#en... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelperLibrary.Models.Interfaces
{
public interface IPerson : ITable
{
string Email { get; }
string Phone { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PDV.VIEW.Integração_Migrados.Model
{
public class VWContasReceber
{
public int ID { get; set; }
public string Nome { get; set; }
public DateTime DataEmissao { ... |
using System;
using End_to_End.Interface;
using Microsoft.ProjectOxford.Face;
using Microsoft.ProjectOxford.Emotion;
using Microsoft.ProjectOxford.SpeakerRecognition;
namespace End_to_End.ViewModel
{
public class MainViewModel : ObservableObject, IDisposable
{
private FaceServiceClient _faceServiceCli... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Transactions;
using Beamore.Contracts.DataTransferObjects.Event;
using Beamore.Contracts.DataTransferObjects;
using Beamore.API.Controllers;
using Beamore.API.BusinessLogics.UnitOfWorks;
namespace Beamore.Tests.Services
{
[TestClass]
... |
using Domain.Entities;
using System.Threading.Tasks;
namespace Application.Interfaces.Repositories
{
public interface IProductRepositoryAsync : IGenericRepositoryAsync<Product>
{
Task<bool> IsUniqueBarcodeAsync(string barcode);
}
}
|
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("TurnTimer")]
public class TurnTimer : MonoBehaviour
{
public TurnTimer(IntPtr address) : this(address, "TurnTimer")
{
}
public TurnTimer(IntPt... |
using System;
namespace Buffers
{
public interface IErasableDevice : IBlockDevice
{
/// <summary> 该设备的块数
/// </summary>
uint BlockCount { get; }
/// <summary> 每个块的页面数
/// </summary>
ushort PageCountPerBlock { get; }
/// <summary> 执行擦除操作
/// </summary>
void Erase(uint blockid);
/... |
using BLL.Dtos;
using BLL.Exceptions;
using BLL.Interfaces;
using System;
using System.Web.Http;
namespace PL.Controllers.Api
{
public class ProvidersController : ApiController
{
private readonly IProviderService _providerService;
public ProvidersController(IProviderService providerService)
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class ObjectsTransform : MonoBehaviour
{
private Vector2 _positionLast = Vector2.zero;
public float rotateSpeedX = 2.0f;
public float rotateSpeedY = 2.0f;
public float rotateSpeedXios = 0.2f;
public float rota... |
using SistemaVentasWeb.Models;
using Microsoft.EntityFrameworkCore;
namespace SistemaVentasWeb.Data
{
public class ProductosContext : DbContext
{
public ProductosContext(DbContextOptions<ProductosContext> options) : base(options)
{
}
public DbSet<Producto> Productos { get; s... |
using Caliburn.Micro;
using Frontend.Core.Logging;
namespace Frontend.Core.ViewModels.Interfaces
{
public interface ILogViewModel : IHandle<LogEntry>
{
}
} |
using Core.Repository.Library.UnitOfWork;
namespace Asset.Core.Repository.Library.UnitOfWorks.AssetModelUnitOfWorks.AssetEntryUnitOfWorks
{
public interface IServicceAndRepairingUnitOfWork :IUnitOfWork
{
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace LV1
{
class Note
{
private string mText;
private string mAuthor;
private int mPriority;
public Note()
{
mText = "Ovo je bilješka";
mAuthor = "Mihovil Petre... |
using ATSBackend.Domain.Entities;
using ATSBackend.Infra.Data.Contexts;
using ATSBackend.Domain.Interfaces.Repositories;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Collections.Generic;
namespace ATSBackend.Infra.Data.Repositories
{
public class CandidatoRepository : RepositoryBase<Candid... |
/*
* 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 Logic.Resource;
namespace Logic.Buildings {
[Serializable]
public class RingWorldBuilder : Builder {
public RingWorldBuilder(string ringWorldName) :
base(1200, new ReadOnlyResources(1E18, 1E19, 1E15), new Habitat(ringWorldName)) {
}
}
}
|
using System;
using UIKit;
using CoreGraphics;
using Ts.Core.Enums;
using Ts.Core.iOS;
using System.Collections.Generic;
using Foundation;
using System.Drawing;
using Ts.Core.Translation;
[assembly: Ts.Core.Dependency.Dependency(typeof(Ts.Core.UI.iOSDynamicContentDialog))]
namespace Ts.Core.UI
{
public class iOSDyna... |
namespace _08._Custom_Comparator
{
using System;
using System.Linq;
class CustomComparator
{
static void Main(string[] args)
{
Action<int[]> Print = arr => Console.WriteLine(string.Join(" ", arr));
Func<int, int, int> SortArr = (a, b) =>
... |
using EvnTonThat.ResourceAccess.Contexts;
using EvnTonThat.ResourceAccess.Entities;
using EvnTonThat.ResourceAccess.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EvnTonThat.ResourceAccess.EFEntities
{
public class EFMachVongRepository : IMaMachVong
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Devices.Geolocation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Services.Maps;
using Windows.Storage.Streams;
using Windows.UI;
using... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Activity
{
/**
* Interface IProvider
*
* @package OCP\Activity
* @since 11.0.0
*/
public interface IProvider
{
/**
* @param string language The language which should be used for trans... |
using FictionFantasyServer.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace FictionFantasyServer.NetCoreEntry
{
public class DesignTimeFFDbContextFactory : IDesignTimeDbContextFactory<FFDbContext>
{
public FFDbContext CreateDbContext(string[] args)
... |
using UnityEngine;
using UnityEngine.UI;
public class coins : MonoBehaviour {
Text text;
// Use this for initialization
void Start () {
text = GetComponent<Text> ();
}
// Update is called once per frame
void Update () {
printCoins ();
}
void printCoins(){
text.text=conf.coins+"$";
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
namespace dk.via.ftc.businesslayer.Models
{
public class VendorAdmin
{
[JsonPropertyName("use... |
using CHSystem.Models;
using CHSystem.Repositories;
using CHSystem.Services;
using CHSystem.ViewModels.Groups;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace CHSystem.Controllers
{
public class GroupsController : BaseController
{
public ActionResult ... |
using Service;
using Service.Contract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Text;
using System.Threading.Tasks;
namespace MKService
{
internal class ClientChannelProvider : IClientChannel... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public static class Config
{
/// <summary>
/// the blend value of new facial values with last values
/// </summary>
public static float motionBlendCoeffience = 2;
}
|
using System;
using System.Collections.Generic;
using Master.Contract;
using Master.DataFactory;
namespace Master.BusinessFactory
{
public class PortBO
{
private PortDAL portDAL;
public PortBO()
{
portDAL = new PortDAL();
}
public List<Port> GetList()
... |
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 Code_Hog {
public partial class DeleteTicketMenu : Form
{
CodeHogEntities cod... |
namespace TNBase.DataStorage
{
/// <summary>
/// Options for ordering
/// </summary>
public enum OrderVar
{
WALLET,
SURNAME
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using UnityEngine;
namespace ProBuilder2.Common
{
[Serializable]
public class pb_Face : ISerializable
{
[SerializeField]
private int[] _indices;
[SerializeField]
private int[] _distinct... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Presenter.Operators
{
class Square //: IOperator
{
public void perform(double input, int Hpointer)
{
}
}
}
|
#if (UNITY_EDITOR)
using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor(typeof(HeightmapProceduralEditor))]
public class HeightmapProceduralEditorButtons : Editor
{
public override void OnInspectorGUI()
{
DrawDefaultInspector();
HeightmapProceduralEditor myScript = (HeightmapProc... |
using static Weather.Safety;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
namespace Weather
{
enum Status
{
OK, NotOK
}
public sealed class R<D>
{
readonly D data;
readonly List<Log> log;
readonly Status status;
R(D data, List<Log> log, St... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using API.Dtos;
using API.Models;
namespace API.Services
{
public interface IAttachmentService
{
Task<IAsyncResult> AddAsync(AttachmentToAdd attachmentToAdd);
Task<IAsyncResult> DeleteAsync(int attachmentId);
... |
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 Foodieee
{
public partial class konfirmasi : Form
{
//Memanggil dari class bin... |
namespace TNBase.External.DataImport
{
public class ImportResultError
{
public ImportResultError(string fieldName, string errorMessage, string rawRecord)
{
FieldName = fieldName;
ErrorMessage = errorMessage;
RawRecord = rawRecord;
}
public st... |
using System.IO;
using Microsoft.Xna.Framework.Content.Pipeline;
namespace MonoGame.Extended.Content.Pipeline.Json
{
[ContentImporter(".json", DefaultProcessor = nameof(JsonContentProcessor), DisplayName = "JSON Importer - MonoGame.Extended")]
public class JsonContentImporter : ContentImporter<ContentImporter... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Business.Abstract;
using Core.Utilities.Results;
using DataAccess.Abstract;
using Entities.Concrete;
namespace Business.Concrete
{
public class OrderStatusManager:IOrderStatusService
{
private IOrderStatusDal _orderStatusDal;
... |
using System;
using System.Diagnostics;
using System.Windows.Forms;
using System.IO;
using ClosedXML.Excel;
namespace ForRocket_FrontEnd
{
public partial class Simulation : Form
{
RocketParamter rocket_parameter = new RocketParamter();
SimulationParameter simulation_parameter = new SimulationParamete... |
using System.Collections.Generic;
using Escc.Umbraco.PropertyEditors;
using Umbraco.Core.Models;
namespace Escc.EastSussexGovUK.UmbracoDocumentTypes.DataTypes
{
/// <summary>
/// A data type which validates and formats phone numbers
/// </summary>
public static class PhoneNumberDataType
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UniRx;
using UnityEngine;
public class BuildingController : BuildingControllerBase {
public override void InitializeBuilding(BuildingViewModel building) {
}
}
|
using System;
using System.Data;
using System.Data.OleDb;
namespace exportXml
{
public static class BazaDeDate
{
public static string nume { get; set; }
public static string connectionstring { get; set; }
public static OleDbConnection conexiune { get; set; }
public static bool co... |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace AorFramework.NodeGraph
{
/// <summary>
/// NodeGraph 样式定义
/// </summary>
public class NodeGraphDefind
{
private static GUIStyle _ToolItemFoldoutStyle;
public static GUIStyle GetToolItemF... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TrainingCS
{
interface ISolution
{
int Solution(int N);
}
}
|
namespace Library.Client.Core.Commands
{
using Data;
using Models;
using System;
using System.Linq;
using Utilities;
public class RegisterUserCommand
{
public string Execute(string[] inputArgs)
{
Check.CheckLength(7, inputArgs);
string use... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SM.DAL;
using SM.Entities.Model;
namespace SM.BLL
{
public class AccountBLL
{
private readonly AccountDAL _accountDAL = new AccountDAL();
/// <summary>
/// 获取账号信息
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpSim.Util
{
/// <summary>
/// Collection of Tags used in the game's .xml file
/// </summary>
public class Tags
{
//Clothes
public const strin... |
using Math = System.Math;
namespace Uif {
public enum EasingType {
Linear = 0,
Sine,
Quad,
Cubic,
Quart,
Quint,
Expo,
Circ,
Back,
Elastic,
Bounce
}
public enum EasingPhase {
In = 0,
Out,
InOut
}
/// <summary>
/// b: beginning value, c: change in value, t: current time, d: durat... |
//
// 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;
using System.Collections.Generic;
using DotNetNuke.Common.Utilities;
#endregion
namespace DotNetNuke.Services.Search.Enti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Master.BusinessFactory;
namespace LogiCon.Areas.Reports.Controllers
{
[RoutePrefix("api/reports/operational")]
public class OperationalController : ApiController
{
... |
using System.Web;
using System.Web.Optimization;
namespace amsdemo
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBu... |
using Godot;
using System;
using static Lib;
public class Tower : StaticBody
{
public float power;
public int type;
public int effect;
protected AnimationPlayer crystalAPlayer;
protected MeshInstance model;
protected MeshInstance crystal;
protected Root root;
public void RespawnSpel... |
/*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ArtCom.Logging
{
public static class HumanFriendlyRandomString
{
private static readonly string[] AnimalNames = new string[]
{
"Alligator", "Alpaca", "Ant", "Antelope", "Ape", "Armadillo... |
using UnityEngine;
using UnityEngine.UI;
using VRTK;
public class BatController : MonoBehaviour {
public GameController gameController;
public GameObject bat;
public GameObject otherBat;
public Canvas instructionCanvas;
public Image radialProgress;
private float _triggerHoldTime = -10f;
... |
using DukcapilWS.ApiServices.Entity;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
namespace DukcapilWS.ApiServices
{
public class Services
... |
using System;
using System.Runtime.InteropServices;
namespace Sample
{
partial class NativeMethods
{
partial class NCrypt
{
/// <summary>
/// Struct NCryptBuffer
/// </summary>
/// <remarks>
/// https://docs.microsoft.com/en-us/windows/desktop/api/bcrypt/ns-bcrypt-_bcryptbuffe... |
using System;
using UnityEngine;
namespace RO
{
public class DebugFake : MonoBehaviour
{
private void Awake()
{
Object.DestroyImmediate(base.get_gameObject());
}
}
}
|
using Application.Interfaces.Services;
using Domain.Common;
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Infrastructure.Persistence.Contexts
{
public class ApplicationDbContext : DbContext
{
private reado... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
//[CreateAssetMenu(menuName = "Game Data/CardContainer")]
[Serializable]
public class CardContainer
{
public List<CardData> Cards;
}
|
using System.Collections.Generic;
namespace test1.Models
{
public class Institute
{
public int Id { get; set; }
public string Name { get; set; }
public List<Trainer> Trainers { get; set; }
public List<Branch> Branchs { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using Zillow.Core.Constant;
using Zillow.Core.Dto;
using Zillow.Core.Dto.CreateDto;
using Zillow.Core.Dto.UpdateDto;
using Zillow.Core.Enum;
using Zillow.Core.Exceptio... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ChoosePairs;
namespace ChoosePairsUnitTest
{
[TestClass]
public class CPairSelectorUnitTest
{
[TestMethod]
public void Select_CheckValues()
... |
using System;
using System.Collections.Generic;
namespace OCP.FullTextSearch.Model
{
/**
* Interface ISearchRequest
*
* When a search request is initiated, from a request from the front-end or using
* the IFullTextSearchManager::search() method, FullTextSearch will create a
* SearchReques... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace fes.Models
{
public class FileFieldValue
{
[Key]
public int ID { get; set; }
[Required]
public int FileID { get; set; }
... |
using System.Collections.Generic;
namespace Contoso.Forms.View.Common
{
public class ValidationMessageView
{
public string Field { get; set; }
public Dictionary<string, string> Methods { get; set; }
}
} |
using NuGet.Protocol.Core.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Client.V2Test
{
public class SearchV2Tests
{
//[Fact]
//public async Task SearchV2_1000()
... |
using System;
using System.Collections.Generic;
using Microsoft.Data.Entity.Migrations;
namespace Socialease.Migrations
{
public partial class PingsChanges : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(name: "FK_Identit... |
using NUnit.Framework;
namespace RomanNumeralsTests
{
[TestFixture]
public class RomanNumeralsTests
{
private RomanNumerals.RomanNumerals _romanNumerals;
[SetUp]
public void Initialize()
{
_romanNumerals = new RomanNumerals.RomanNumerals();
}
[T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Diagnostics;
using ICSharpCode.SharpZipLib.Zip;
namespace SL.Util
{
public class ZipUtil
{
public static void Decompress(string GzipFile, string targetPath)
{
//string directoryName = P... |
using Domain;
using Microsoft.EntityFrameworkCore;
using System;
namespace DAL
{
public class UserContext : DbContext
{
public DbSet<User> Users { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseCosmos(
E... |
/*
* Author: Jason D. Jimenez
* Date : 5/30/2004
* Time : 9:10 AM
*/
using System;
using System.Collections.Generic;
using JasonJimenez.ClassicReport.Common;
using JasonJimenez.ClassicReport.Common.Widgets;
namespace JasonJimenez.ClassicReport
{
class ClassicReportPage : IPage
{
ClassicReport... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Pointof
{
public partial class UserForm : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiaxeirisiPoiotitas
{
class Pelatis: Synergatis
{
private String id;
private String name;
private String phoneNumber;
private String fax;
... |
using DataAccessLayer.Map;
using Entity;
using System.Data.Entity;
namespace DataAccessLayer
{
public class DatabaseContext:DbContext
{
public DatabaseContext() : base("DefaultDb")
{
}
internal DbSet<User> User { get; set; }
internal DbSet<Exam> Exam { get; set; }
... |
// Copyright 2019 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;
namespace Sesi.WebsiteDaSaude.WebApi.Models
{
public partial class Bairros
{
public Bairros()
{
Locais = new HashSet<Locais>();
Usuarios = new HashSet<Usuarios>();
}
public int IdBairro { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MusicBoxController : MonoBehaviour {
AudioSource audioSrc;
void Start() {
audioSrc = GetComponent<AudioSource>();
}
IEnumerator FadeOut(float delay) {
audioSrc.volume = 1f... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace ProjectLauncher
{
public class BoolToEnumConverter : IValueConverter
{
public object Convert(object... |
using System;
using System.Globalization;
namespace ObjectPrinting
{
public static class PropertyPrintingConfigExtensions
{
public static string PrintToString<T>(this T obj, Func<PrintingConfig<T>, PrintingConfig<T>> config) =>
config(ObjectPrinter.For<T>())
.PrintToString(o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.