1
0
mirror of https://github.com/php/doc-tr.git synced 2026-03-24 07:12:18 +01:00
Files
archived-doc-tr/reference/com/dotnet.xml
2024-06-14 17:02:42 +01:00

130 lines
4.1 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: nilgun Status: ready -->
<reference role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="class.dotnet">
<titleabbrev>dotnet</titleabbrev>
<title>dotnet sınıfı</title>
<partintro>
<!-- {{{ dotnet intro -->
<section xml:id="dotnet.intro">
&reftitle.intro;
<para>
dotnet sınıfı, bir .Net derlemesinden bir sınıfın örneklenmesini ve
<link xlink:href="&url.com.visible;">COM'a görünür</link> iseler
yöntemlerinin çağrılabilmesini ve özelliklerine erişilebilmesini sağlar.
</para>
<para>
Statik sınıfların örneklenmesi veya statik yöntemlerin çağrılması
desteklenmediği gibi
<literal>System.Collections.Generic.List</literal> gibi soysal
sınıfların örneklenmesi de desteklenmemektedir.
</para>
<para>
Bazı .Net sınıfları IDispatch'i gerçeklemediğinden örneklenebilseler bile
bu sınıflardaki yöntemlerin çağrılması veya özelliklerine erişilmesi
desteklenmemektedir.
</para>
<note>
<para>
Bu özellikten faydalanmak için http sunucunuza .Net çalıştırılabilirini
kurmanız gerekmektedir.
</para>
</note>
<note>
<para>
PHP 8.0.0 öncesinde, .Net framework 4.0 ve sonraki sürümleri,
<classname>dotnet</classname> sınıfı tarafından desteklenmezdi.
Derlemeler <command>regasm.exe</command> ile kaydedilmişse, sınıflar
<classname>com</classname> nesneleri olarak örneklenebiliyordu.
PHP 8.0.0 itibariyle, .Net framework 4.0 ve sonraki sürümleri,
<link linkend="ini.com.dotnet-version">com.dotnet_version</link>
&php.ini; yönergesi üzerinden desteklenmektedir.
</para>
</note>
</section>
<!-- }}} -->
<section xml:id="dotnet.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis class="class">
<ooclass>
<classname>dotnet</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>variant</classname>
</ooclass>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.dotnet')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='dotnet'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<section xml:id="class.dotnet.overloadedmethods">
<title>ırı Yüklenmiş Yöntemler</title>
<para>
Döndürülen nesne aşırı yüklenmiş bir nesnedir, yani PHP normal sınıflarda
olduğu gibi herhangi bir sabit yöntem görmez; bunun yerine, herhangi bir
özellik veya yöntem erişimi COM'a oradan da DOTNET'e iletilir. Başka bir
deyişle, .Net nesnesi, .Net çalıştırılabiliri tarafından sağlanan COM
birlikte çalışabilirlik katmanı aracılığıyla eşlenir.
</para>
<para>
Bir kez bir dotnet nesnesi oluşturulduğunda, PHP ona herhangi bir
COM nesnesine davrandığı gibi davranır; aynı kurallar uygulanır.
</para>
</section>
<section xml:id="class.dotnet.examples">
<title>dotnet örnekleri</title>
<para>
<example xml:id="example.dotnet">
<title>dotnet örneği</title>
<programlisting role="php">
<![CDATA[
<?php
$stack = new dotnet("mscorlib", "System.Collections.Stack");
$stack->Push(".Net");
$stack->Push("Hello ");
echo $stack->Pop() . $stack->Pop();
?>
]]>
</programlisting>
</example>
</para>
</section>
</partintro>
&reference.com.entities.dotnet;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->