C# 클래스 CSMSL.Chemistry.PeriodicTable

The Periodic Table of Elements.
파일 보기 프로젝트 열기: dbaileychess/CSMSL 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
UserPerodicTablePath string

공개 메소드들

메소드 설명
AddElement ( Element element ) : bool

Adds an element to this periodic table if the element atomic symbol is not already present. Overrides an element if the symbol is already present.

GetElement ( string element ) : Element
GetIsotope ( string element, int atomicNumber ) : Isotope
Load ( ) : void
Load ( string filePath ) : void

Load a xml file containing elemental and isotopic data into the periodic table

RestoreDefaults ( ) : void
Save ( ) : void
SaveTo ( string filePath ) : void
TryGetElement ( string elementSymbol, Element &element ) : bool

비공개 메소드들

메소드 설명
GetIsotope ( int uniqueId ) : Isotope

Get an isotope based on its unique isotope id

PeriodicTable ( ) : System

메소드 상세

AddElement() 공개 정적인 메소드

Adds an element to this periodic table if the element atomic symbol is not already present. Overrides an element if the symbol is already present.
public static AddElement ( Element element ) : bool
element Element The element to add to the periodic table
리턴 bool

GetElement() 공개 정적인 메소드

public static GetElement ( string element ) : Element
element string
리턴 Element

GetIsotope() 공개 정적인 메소드

public static GetIsotope ( string element, int atomicNumber ) : Isotope
element string
atomicNumber int
리턴 Isotope

Load() 공개 정적인 메소드

public static Load ( ) : void
리턴 void

Load() 공개 정적인 메소드

Load a xml file containing elemental and isotopic data into the periodic table
public static Load ( string filePath ) : void
filePath string
리턴 void

RestoreDefaults() 공개 정적인 메소드

public static RestoreDefaults ( ) : void
리턴 void

Save() 공개 정적인 메소드

public static Save ( ) : void
리턴 void

SaveTo() 공개 정적인 메소드

public static SaveTo ( string filePath ) : void
filePath string
리턴 void

TryGetElement() 공개 정적인 메소드

public static TryGetElement ( string elementSymbol, Element &element ) : bool
elementSymbol string
element Element
리턴 bool

프로퍼티 상세

UserPerodicTablePath 공개적으로 정적으로 프로퍼티

public static string UserPerodicTablePath
리턴 string