C# 클래스 CSMSL.Chemistry.Element

Represents a single chemical element. Elements comprises of multiple isotopes, with the element mass being a weighted average of all the isotopes atomic masses weighted by their natural relative abundance.
파일 보기 프로젝트 열기: dbaileychess/CSMSL 1 사용 예제들

공개 메소드들

메소드 설명
ToString ( ) : string

Returns a textual representation of this element in the following format: Hydrogen (H) Helium (He)

this ( int atomicNumber ) : Isotope

Gets an isotope of this element based on its atomic number

비공개 메소드들

메소드 설명
AddIsotope ( int atomicNumber, double atomicMass, float abundance ) : Isotope

Add an isotope to this element

Element ( string name, string symbol, int atomicNumber, int valenceElectrons ) : System.Collections.Generic

Create a new element

메소드 상세

ToString() 공개 메소드

Returns a textual representation of this element in the following format: Hydrogen (H) Helium (He)
public ToString ( ) : string
리턴 string

this() 공개 메소드

Gets an isotope of this element based on its atomic number
public this ( int atomicNumber ) : Isotope
atomicNumber int The atomic number of the isotope to get
리턴 Isotope