text stringlengths 1 932k |
|---|
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Internal
{
using System;
using System.Configuration;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Dat... |
using MilitaryElite.Contracts;
using System.Collections.Generic;
using System.Text;
namespace MilitaryElite.Models
{
public class LieutenantGeneral : Private, ILieutenantGeneral
{
private List<IPrivate> privates;
public LieutenantGeneral(string id, string firstName, string lastName, decimal sa... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.SimpleEmail")]
[assembly: AssemblyD... |
using System.Threading.Tasks;
using ApartmentReservation.Application.Dtos;
using Xunit;
namespace ApartmentReservation.WebUI.UnitTests.Controllers.Account
{
public class AccountController_LoginTests : AccountControllerTestsBase
{
[Fact]
public async Task Login_WhenInvoked_CallsAuthService()
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using CompanyName.ApplicationName.DataModels.Enums;
using CompanyName.ApplicationName.DataModels.Interfaces;
namespace CompanyName.ApplicationName.DataModels.Collections
{
/// <summary>
/// Represents a data collec... |
namespace Charterio.Data.Common.Models
{
using System;
public interface IDeletableEntity
{
bool IsDeleted { get; set; }
DateTime? DeletedOn { get; set; }
}
} |
@using SmartCode
@using SmartCode.Db
@model BuildContext
@{
Layout = "_SqlMapLayout.cshtml";
var project = Model.Project;
var dbSource = Model.GetDataSource<DbSource>();
var buildTask = Model.Build;
var table = Model.GetCurrentTable();
var pkCol = table.PKColumn;
if (pkCol == null)
{
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
using System;
namespace ComposableAsync.Resilient
{
/// <summary>
/// Exception raised when the circuit breaker is in open state
/// </summary>
public class CircuitBreakerOpenException: Exception
{
}
} |
namespace TSHotelManagerSystem
{
partial class FrmTopChange
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace QuestomAssets.AssetsChanger
{
public class AssetsFileHeader
{
/// <summary>
/// Return the size of the header which is a constant value
/// </summary>
public Int32 ... |
using NPOI.OpenXmlFormats.Dml.Spreadsheet;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Seria... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteAlways]
public class CycleInfoCPU : MonoBehaviour
{
public Cycle cycle;
public bool isForm;
public bool isBinder;
public bool isLife;
public List<CycleInfoCPU> siblings;
public List<CycleInfoCPU> children;
public Cyc... |
using System;
using System.Runtime.InteropServices;
namespace TinyAudio.DirectSound.Interop
{
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct DirectSoundBuffer8V
{
public delegate* unmanaged[Stdcall]<DirectSoundBuffer8Inst*, Guid*, void**, uint> QueryInterface;
public delegate... |
using System.Windows;
namespace AssetManager.Views
{
/// <summary>
/// Interaction logic for EditCorporation.xaml
/// </summary>
public partial class EditCorporation : Window
{
public EditCorporation()
{
InitializeComponent();
DataContext = new ViewModels.Co... |
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy,
// Seaford, Vic 3198, A... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Color", menuName = "ElMasna3/Fields/Color Field")]
public class ColorField : ScriptableObject {
[SerializeField]
Color value = Color.red;
[Tooltip("You don't have to use it!")]
public Game... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpinVolumetricBlur : MonoBehaviour
{
public GameObject spinningModelRoot;
public Vector3 rotationAxis = new Vector3(1, 0, 0);
public int meshCount = 20;
public Material transparentMaterial;
public float sp... |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("So... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
/... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("HalCsWf")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduc... |
using UnityEngine;
using UnityEngine.UI;
namespace PixelPalette.Unity
{
public class PixelPaletteEditor : MonoBehaviour
{
private Image image;
private void Start()
{
this.image = this.GetComponent<PixelPaletteObject>().Image;
}
private void Update()
... |
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.Xaml;
using Windows.UI.Xam... |
/***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARRANTIE... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.CosmosDB.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.CosmosDB
{
/... |
using System;
using Xunit;
namespace Finance.Tests.Corporate
{
public class ReturnOnAssets
{
[Fact]
public void debtRatio_5_2_Test()
{
// Arrange
double netIncome = 5;
double avgTotalAssets = 2;
// Act
var actualResult = ... |
@model ExpanseReportManager.Models.RoleIndexModel
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<p>
<button class="btn btn-raised btn-success" data-toggle="modal" data-target="#myModalCreate">Créer un role</button>
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => m... |
using System;
using System.Runtime.InteropServices;
namespace GitIStage
{
internal sealed class View
{
private readonly ViewLineRenderer _renderer;
private readonly char[] _blankRow;
private Document _document = Document.Empty;
private int _topLine;
private int _leftCha... |
namespace Megarender.Telegram
{
public enum EnvironmentVariables
{
TG_TOKEN_FILE,
WEBHOOK_URI
}
} |
using System.Diagnostics;
using System.IO;
namespace PKISharp.SimplePKI.UnitTests
{
public static class OpenSsl
{
public const string OpenSslLightPath = @"C:\Program Files\OpenSSL\bin\openssl.exe";
public static Process Start(string arguments)
{
if (File.Exists(OpenSslLight... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/Audioclient.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
namespace Terra... |
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
// -----------... |
using BLD.Helpers;
using BLD.Interface;
using BLD.Models;
using System.Collections.Generic;
using BLD.Components;
using BLD.Controllers;
using UnityEngine;
namespace BLD
{
public class PhysicsCast : Singleton<PhysicsCast>
{
private LayerMask layerMaskTarget;
private IRaycastHandler raycastHan... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Hospital
{
public class Room
{
private readonly int RoomCapacity = 3;
public Room()
{
this.Patients = new List<Patient>();
}
public List<Patient> Patients { get; set; }
... |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using System.Collections.Generic;
using System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lm.Comol.Modules.Standard.Menu.Domain
{
[CLSCompliant(true), Serializable ]
public class TopMenuItem : BaseMenuItem
{
/// <summary>
/// Sottovoci
/// </summary>
public virtual IL... |
namespace SSW.DataOnion.Interfaces
{
public interface ISoftDeletableEntity
{
bool IsDeleted { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SistemaInformatica.CAMADAS.MODEL
{
public class Venda
{
public int idVenda { get; set; }
public int idCli { get; set; }
public string nome { get; set; }
... |
//
// Copyright (c) 2002-2016 Mirko Matytschak
// (www.netdataobjects.de)
//
// Author: Mirko Matytschak
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including w... |
using ShineEngine;
/// <summary>
/// 界面多帧逻辑工具
/// </summary>
public class UITabLogicTool
{
/** tab列表 */
private SList<UILogicBase> _logicList = new SList<UILogicBase>();
/** 当前显示tab */
private int _tab = -1;
public UITabLogicTool()
{
}
/** 添加逻辑 */
public void addLogic(UILogicBa... |
/**********************************************************************************************************************
FocusOPEN Digital Asset Manager (TM)
(c) Daydream Interactive Limited 1995-2011, All Rights Reserved
The name and trademarks of copyright holders may NOT be used in advertising or publicity perta... |
using System.Collections.Generic;
using System.Threading;
using System.Windows.Automation;
using WinAppDriver.Extensions;
using WinAppDriver.XPath.Iterators;
using CodePlex.XPathParser;
using WinAppDriver.Infrastructure;
using System.Linq;
namespace WinAppDriver.XPath
{
public class AxisElement : IXPathExpress... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess.Core.Interfaces;
using System.Data;
using DataAccess.Core.Data;
using DataAccess.Core.Events;
namespace DataAccess.Core.ObjectValidators
{
/// <summary>
/// Validates tables on the datastore
/// </summar... |
using System;
using System.Collections.Generic;
using System.Text;
using PDASimulator.DataStructures.GSS;
using PDASimulator.Payloads;
using PDASimulator.PDVM;
using PDASimulator.SimulationCommon;
using QuickGraph;
namespace PDASimulator.Tests.Utils
{
using TestEdge = TaggedEdge<int, string>;
using TestContex... |
namespace EPlast.Resources
{
public class Genders
{
}
} |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using S... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Settings.ascx.cs" company="XCESS expertise center bv">
// Copyright (c) 2016 XCESS expertise center bv
//
// The software is owned by XCESS and is protected by
// the Dut... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Co... |
/*
* Copyright (c) Contributors, http://vision-sim.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
* For an explanation of the license of each contributor and the content it
* covers please see the Licenses directory.
*
* Redistribution and use in source and binary forms, with or without
* mod... |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace SmartHotel.Services.Hotels.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... |
using PropertyGridHelpers.Attributes;
namespace CultureInfoEditor.Enums
{
/// <summary>
/// The format pattern for negative currency values. The default for
/// System.Globalization.NumberFormatInfo.InvariantInfo is 0, which
/// represents "($n)", where "$" is
/// the System.Globalization.NumberFo... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... |
namespace AndroidApp
{
using Android.Support.V4.Widget;
using Android.Support.V7.App;
using Android.Views;
public class MyActionBarDrawerToggle : ActionBarDrawerToggle
{
public MyActionBarDrawerToggle(AppCompatActivity activity, DrawerLayout layout, int openRes, int closeRes, string title)
: base(activity, ... |
using System;
using LinqToDB;
using NTSG = NetTopologySuite.Geometries.Geometry;
namespace LinqToDBPostGisNetTopologySuite
{
/// <summary>
/// Spatial Relationships.
/// </summary>
/// <remarks>
/// 5.11. Spatial Relationships
/// https://postgis.net/docs/reference.html#Spatial_Relationship... |
@page
@model LoginWithRecoveryCodeModel
@{
ViewData["Title"] = "Recovery code verification";
}
<h1>@ViewData["Title"]</h1>
<hr/>
<p>
You have requested to log in with a recovery code. This login will not be remembered until you provide
an authenticator app code at log in or disable 2FA and log in again.
<... |
#pragma checksum "C:\Users\msingh11\Documents\My\Conestoga\PROG2230 - Programming Microsoft Web Tech\My\Assignments\Solutions\02_Persistence_Sorting_Filtering\A1Patients\A1Patients\Views\A1DispensingUnits\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "337d12ac4f3ea3c5d3098a6b51fe6998f2758cac"
// <auto-genera... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFab... |
@model CRUD.Model.AlunoModel
@{
ViewBag.Title = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>AlunoModel</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Nome)
</dt>
<dd>
@Html.Disp... |
using System;
using System.Linq;
using Confuser.Core;
using Confuser.Protections.AntiTamper;
using dnlib.DotNet;
namespace Confuser.Protections {
[BeforeProtection("Ki.ControlFlow"), AfterProtection("Ki.Constants")]
internal class AntiTamperProtection : Protection {
public const string _Id = "anti tamper";
publ... |
namespace CodingInterview {
public class TreeNode {
public int Val { get; set; }
public TreeNode? Left { get; set; }
public TreeNode? Right { get; set; }
}
} |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using AxeMan.DungeonObject;
using AxeMan.GameSystem.GameDataHub;
using AxeMan.GameSystem.GameDataTag;
using AxeMan.GameSystem.GameEvent;
using AxeMan.GameSystem.ObjectFactory;
using AxeMan.GameSystem.PrototypeFactory;
using AxeMan.GameSystem.SchedulingSystem;
using AxeMan.GameSystem.SearchGameObject;
using System;
usi... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using DbUp.Engine;
using DbUp.Engine.Transactions;
using DbUp.ScriptProviders;
using DbUp.Tests.TestInfrastructure;
using NSubstitute;
using Shouldly;
using Xunit;
namespace DbUp.Tests.ScriptProvider
{
public class FileSystemScrip... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Common;
namespace DirectInput
{
public class DiProvider : IProvider, IDisposable
{
private readonly Dictionary<DeviceDescriptor, DiDevice> _devices = new Di... |
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Response
{
/// <summary>
/// KoubeiMarketingAdvertisingQueryResponse.
/// </summary>
public class KoubeiMarketingAdvertisingQueryResponse : AlipayResponse
{
/// <summary>
/// 用户点击广告后,跳转URL地址, 协议必须为H... |
/*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License... |
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3
* as published by th... |
@using System.Collections.Generic
@using System.Collections.ObjectModel
@using System.Web.Http.Description
@using System.Threading
@using Generic.Areas.HelpPage.ModelDescriptions
@model IList<ParameterDescription>
@if (Model.Count > 0)
{
<table class="help-page-table">
<thead>
<tr><th>Name</th>... |
using Prism.Mvvm;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
using Reactive.Bindings.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Yomiage.GUI.Data;
using Yomiage.GUI... |
//
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharePointPnP.ProvisioningApp.DomainM... |
using MindNote.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using MindNote.Data.Raws;
using MindNote.Data.Mutations;
using MindNote.Frontend.SDK.API.Models;
namespace MindNote.Frontend.SDK.API
{
public class UsersClient : IUsersClien... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mediapipe/modules/objectron/calculators/a_r_capture_metadata.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Goo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OpenKh.Tools.IteEditor
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... |
// // //-------------------------------------------------------------------------------------------------
// // // <copyright file="FileSecretsProvider.cs" company="Microsoft Corporation">
// // // Copyright (c) Microsoft Corporation. All rights reserved.
// // // </copyright>
// // //--------------------------------... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sho... |
using GroupService.Core.Interfaces.Repositories;
using HelpMyStreet.Contracts.GroupService.Request;
using HelpMyStreet.Contracts.GroupService.Response;
using MediatR;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace GroupService.Handlers
{
public clas... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Globalization;
using System.Windows.Forms;
using Hornung.ResourceToolkit.Gui;
using Hornung.Resour... |
@model OrderModel
@{
//page title
ViewBag.PageTitle = T("Admin.Orders.EditOrderDetails").Text;
//active menu item (system name)
NopHtml.SetActiveMenuItemSystemName("Orders");
}
@{
const string hideInfoBlockAttributeName = "OrderPage.HideInfoBlock";
var customer = await workContext.GetCurrentCu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace MovieReviews.AspNet.Mvc
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resou... |
using System.IO;
using Bali.IO;
namespace Bali.Constants
{
/// <summary>
/// Represents a field or a method, without indicating which class or interface it belongs to.
/// </summary>
public class NameAndTypeConstant : Constant
{
/// <summary>
/// Creates a new <see cref="NameAndType... |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Pendientes.Droid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCo... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
using System;
using System.Collections.Generic;
using System.Linq;
using RVTR.Booking.Context;
using RVTR.Booking.Context.Repositories;
using RVTR.Booking.Domain.Models;
using RVTR.Booking.Integrations;
using Xunit;
namespace RVTR.Booking.Testing.Tests
{
public class BookingRepositoryTest : SqliteIntegration
{
... |
using System.Text;
namespace Crypto.Utilities
{
public class BytesToString : IBytesToString
{
public string GetString(byte[] hash)
{
var output = new StringBuilder();
for (int i = 0; i < hash.Length; i++)
{
var character = hash[i];
... |
[Serializable]
public class HumanActionDataTableArray : DataTableArrayBase<HumanActionID, HumanActionDataTable, SerializeHumanActionDataTable> // TypeDefIndex: 10576
{
// Methods
// RVA: 0x1CADA80 Offset: 0x1CADB81 VA: 0x1CADA80
public void .ctor() { }
} |
namespace AGO.Core.DataAccess.DbConfigurator
{
/// <summary>
/// Interface for direct db operations, that needed in our application.
/// Hide implementation details for postgres and ms sql.
/// At this point operations set contains:
/// - master db creation
/// - project db creation
/// - connection string mani... |
using System;
namespace TechTalksModel
{
public class Level
{
public int Id { get; set; }
public string LevelName { get; set; }
}
} |
@model Academy.Web.Areas.Teacher.Models.AssignmentViewModel
@{
ViewData["Title"] = "Add a new assignment";
}
<h2>Add a new assignment</h2>
<hr />
<div class="col-lg-4 col-md-4 col-xs-9">
<form asp-area="teacher" asp-controller="dashboard" asp-action="newassignment" method="post">
<div asp-validation-... |
namespace ReliefAnalyze
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
[SerializeField]
private bool _isGameOver = false;
void Start()
{
}
void Update()
{
if (Input.GetKeyDown(KeyCode.R)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DomainModel;
using DomainModel.Model;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace DataAccessPostgreSqlProvider
{
public class DataAccessPostgreSqlProvider : IDataAccessPro... |
using System.Collections;
using System.Collections.Generic;
public class pt_req_get_offline_reward_c117 : st.net.NetBase.Pt {
public pt_req_get_offline_reward_c117()
{
Id = 0xC117;
}
public override st.net.NetBase.Pt createNew()
{
return new pt_req_get_offline_reward_c117();
}
public override void fromBinar... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DestroyByContact : MonoBehaviour {
public GameObject explosion;
public GameObject playerExplosion;
private void OnTriggerEnter(Collider other)
{
if (other.tag == "Boundary")
return;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AcademyRPG
{
public class Ninja : Character, IFighter, IGatherer
{
private int attackPoints;
public Ninja(string name, Point position, int owner)
: base(name, position, owner)
... |
namespace CSIEExplorerBar
{
partial class IEExplorerBarInstaller
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... |
using SandBeige.MealRecipes.Composition.Recipe;
using SandBeige.MealRecipes.Extensions;
namespace SandBeige.RecipeWebSites.Cookien.Models {
/// <summary>
/// 材料
/// </summary>
public class CookienRecipeIngredient : RecipeIngredientBase {
public CookienRecipeIngredient(IRecipe recipe) : base(recipe) {
}
/// ... |
using System;
using System.Runtime.InteropServices;
namespace GSSAPI.Native
{
[StructLayout(LayoutKind.Sequential)]
public struct GssOidDescStruct
{
/// OM_uint32->gss_uint32->unsigned int
public uint length;
/// void*
public IntPtr elements;
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.