text stringlengths 13 6.01M |
|---|
namespace _1.TaskSchool
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public interface ICourse : IEnumerable
{
IList<Student> SetOfStudents { get; set; }
void Leave(Student candidate);
void Join(Student candidat... |
using System.Collections.Generic;
using System.Linq;
using Vintagestory.API.Common;
using Vintagestory.API.Common.Entities;
using Vintagestory.API.MathTools;
using Vintagestory.API.Server;
namespace OreCrystals
{
class OreCrystalsRegisterCommands : ModSystem
{
public override bool ShouldLoad(EnumAppSi... |
#region Related components
using System;
using System.Net;
using System.Xml;
using System.Configuration;
using System.Collections.Generic;
using Enyim.Caching.Memcached;
using Enyim.Caching.Memcached.Protocol.Text;
using Enyim.Caching.Memcached.Protocol.Binary;
using Microsoft.Extensions.Logging;
using Microsoft.Extens... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
public enum PlayerState
{
Prepare,
Playing,
Died,
Finish
}
public GameObject fireShieldParticle;
public GameObject levelCompletePanel;
... |
using Models.Towers;
using UnityEngine;
namespace AI
{
public class ShotLogic : ILogic
{
private readonly IWeapon _weapon;
private readonly EnemyLogic _target;
private readonly Vector3 _position;
private readonly Vector3 _targetPosition;
private float _totalTime;
... |
using UnityEngine;
using System.Collections;
public class InsertCoinCtrl : MonoBehaviour {
public PlayerBtState PlayerState;
UISprite InsertCoinSprite;
public static InsertCoinCtrl _InstanceP1;
public static InsertCoinCtrl _InstanceP2;
public static InsertCoinCtrl GetInstanceP1()
{
return _InstanceP1;
}
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace NotSoSmartSaverAPI.ModelsGenerated
{
public partial class Userandgroup
{
public string Groupid { get; set; }
public string Userid { get; set; }
}
}
|
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 Flipcards.DataAccess;
using FlipCards.Models;
namespace Flipcards
{
public partial class Decks... |
using System;
using App.Core.Interfaces.Helpers;
namespace App.Core.Helpers
{
public class DateTimeHelper : IDateTimeHelper
{
public DateTime Now() => DateTime.UtcNow;
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BreuTextController : MonoBehaviour
{
public Canvas Text1;
public Canvas Text2;
public Canvas Text3;
public Canvas Text4;
private float timer = 0;
// Start is called before the first frame... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PiwoBack.Data.Models
{
public class BreweryPicture: Entity
{
public Brewery Brewery { get; set; }
public string PictureName { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rocket : MonoBehaviour
{
[Header("General")]
public float speed;
public float punch;
[Header("Effects")]
public GameObject hitEffect;
[Header("Sounds")]
public GameObject hittingTheWall;
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.Networking;
public class PlayerManagerNetworked : NetworkBehaviour
{
public GameObject AuraExpander;
public GameObject AuraController;
public GameObject BridgeBars;
public GameObject St... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Engine.Events;
public enum BaseUIStates {
NoState,
InUI,
InGame,
InEdit
}
public class BaseUIControllerMessages {
public static string uiPanelAnimateIn = "ui-panel-animate-in";
... |
using System;
using System.Collections.Generic;
using Efa.Domain.Entities;
using Efa.Domain.Interfaces.Repository;
using Efa.Domain.Interfaces.Services;
using Efa.Domain.Validation.Alunos;
using Efa.Domain.ValueObjects;
namespace Efa.Domain.Services
{
public class AlunoService : ServiceBase<Aluno>, IAlunoService
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestTransMove : MonoBehaviour {
// Start is called before the first frame update
private float moveState = 0;
void Start() {
}
// Update is called once per frame
void Update() {
if(Inp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _34_HomeWork
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter your firstname:");
string firstname = Console.... |
namespace P10InfernoInfinity.Interfaces
{
public interface IGemLevelable : IMagicalStat
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace WebApp.Data.Models
{
public class ContactResponseModel
{
public string Address { get; set; }
public string Lat { get; set; }
public string Lng { get; set; }
public List<PhoneNumber> PhoneNumbers { get;... |
using System.Collections.Generic;
using System.Drawing;
using OxyPlot.WindowsForms;
using System.Windows.Forms;
using System;
namespace PterodactylCharts
{
public partial class PointGraph : Form
{
public PointGraph()
{
InitializeComponent();
}
public void PointGrap... |
using System;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers.CrossOriginPolicies.ResourcePolicy
{
/// <summary>
/// Allows resources to be loaded from other domains.
/// </summary>
public class CrossOriginDirectiveBuilder : CrossOriginResourcePolicyDirective... |
using CaseManagement.DataObjects;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaseManagement.ClientObjects
{
public class ViewClientProvider
{
public int clientProviderId { get; set; }
pub... |
using System.Text.RegularExpressions;
using UnityEditor;
namespace Daz3D
{
public static class Constants
{
public const string shaderNameMetal = "Daz3D/IrayUberMetal";
public const string shaderNameSpecular = "Daz3D/IrayUberSpec";
// public const string shaderNameIraySkin = "Daz3D/Ira... |
using Alabo.Domains.Services;
namespace Alabo.Industry.Shop.Activitys.Modules.BuyPermision.Service
{
/// <summary>
/// 预售设置服务接口
/// </summary>
public interface IBuyPermisionService : IService
{
}
} |
using Project_Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Web;
using System.Web.Mvc;
namespace Project_UI.Areas.Admin.Controllers
{
public class ContactController : BaseController
{
// GET: Admin/Contact
publi... |
using System;
using System.Collections.Generic;
namespace HospitalSystem.Models
{
public partial class prescription
{
public prescription()
{
this.charge_record = new List<charge_record>();
this.medicine_detail = new List<medicine_detail>();
}
... |
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using CoherentSolutions.Extensions.Configuration.AnyWhere.Abstractions;
namespace CoherentSolutions.Extensions.Configuration.AnyWhere
{
public static class AnyWhereConfigurationExceptions
{
public stat... |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog;
using System;
using System.Threading;
using System.Threading.Tasks;
using TelegramFootballBot.Core.Services;
namespace TelegramFootballBot.App.Workers
{
public class MessageProcessingWorker : BackgroundService
{... |
using System;
using System.Data.SqlClient;
using System.Data;
using System.Collections;
using System.Configuration;
using DMS.Utils;
namespace DMS.DataAccessObject
{
/// <summary>
/// Summary description for clsBaseDAO.
/// </summary>
/// <remarks>
/// Author: Le Tien Phat
/// ... |
namespace Sentry.Tests;
public class GraphQlRequestContentExtractorTests
{
private const string ValidQuery = "query { notes { id } }";
private const string ValidQueryWithName = "query getAllNotes { notes { id } }";
private const string ValidShorthandQuery = "{ notes { id } }";
private const string Vali... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ASM.Entity
{
class Token
{
private string _token;
public string token { get => _token; set => _token = value; }
}
}
|
namespace MayaBot
{
public interface IMaya
{
/// <summary>
/// The standard greeting
/// </summary>
string Greeting { get; }
/// <summary>
/// Say something to <see cref="Maya"/> and get a response
/// </summary>
/// <param name="message">The me... |
// Copyright (c) Christopher Clayton. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace praxicloud.core.metrics
{
using System.Runtime.CompilerServices;
using System.Text;
/// <summary>
/// Helper utilities for text ba... |
using System.Windows;
using System.Windows.Media;
namespace Crystal.Plot2D
{
/// <summary>
/// Class that renders triangular marker at every point of graph.
/// </summary>
public class TrianglePointMarker : ShapePointMarker
{
public override void Render(DrawingContext dc, Point screenPoint)
{
... |
using Fingo.Auth.Domain.Infrastructure.Interfaces;
using Fingo.Auth.Domain.Users.Interfaces;
namespace Fingo.Auth.Domain.Users.Factories.Interfaces
{
public interface IGetAllUserFactory : IActionFactory
{
IGetAllUser Create();
}
} |
using DChild.Gameplay.Objects.Characters.Attributes;
using Sirenix.OdinInspector.Editor;
using UnityEngine;
namespace DChildEditor.Gameplay.Characters.Attributes
{
[OdinDrawer]
public class VitalityDrawer : OdinValueDrawer<Vitality>
{
protected override void DrawPropertyLayout(IPropertyValueEntry<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.Company_Info
{
class Program
{
static void Main(string[] args)
{
string companyName = Console.ReadLine();
string companyAddress = Console.Re... |
using System;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace GYOMU_CHECK
{
public partial class GC0030 : Form
{
CommonUtil comU = new CommonUtil();
DateTime dt = System.DateTime.Now;
private User user;
public enum column
... |
using JMusic.Models;
using JMusic.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.Media.Capture;
using Windows.Storage;
using Windows.UI.Xaml;... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using MySql.Data.MySqlClient;
namespace Trades.src.Models
{
/// <summary>
/// Модель сделки
/// </summary>
[DataContract]
public class Trade
{
/// <summary>
/// Индитификатор
... |
using AutoTests.Framework.Web;
namespace AutoTests.Framework.Tests.Web.Elements
{
public abstract class DemoElement : Element
{
protected DemoContext Context { get; }
protected DemoElement(Application application) : base(application.Web)
{
Context = application.Web.GetCont... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Requests
{
public class CloudServerVolumeRetrieve
{
public string serverId { get; set; }
public string volumeId { get; set; }
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using EntityClasses;
using AbilityClasses;
using MapClasses;
using AStar;
namespace AIClasses
{
public enum Movement
{
Null = -1,
Nothing = 0,
Forward = 1,
TurnLeft = 2,
TurnRi... |
using IWorkFlow.Host;
using IWorkFlow.ORM;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace BizService.Services.B_AutoMonitoringPlanSvc
{
class B_... |
using System.Linq;
using SimpleHttpServer.Models;
using SimpleMVC.App.MVC.Interfaces;
namespace SimpleMVC.App.MVC.Security
{
public class SignInManager
{
private readonly IDbIdentityContext dbContex;
public SignInManager(IDbIdentityContext contex)
{
this.dbContex = contex;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Entity;
using System.Web;
using System.Web.Mvc;
using Vidly1.Models;
namespace Vidly1.Controllers
{
public class CustomersController : Controller
{
private ApplicationDbContext context;
public CustomersControl... |
using DataLightning.Examples.Questions.Model;
using FluentAssertions;
using Moq;
using System.Collections.Generic;
using Xunit;
namespace DataLightning.Examples.Questions.Tests
{
public class EngineTests
{
private readonly Engine _sut;
private QaApiContent _lastResult;
public EngineTe... |
using System;
using System.Collections.Generic;
namespace WebApiLab.Entities
{
public class Order
{
public int Id { get; set; }
public DateTime OrderDate { get; set; }
public ICollection<ProductOrder> ProductOrders { get; } = new List<ProductOrder>();
}
}
|
using AccesoDatos;
using ProyectoLP2;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LogicaNegocio
{
public class FacturaBL
{
private FacturaDA facturaDA;
public FacturaBL()
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BriberyClickController : Controller
{
public override void Execute(object data)
{
CoinArgs e = data as CoinArgs;
UIDead dead = MVC.GetView<UIDead>();
if (Game.M_Instance.M_GM.GetM... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Gradient3Colors : MonoBehaviour
{
public Color color1;
public Color color2;
public Color color3;
private Color currColor;
public Color ColorFromPercent(float percent)
{
float rA, g... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Pacman
{
public class GUIBox : GUITextureElement
{
protected int width, height;
protected int leftSpacing, rightSpacing, topSpacing, bottomSpacing;
protected BoxStretch stretchMode;
/// <summary>... |
using UnityEngine;
using System.Collections;
public class CrusherController : MonoBehaviour {
[SerializeField]
private float speed = 0.3f;
private bool isActive;
void Start() {
isActive = false;
}
void FixedUpdate() {
if (isActive)
GetComponent<Rigidbody2D>().velocity = -Vector2.up * speed;
}
public... |
namespace Ejercicio
{
public class Tecnologias
{
private string nombre;
public string Nombre { get => nombre; }
private int potencia;
private int cantidadDeUsos;
public Tecnologias(string nombre, int potencia, int cantidadDeUsos)
{
this.nombre = nombre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LocalStore
{
class Program
{
static void Main(string[] args)
{
var context = new ProductsContext();
context.Products.Remove(context.Produ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTO.DataCollect
{
public class UserDTO
{
public int Id { get; set; }
public string description { get; set; }
public string username { get; set; }
public string password { get; set; }... |
using BuiltCodeAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BuiltCodeAPI.Repository.IRepository
{
public interface IDoctorRepository
{
ICollection<Doctor> GetDoctors();
Doctor GetDoctor(Guid doctorId);
bool CRMEn... |
using Autofac;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EmberKernel.Services.UI.Mvvm.ViewComponent.Window
{
public interface IWindowManager<T> : IWindowManager
{
void Register<TWindow>() where TWindow : T, IHoste... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ninject;
namespace WhatNEXT
{
public class WhatNextFacade
{
private static WhatNextFacade facade = new WhatNextFacade();
private readonly IKernel kernel;
private WhatNextFacade()
{
... |
using System;
using Jypeli;
namespace Jypeli.SimplePhysics
{
public interface Impulse
{
bool IsExpired { get; }
Vector GetNextForce();
}
}
|
using System;
namespace CodeCityCrew.Settings.Test
{
public class MySetting
{
public string ApplicationName { get; set; } = "Application";
public DateTime CreatedDate { get; set; } = DateTime.MaxValue;
}
}
|
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Function x 2 of type `double`. Inherits from `AtomFunction<double, double>`.
/// </summary>
[EditorIcon("atom-icon-sand")]
public abstract class DoubleDoubleFunction : AtomFunction<double, double> { }
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BO;
using Tools;
using DAL.Exceptions;
using System.Data.SqlClient;
namespace DAL
{
public class RaceDAO : GenDAO<Race>
{
public override string TableName => "Race";
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TitleSpawner : MonoBehaviour
{
private float timeBtwSpawns; //Time between spawns objects
public float startTimeBtwSpawns; //Time to start spawns objects
public float minTimeSpawns;
public float maxTimeSpawns;
public Gam... |
using SpatialEye.Framework.Threading;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Browser;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
u... |
using BoDi;
using Coypu.NUnit.Matchers;
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace WebSpecs.Support
{
[Binding]
public class PageSteps : Base
{
public PageSteps(IObjectContainer objectContainer) : base(objectContainer)
{
}
[Given(@"I browse to t... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class TimeManager : MonoBehaviour
{
public Timer timer;
public TextMeshProUGUI TimeText;
void Update()
{
if(TimeText != null)
{
TimeText.text = timer.Day + "";
}
... |
using HS_WebAPI.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HS_WebAPI.Interface
{
public interface IHSService
{
Item Add(Item newItem);
void Delete(Guid id);
Item GetById(Guid id);
Item[] GetAllItems();
}... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Unity.Linq;
using UnityEngine;
public class WorldMapController : MonoBehaviour
{
public Grid[,] WorldMap = new Grid[10, 10];
public List<GameObject> Parts = new List<GameObject>();
public List<GameObject> Exits = new List<G... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.SYS;
namespace com.Sconit.Entity.INV
{
[Serializable]
public partial class Hu : EntityBase, IAuditable
{
#region O/R Mapping Properties
[Export(ExportName = "Ageing", ExportSeq = 3)]
[Export(ExportNam... |
namespace Sentry.Tests.Internals;
/// <summary>
/// Copied/Modified from:
/// https://github.com/mentaldesk/fuse/blob/91af00dc9bc7e1deb2f11ab679c536194f85dd4a/MentalDesk.Fuse.Tests/ObjectExtensionsTests.cs
/// </summary>
public class ObjectExtensionsTests
{
[Fact]
public void SetFused_AutoPropertyName_StoresPr... |
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Responsible for initializing a team configuration panel
/// to its default state.
/// </summary>
public class TeamConfigurationPanel : MonoBehaviour
{
/// <summary>
/// The example game object showcasing how players in the team
/// will look after... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.Collections;
using System.Collections.Generic;
using UnityEditorInternal;
namespace AlmenaraGames
{
public class MLPASConfigWindow : EditorWindow
{
private Texture logoTex;
AlmenaraGames.Tools.MLPASConfig config;
#if ... |
using DG.Tweening;
using UnityEngine;
public class LoginUIManager : MonoBehaviour {
private float timeToCloseApp = 0;
private bool isSigninShowed = false;
private bool isSignupShowed = false;
private bool isForgotShowed = false;
public float SpeedToAnimate = 0.7f;
public float LogoPositionInSignin;
public f... |
using System.Collections;
using System.Collections.Generic;
using System;
namespace MyUtility
{
public class MBuffer
{
public static byte[] strToBuffer(string str)
{
return Convert.FromBase64String(str);
}
public static int[,] bufferToIntArray(byte[] buffer, int ... |
using Alabo.Data.People.Provinces.Domain.Entities;
using Alabo.Domains.Services;
using MongoDB.Bson;
namespace Alabo.Data.People.Provinces.Domain.Services
{
public interface IProvinceService : IService<Province, ObjectId>
{
}
} |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace GDS.Comon
{
public static class EnumHelper
{
/// <summary>
/// 获取枚举类型的中文描述
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EQS.AccessControl.Application.ViewModels.Input
{
public class PersonRoleInput
{
public PersonInput Person { get; set; }
public int PersonId { get; set; }
public RoleInput Roles { get; set; }
public int... |
namespace Serilog.Tests.Core;
public class LoggingLevekSwitchTests
{
[Fact]
public void MinimumLevelChanged_Should_Work()
{
var sw = new LoggingLevelSwitch();
bool changed = false;
sw.MinimumLevelChanged += (o, e) =>
{
Assert.Equal(sw, o);
Assert.Equa... |
using System;
using System.Collections.Generic;
namespace AuctionMaster.App.Model
{
public partial class ScheduledTaskInterval
{
public int Id { get; set; }
public int ScheduledTask { get; set; }
public int Interval { get; set; }
public virtual ScheduledTask ScheduledTaskNavig... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace talis.xivplugin.twintania.Events
{
public class TimerUpdateEventArgs
{
public double TimeToEvent { get; private set; }
public TimerUpdateEventArgs(double timeToEvent)
... |
using System;
using System.Text;
using System.Text.RegularExpressions;
namespace ComLib.Extensions
{
public static class StringExtensions
{
/// <summary>
/// Inserts the args into the format string.
/// </summary>
public static string FormatWith(this string format, params objec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JavaClass
{
public JavaClass(AndroidJavaClass obj)
{
m_Class = obj.ToString();
m_AndroidJavaClass = obj;
}
public JavaClass(string _class)
{
m_Class = _class;
m_AndroidJavaCl... |
using System;
using System.Collections.Generic;
namespace _06_Math_Potato
{
public class _06_Math_Potato
{
public static void Main()
{
var children = Console.ReadLine().Split();
var number = int.Parse(Console.ReadLine());
var leftKids = new Queue<string>(ch... |
using System;
using System.Runtime;
using Moq;
using NUnit.Framework;
using Users;
using Users.Implementation;
using Users.Interfaces;
namespace UsersTests
{
[TestFixture]
public class Tests
{
private IUsers users;
[SetUp]
protected void SetUp()
{
var v... |
using Witsml;
namespace WitsmlExplorer.Api.Services
{
public class WitsmlService
{
protected readonly IWitsmlClient WitsmlClient;
protected WitsmlService(IWitsmlClientProvider witsmlClientProvider)
{
WitsmlClient = witsmlClientProvider.GetClient();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Application.DTO
{
public class CreatePurchaseContract
{
public string Code { get; set; }
public string Name { get; set; }
public string StoreIds { get; s... |
using System;
namespace NBlog.Web.Application.Service.Entity
{
public class User
{
public string Username { get; set; }
public string FriendlyName { get; set; }
public bool IsAuthenticated { get; set; }
public bool IsAdmin { get; set; }
public string FacebookAccessToken... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrderManager : MonoBehaviour
{
// reference
public static OrderManager instance;
// Inspector elements
public GameObject _canvas;
public static GameObject canvasReference;
public List<GameObject> _al... |
using UnityEngine;
public class EvilStaff : MonoBehaviour
{
[SerializeField] private Transform m_staffTransform;
private EnemyMovement m_movement;
private SpriteRenderer m_spriteRenderer;
private Vector3 m_startScale;
void Start()
{
m_spriteRenderer = GetComponent<SpriteRenderer>();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ApiCatalogo.InputModel
{
public class LivroInputModel
{
[Required]
[StringLength(100, MinimumLength = 3, ErrorMessage = "O nome do livro deve ... |
//-----------------------------------------------------------------------
// <copyright file="EmailAddressAttribute.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Sm... |
using System;
using System.Collections.Generic;
using Compiler.FrontendPart.SemanticAnalyzer;
using Compiler.FrontendPart.SemanticAnalyzer.Visitors;
using Compiler.TreeStructure;
using Compiler.TreeStructure.Expressions;
using Compiler.TreeStructure.MemberDeclarations;
using Compiler.TreeStructure.Statements;
namespac... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Text.RegularExpressions;
using HtmlAgilityPack;
namespace WpfEmailScraper
{
class LinkScraper
{
//Private Class Members
private HashSet<Uri> _results = new HashSet<Uri>();
//Public Class Properties
... |
// In this example we show how to invoke a coroutine and wait until it
// is completed
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class EnumeratorDefenseCrew : MonoBehaviour
{
CharacterView source;
List<CharacterView> targets;
string prefabId;
AbilityVO ability;
public v... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AlohaCorp.UI
{
public class UIElementGroupTester : MonoBehaviour
{
[SerializeField] private KeyCode key;
[SerializeField] private UIElementGroup targetGroup;
[SerializeField] private bool... |
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public class MediaTrack
{
public UInt32 CodecFourcc { get; set; }
public UInt32 OriginalFourcc { get; set; }
public int Id { get; set; }
public MediaTrackTypes Type { get; set; }
... |
using System;
namespace Strategy
{
class Program
{
static void Main(string[] args)
{
var orderService = new OrderService(new CreditCardPaymentProcessor(), new FedExDeliveryProvider());
orderService.BuyOnline(new Item { Name = "Book", Price = 10.00m }, "TestAddr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace VLAN_IP
{
class Program
{
public static List<IPcim> sipcimek = new List<IPcim>();
static void Main(string[] args)
{
string[] ipcim... |
using System;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
public class WorkerFactory : MonoBehaviour {
[SerializeField]
private Names _names = null;
[SerializeField]
private int _workerEntityId = 1;
[SerializeField]
private Color[] _skinTones = null... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.