text stringlengths 13 6.01M |
|---|
using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SkillsGardenApi.Models
{
public class Component
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int I... |
using System.Collections.Generic;
using System.Windows.Input;
using Dock.Model.Core;
namespace Dock.Model.Controls
{
/// <summary>
/// Root dock contract.
/// </summary>
public interface IRootDock : IDock
{
/// <summary>
/// Gets or sets if root dock is focusable.
/// </su... |
using Hayalpc.Library.Log;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hayalpc.Fatura.CoreApi.Extensions
{
public static class ScopeExtension
{
public static void AddScopes(this IServiceColle... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Hammock;
using System.Runtime.Serial... |
// <copyright file="IMonitorService.cs" company="kf corp">
// Licensed under the Apache 2.0 license
// </copyright>
using System;
using System.Threading;
using System.Threading.Tasks;
namespace McServerStarter
{
internal interface IMonitorService : IAsyncDisposable
{
Task RunAsync(CancellationToken s... |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2010 Maurits Rijk
//
// DataObject.cs
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 of th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;
using workshop4.Models;
namespace workshop4.Controllers
{
public class BookController : Controller
{
Models.CodeService codeService = new Models.CodeService();
... |
using System;
namespace ComputerBuilderClasses.Contracts
{
public interface ICentralProcessingUnit
{
int BitSize { get; }
byte NumberOfCores { get; }
int SquareNumber(int data);
int Rand(Random randomGenerator, int minValue, int maxValue);
}
} |
using System.Collections.Generic;
namespace newPrideMore.Models.ViewModels
{
public class ProfessionalFormViewModel
{
public Professional Professional { get; set; }
public ICollection<ProfessionalType> ProfessionalTypes { get; set; }
}
}
|
using System;
namespace Templates.Framework
{
public interface IComponent : IMultipleLines
{
}
}
|
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
namespace EnhancedEditor
{
/// <summary>
/// Only shows this field in the inspector when a specific condition is fulfilled.
... |
using RO;
using System;
using System.Collections.Generic;
using System.Net;
[CustomLuaClass]
public sealed class NetIngFileTaskManager : SingleTonGO<NetIngFileTaskManager>
{
private List<TaskInfo> m_taskInfoList;
private List<HTTPFileLoader> m_loaderList;
private ListQueue<HTTPFileLoader> m_loaderQueue;
private... |
namespace MusicShopManager.Interfaces.Engine
{
using System;
public interface IMusicShopFactory
{
IMusicShop CreateMusicShop(string name);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TaxiApp.Models
{
public class AppLoginAudit
{
public int ID { get; set; }
public DateTime DateID { get; set; }
public string IP { get; set; }
public string UserLogin { get; set; }
... |
namespace XMLApiProject.Services.Utilities.Constants
{
public enum RequestTypes
{
MultiUseToken = 001,
EncryptionKey = 003,
Authorization = 004,
BINLookup = 005,
UpdatePassword = 007,
GetMerchantInfo = 011,
VoidOrRefund = 012,
TokenizeAccount = 013... |
#region Namespaces
using ContactsManager.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
#endregion
namespace ContactsManager.Services
{
/// <summary>
/// IContactsService interface
/// </summary>
public interface IContactsSer... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace SoSmartTv.VideoFilesProvider.TorrentFileNameParser
{
public static class TorrentVideoFileNamingPattern
{
public static Dictionary<Expression<Func<TorrentVideoFileInfo, object>>, string> Patterns =
new Dictionary<Expression... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Xml;
us... |
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace CoinBazaar.Infrastructure.MessageQueue
{
public abstract class Channel : IChannel
{
public Dictionary<string, Type> Topics { get; set; }... |
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities
{
public abstract class LinkSupportCapability : DynamicCapability
{
[Optional] public bool LinkSupport { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
private Vector2 target;
bool canMove;
public float speed;
float speedHolder;
private void Start()
{
speedHolder = speed;
}
void Updat... |
namespace Faust.PetShopApp.UI
{
public class StringConstants
{
public static readonly string ShowWelcomeToAppText = "Welcome to Pet Shop Application!";
public static readonly string ShowAllPetsMenuText = "Select 1 to show all pets";
public static readonly string SearchPetsMenuText = "Se... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Common.Dialog
{
public enum InputType
{
STRING = InputField.ContentType.Standard,
NUMBER = InputField.ContentType.IntegerNumber
}
public class InputDialog : Dial... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseMenu : MonoBehaviour
{
static PauseMenu Instance { get; set; }
public GameObject menu;
bool paused = false;
bool playerDead = false;
public static event DelegateManager.EmptyVoid EOnNoLongerPaused, EOn... |
namespace WebApplication1.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Firebird.REL")]
public partial class Relation
{
[System.D... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Weapon : MonoBehaviour
{
[SerializeField] private float cooldown;
[SerializeField] private int bulletSpeed;
[SerializeField] private string bulletName;
private float timer;
private List<Transform> bulletSp... |
/* 01. Write a program that reads a year from the console and checks whether it is a leap. Use DateTime. */
using System;
class IsYearLeap
{
static void Main()
{
Console.WriteLine("Enter the year you want checked: ");
int year;
int.TryParse(Console.ReadLine(), out year);
Conso... |
using System;
using LubyClocker.Domain.BoundedContexts.Users;
using LubyClocker.Infra.Data.Context;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
namespace LubyClocker.CrossCuting.IoC.Security
{
public static class IdentityConfig
{
public static void AddIdentityCo... |
namespace WMagic.Brush.Basic
{
/// <summary>
/// 锚点类
/// </summary>
public class GCalib
{
#region 变量
// X轴辐射范围
private double x;
// Y轴辐射范围
private double y;
#endregion
#region 属性方法
public double X
{
get { return... |
using System.Collections.Generic;
namespace Reception.Contracts.Common
{
/// <summary>
/// Результат с информацией об общем количестве записей.
/// </summary>
/// <typeparam name="TData">Тип элементов.</typeparam>
public class PagedResult<TData>
{
/// <summary>
/// Инициализиру... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TacticalMaddiAdminTool.Models
{
public interface IXmlItem : IItem
{
string GetXml();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppCnpj_Cpf
{
class Program
{
static void Main(string[] args)
{
//Pesquisar CNPJ
Validator_cpf_cnpj alertaCnpjInvaido = new Valida... |
/*
DotNetMQ - A Complete Message Broker For .NET
Copyright (C) 2011 Halil ibrahim KALKAN
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option)... |
public class Worker
{
} |
using Microsoft.EntityFrameworkCore;
using Store.Books.Domain;
using System;
using System.Collections.Generic;
using System.Text;
namespace Store.Product.Data
{
public class ProductDbContext : DbContext
{
public DbSet<Author> Authors { get; set; }
public DbSet<Genre> Genres { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using SparkAuto.Data;
usin... |
using Gensokyo.Components.Interactives;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Me... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("ChatBubbleFrame")]
public class ChatBubbleFrame : MonoBehaviour
{
public ChatBubbleFrame(IntPtr address) : this(address, "ChatBubbleFrame")
{
}
public ChatBubbleFrame(IntPtr address, string cla... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealthCollection : MonoBehaviour {
public int value;
public GameObject effect;
private AudioSource sound;
private Renderer rend;
private bool hasBeenCollected;
void Start()
{
sound = GetCo... |
using System.Web;
using System.Web.Mvc;
namespace MvcBasic.Helpers
{
public class MyHelper
{
public static IHtmlString Mailto(string address, string linktext)
{
address = HttpUtility.HtmlAttributeEncode(address);
linktext = HttpUtility.HtmlAttributeEncode(linktext);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
public class ItemDatabaseWindow : EditorWindow
{
private delegate void OnGUIImplementation();
private Dictionary<int, OnGUIImplementation> menus;
private ItemDatabas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using BookStore.Data;
using BookStore.Model;
namespace BookStore.SearchByXml
{
internal class AuthorQueryProcessor : QueryProcessor, IQueryProcessor
{
public AuthorQueryProcessor(XElement query, IBookStoreData db... |
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Maze_Finding_Bean
{
public class MenuItem : VisibleGameEntity
{
public MenuItem(float left, float top, List<Texture2D> background)
{
// TODO: Comp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfAppAbit2.Models
{
/// <summary>
/// Форма обучения
/// </summary>
public class EducationForm : SimpleClass
{
}
}
|
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 Faculty
{
public partial class About_Us : Form
{
public About_Us()
{
... |
using SenseNet.Tools.CommandLineArguments;
using System.IO;
using System.Text.RegularExpressions;
namespace Kavics.ApiExplorer.GetApi
{
internal class Arguments
{
[NoNameOption(0, true, "source", "Path of the directory containing assemblies.")]
public string SourceDirectory { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Jieshai.Cache.CacheManagers
{
public interface ICacheManager
{
CacheStatus Status { set; get; }
bool Enable { get; }
void Clear();
int Count();
event TEventHandler<ICach... |
//------------------------------------------------------------------------------
// 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 Avectra.netForum.Common;
using log4net;
using NetForumMsqsExample.Work;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Messaging;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
[a... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("ForgeTicketRewardData")]
public class ForgeTicketRewardData : RewardData
{
public ForgeTicketRewardData(IntPtr address) : this(address, "ForgeTicketRewardData")
{
}
public ForgeTicketRewardData... |
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;
using System.Web;
using System.Configuration;
using LiveCharts;
namespace T... |
/* 01. Write a program to convert decimal numbers to their binary representation. */
using System;
using System.Text;
using System.Linq;
class DecimalToBinary
{
static string ReverseString(string input)
{
StringBuilder sb = new StringBuilder();
for (int i = input.Length - 1; i >= 0; i--)
... |
using System.Collections.Generic;
namespace StratCorp.CorpSMS.Entities
{
public class SendServiceCallEntity
{
private ICollection<MessageEntity> _entries = new List<MessageEntity>();
public AccountEntity Account { get; set; }
public SendSettingsEntity Settings { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Projeto.Ferramentas
{
public class Uteis
{
public void ExecutaJS(Page pg, string comando)
{
pg.RegisterStartupScript("F... |
using System;
using System.Collections.Generic;
using System.Text;
namespace transGraph
{
public class miniWayList
{
public string barcode;
public List<string> citys = new List<string>();
public bool hasRoute = false;
public bool canRoute = true;
public miniWayList(stri... |
using System;
using MessagingExampleApp.Domain;
using MessagingExampleApp.Interfaces;
using Microsoft.Azure.ServiceBus;
namespace MessagingExampleApp.Services
{
public class OrderQueueService: IQueueService<Order>
{
public bool Send(IMessage<Order> message)
{
}
public async T... |
using QuestionPaperGenerator.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace QuestionPaperGenerator.ViewModels
{
public class QuestionPaperViewModel
{
public QuestionPaperViewModel()
{
this.Questions = new List<QuestionModel>(... |
using System;
using System.Globalization;
namespace Vetores01 {
class Program {
static void Main(string[] args) {
Console.WriteLine("Digite a quantidade de dados que serão inseridos: ");
int n = int.Parse(Console.ReadLine());
double alturasSoma = 0.0, media;
... |
using System;
using System.Collections.Generic;
using System.Xml.Linq;
namespace XMLtoCSV2
{
public static class ConvertToCSV
{
/// <summary>
/// Dictionary dict contains each element(tag + value) from document
/// </summary>
/// <param name="xml">XML document to be converted<... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using BUS;
using DevExpress.XtraEditors;
namespace GUI.frm
{
public partia... |
using System;
namespace Allvis.Kaylee.Validator.SqlServer.Writers
{
public interface IWriter : IDisposable
{
void WriteComment(string comment);
void WriteLine(string line);
}
} |
/*
* 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 Microsoft.AspNetCore.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WTProject.model;
namespace WTProject.Services
{
public class TeamService
{
public TeamService()
{ }
//public TeamService(IWebHostEnvironment webHo... |
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Web.Management;
namespace CompanyDatabaseProcessing.Models
{
public static class SqlQuery
{
/// <summary>
/// Вызывает хранимую процедуру в БД осуществляющую поиск по БД для нахождения элементов совп... |
using System;
namespace OrderedProducts
{
public class Product : IComparable<Product>
{
public Product(string name, decimal price)
{
this.Name = name;
this.Price = price;
}
public string Name { get; set; }
public decimal Price { get; set; }
... |
using System;
using System.IO;
using System.Xml.Serialization;
public class MyXmlSerializer
{
public static void Serialize<T>(T t, string path)
{
XmlSerializer xmlSerializer = new XmlSerializer(typeof(T));
TextWriter textWriter = new StreamWriter(FileDirectoryHandler.GetAbsolutePath(path));
xmlSerializer.Seria... |
using CodeGenHero.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Bson;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace CodeGenHero.DataService
{
public partial class SerializationHelper : ISerializationHelper
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
using System.Windows.Forms;
namespace AgendaEscolar
{
class Class_BaseDatos
{
private string conexion;
SqlConnection bdCon;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Uxnet.Com.WS_DocumentService;
using System.IO;
namespace DocumentServer
{
public partial class PdfDocument : IDisposable
{
protected bool _bDisposed = false;
protected string _srcUrl;
public st... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SerializationHelper.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project root f... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using lianda.Component;
using System.IO;
using System.Data.Sq... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Math3D
{
public partial class Vector
{
public static Vector XUnitVector { get => new Vector(1, 0, 0); }
public static Vector YUnitVector { get => new Vector(0, 1, 0); }... |
using Project_NotesDeFrais.Models;
using Project_NotesDeFrais.Models.Reposirery;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Project_NotesDeFrais.Controllers
{
public class ExpanseTypesController : Controller
{
[Authorize]
... |
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades.MDFe;
using PDV.DAO.Enum;
using System;
using System.Collections.Generic;
using System.Data;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesMovimentoFiscalMDFe
{
public static bool Salvar(MovimentoFiscalMDFe Movimento, T... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace ShopFinder.Models
{
public class Product
{
[Key]
public int ProductID { get; set; }
... |
namespace AutoMapper.Execution
{
public class DefaultResolver : IValueResolver
{
public object Resolve(object source, ResolutionContext context)
{
return source;
}
}
} |
// Copyright 2017 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 PDV.DAO.Atributos;
namespace PDV.DAO.Entidades
{
public class Fornecedor
{
[CampoTabela("IDFORNECEDOR")]
[MaxLength(18)]
public decimal IDFornecedor { get; set; } = -1;
[CampoTabela("RAZAOSOCIAL")]
[MaxLength(150)]
public string RazaoSocial { get; set; }
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace DingleTheBotReboot.Models;
public class User
{
[Key] public ulong DiscordId { get; set; }
public int Coins { get; set; }
public List<Item> Items { get; set; }
} |
using eForm.Dto;
namespace eForm.WebHooks.Dto
{
public class GetAllSendAttemptsInput : PagedInputDto
{
public string SubscriptionId { get; set; }
}
}
|
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class AusAusleihstatus
{
public int AusleihId { get; set; }
public int AkteId { get; set; }
public int? AngefordertDurchId { get; set; }
public int? Empfangendurc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace EBV
{
public partial class AdminMail : System.Web.UI.Page
{
BLL.BLL obj = new BLL.BLL();
protected void Page_Load(object sende... |
// Accord Imaging Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// Copyright © Diego Catalano, 2013
// diego.catalano at live.com
//
// This library is free software; you can redistribute it and/or
// modify it under the ... |
using System.IO;
using System.Linq;
namespace Sem
{
public static class ResourcesPaths
{
public static string GetPersonPhotoPath(object s) => GetPath((int) s, "PeoplePhotos");
public static string GetArticleImagePath(object s) => GetPath((int) s, "ArticleImages");
public static string GetUserImagesPath(obje... |
namespace CloneDeploy_Entities.DTOs.FormData
{
public class IdTypeDTO
{
public string id { get; set; }
public string idType { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FiguresArea.Exeptions;
using FiguresArea.Interfaces;
using FiguresArea.Primitives;
namespace FiguresArea.Figures
{
/// <summary>
/// Построение произвольного многоугольника
/// </s... |
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.DataStudio.Diagnostics;
using Microsoft.DataStudio.Services.Security;
using Microsoft.DataStudio.Solutions.Model;
using Microsoft.DataStudio.Solutions.Queues.Entities;
using Microsoft.DataStudio.Solutions.Tab... |
using System.Security.Claims;
namespace HW6MovieSharing.Models
{
/// <summary>
/// Claims Extension Method Helpers
/// </summary>
public static class ClaimsExtensions
{
/// <summary>
/// Get First Name
/// </summary>
/// <param name="claims"></param>
/// <returns></returns>
public static string First... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace kkmKassa
{
public partial class confMain : Form
{
bool isOpen = true;
private Global g;
public confMain(Globa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Globalization;
/// <summary>
/// Summary description for MastersBLL
/// </summary>
public class MastersBLL
{
public MastersBLL()
{
//
// TODO: Add constructor logic here
//
}
#region --- ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace LearningCSharp
{
public class ProductTests
{
[Fact]
public void CreatingAProductRecord()
{
var coffee = new Product()
{
... |
using UnityEngine;
namespace MyNamespace.A
{
class InternalClass : MonoBehaviour
{
public void PublicMethod()
{
Debug.Log("InternalClass.PublicMethod()");
}
public void PublicIntMethod(int i)
{
Debug.Log($"InternalClass.PublicMethod(... |
using System;
namespace Sample.Domain.Shared
{
public interface ICreditValidationService
{
bool IsValid(string nameOnCard, string cardNumber);
}
public class CreditValidationService : ICreditValidationService
{
public bool IsValid(string nameOnCard, string cardNumber)
{
... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace NuGet.ProjectModel
{
/// <summary>
/// Represents a reference to ... |
// A simply constructor.
using System;
namespace ICAO129
{
class MyClass
{
public int x;
public MyClass()
{
x = 10;
}
}
class Program
{
static void Main()
{
MyClass t1 = new MyClass();
MyClass t2 = new MyClass();... |
using UnityEngine;
using UnityEngine.Events;
[CreateAssetMenu(menuName = "Ai/Point")]
public class Point : ScriptableObject
{
public GameAction SendPoint;
public UnityEvent UpdateData;
private void OnEnable()
{
UpdateData.Invoke();
}
public void OnUpdateData(Transform t)
{
SendPoint.Raise... |
using JKMPCL.Model;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace JKMPCL.Services.Alert
{
public class AlertAPIServices
{
private readonly APIHelper apiHelper;
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SortSelectLibee : MonoBehaviour
{
public GameObject Player;
public int CurrentLibeeIndex;
public Transform CapturedLibees;
public List<Transform> Normal;
public List<Transform> Fire;
public List<Trans... |
using ScribblersSharp;
using System.Collections.Generic;
using System.Net.WebSockets;
using System.Threading.Tasks;
using UnityEngine;
/// <summary>
/// Scribble.rs Pad namespace
/// </summary>
namespace ScribblersPad
{
/// <summary>
/// An interface that represents a Scribble.rs client manager
/// </summ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cubecraft.Net.Protocol
{
interface INetworkHandler
{
void OnConnectionLost(DisconnectReason reason, string msg);
void OnGameJoined();
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.