C# 클래스 FuseboxFreedom.Program

Convert an xml fusebox circuit to a cfscript cfc TODO: convert an entire project TODO: copy fbFreedom.cfc to cfc path TODO: read fusebox.xml.cfm to output fbFreedomSettings.cfc
파일 보기 프로젝트 열기: jamie-pate/FuseBoxFreedom

공개 프로퍼티들

프로퍼티 타입 설명
input_file string
output_filename string
watchers System.IO.FileSystemWatcher[]

공개 메소드들

메소드 설명
Convert ( string path, string from, string to ) : void
Watch ( string path, string from ) : FileSystemWatcher

비공개 메소드들

메소드 설명
Assign ( System.Xml.Linq.XAttribute name, string value ) : string
CFFunction ( string name, IEnumerable lines ) : IEnumerable
CheckSupportedAccess ( System.Xml.Linq.XElement elem ) : string
Convert ( string from, string to ) : void
DeHash ( string str, bool quote = true ) : string

remove extra hash marks from #expression#. If # is detected inside expression, return "#expres##sion#"

DoConvert ( FileSystemEventArgs e, FileSystemWatcher sender ) : void
DoRetry ( RetryWatch w ) : bool
FuseElement ( System.Xml.Linq.XElement elem ) : IEnumerable
FuseElements ( System.Xml.Linq.XElement elem ) : IEnumerable
Main ( string args ) : void
NotImplemented ( System.Xml.Linq.XElement elem ) : IEnumerable
OverWrite ( System.Xml.Linq.XElement elem, System.Xml.Linq.XAttribute name ) : IEnumerable
OverWrite ( System.Xml.Linq.XElement elem, System.Xml.Linq.XName attrName ) : IEnumerable
RemoveWatcher ( FileSystemWatcher w ) : void
Retry ( FileSystemEventArgs e, FileSystemWatcher sender ) : void
RetryTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool
Truthy ( string b, bool emptyValue = false ) : bool
WriteCircuit ( System.Xml.Linq.XElement circuit ) : IEnumerable

Write a cfc circuit from a circuit.xml.cfm. Not completely accurate as far as fusebox behavior but this is the way i think it should work prefuseaction becomes init() postfuseaction raises an exception

WriteFA ( System.Xml.Linq.XElement fuseAction, string methodName = null ) : IEnumerable
WriteOutput ( System.Xml.Linq.XElement elem, System.Xml.Linq.XName attrName ) : IEnumerable
comment ( System.Xml.Linq.XElement elem, IEnumerable output, bool empty = false ) : IEnumerable
comment ( System.Xml.Linq.XElement elem, string output ) : IEnumerable
comment ( System.Xml.Linq.XElement elem, bool empty = false ) : string
comment ( string str ) : string
line ( System.Xml.Linq.XElement elem, System.Xml.Linq.XElement elem2 = null ) : string
t_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
tab ( IEnumerable strings ) : IEnumerable
tab ( string str ) : string
w_Disposed ( object sender, EventArgs e ) : void
w_Error ( object sender, ErrorEventArgs e ) : void
w_Notify ( object sender, FileSystemEventArgs e ) : void
w_Renamed ( object sender, RenamedEventArgs e ) : void

메소드 상세

Convert() 공개 정적인 메소드

public static Convert ( string path, string from, string to ) : void
path string
from string
to string
리턴 void

Watch() 공개 정적인 메소드

public static Watch ( string path, string from ) : FileSystemWatcher
path string
from string
리턴 System.IO.FileSystemWatcher

프로퍼티 상세

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

public static string input_file
리턴 string

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

public static string output_filename
리턴 string

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

public static FileSystemWatcher[],System.IO watchers
리턴 System.IO.FileSystemWatcher[]