Types in CilBrowser.Core namespace: AssemblyServer CilBrowserOptions FileUtils HtmlAttribute HtmlBuilder HtmlGenerator ServerBase SourceServer Utils WebsiteGenerator |
.class public auto ansi beforefieldinit CilBrowser.Core.CilBrowserOptions
extends [netstandard]System.Object
{
.field private string '<SourceControlURL>k__BackingField'
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [netstandard]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [netstandard]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.field private class [netstandard]System.Collections.Generic.HashSet`1<string> '<SourceExtensions>k__BackingField'
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [netstandard]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [netstandard]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.field private bool '<UseAnsiEncoding>k__BackingField'
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [netstandard]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [netstandard]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.field private int32 '<AnsiCodepage>k__BackingField'
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [netstandard]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [netstandard]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )
.property instance string SourceControlURL()
{
.get instance string CilBrowser.Core.CilBrowserOptions::get_SourceControlURL()
.set instance void CilBrowser.Core.CilBrowserOptions::set_SourceControlURL(string)
}
.property instance class [netstandard]System.Collections.Generic.HashSet`1<string> SourceExtensions()
{
.get instance class [netstandard]System.Collections.Generic.HashSet`1<string> CilBrowser.Core.CilBrowserOptions::get_SourceExtensions()
.set instance void CilBrowser.Core.CilBrowserOptions::set_SourceExtensions(class [netstandard]System.Collections.Generic.HashSet`1<string>)
}
.property instance bool UseAnsiEncoding()
{
.get instance bool CilBrowser.Core.CilBrowserOptions::get_UseAnsiEncoding()
.set instance void CilBrowser.Core.CilBrowserOptions::set_UseAnsiEncoding(bool)
}
.property instance int32 AnsiCodepage()
{
.get instance int32 CilBrowser.Core.CilBrowserOptions::get_AnsiCodepage()
.set instance void CilBrowser.Core.CilBrowserOptions::set_AnsiCodepage(int32)
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed
{
.maxstack 8
ldarg.0
call instance void [netstandard]System.Object::.ctor()
nop
nop
ldarg.0
call class [netstandard]System.Collections.Generic.HashSet`1<string> CilBrowser.Core.FileUtils::GetDefaultExtensions()
call instance void CilBrowser.Core.CilBrowserOptions::set_SourceExtensions(class [netstandard]System.Collections.Generic.HashSet`1<string>)
nop
ldarg.0
ldc.i4.0
call instance void CilBrowser.Core.CilBrowserOptions::set_UseAnsiEncoding(bool)
nop
ret
}
.method public hidebysig specialname instance string get_SourceControlURL() cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.maxstack 8
ldarg.0
ldfld string CilBrowser.Core.CilBrowserOptions::'<SourceControlURL>k__BackingField'
ret
}
.method public hidebysig specialname instance void set_SourceControlURL(
string 'value'
) cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.maxstack 8
ldarg.0
ldarg.1
stfld string CilBrowser.Core.CilBrowserOptions::'<SourceControlURL>k__BackingField'
ret
}
.method public hidebysig specialname instance class [netstandard]System.Collections.Generic.HashSet`1<string> get_SourceExtensions() cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.maxstack 8
ldarg.0
ldfld class [netstandard]System.Collections.Generic.HashSet`1<string> CilBrowser.Core.CilBrowserOptions::'<SourceExtensions>k__BackingField'
ret
}
.method public hidebysig specialname instance void set_SourceExtensions(
class [netstandard]System.Collections.Generic.HashSet`1<string> 'value'
) cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.maxstack 8
ldarg.0
ldarg.1
stfld class [netstandard]System.Collections.Generic.HashSet`1<string> CilBrowser.Core.CilBrowserOptions::'<SourceExtensions>k__BackingField'
ret
}
.method public hidebysig specialname instance bool get_UseAnsiEncoding() cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.maxstack 8
ldarg.0
ldfld bool CilBrowser.Core.CilBrowserOptions::'<UseAnsiEncoding>k__BackingField'
ret
}
.method public hidebysig specialname instance void set_UseAnsiEncoding(
bool 'value'
) cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.maxstack 8
ldarg.0
ldarg.1
stfld bool CilBrowser.Core.CilBrowserOptions::'<UseAnsiEncoding>k__BackingField'
ret
}
.method public hidebysig specialname instance int32 get_AnsiCodepage() cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.maxstack 8
ldarg.0
ldfld int32 CilBrowser.Core.CilBrowserOptions::'<AnsiCodepage>k__BackingField'
ret
}
.method public hidebysig specialname instance void set_AnsiCodepage(
int32 'value'
) cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.maxstack 8
ldarg.0
ldarg.1
stfld int32 CilBrowser.Core.CilBrowserOptions::'<AnsiCodepage>k__BackingField'
ret
}
.method public hidebysig static class CilBrowser.Core.CilBrowserOptions ReadFromFile(
string filePath
) cil managed
{
.maxstack 2
.locals init (string[] V_0,
class CilBrowser.Core.CilBrowserOptions V_1)
nop
ldarg.0
call class [netstandard]System.Text.Encoding [netstandard]System.Text.Encoding::get_UTF8()
call string[] [netstandard]System.IO.File::ReadAllLines(string, class [netstandard]System.Text.Encoding)
stloc.0
ldloc.0
call class CilBrowser.Core.CilBrowserOptions CilBrowser.Core.CilBrowserOptions::ReadValues(string[])
stloc.1
br.s IL_0001
IL_0001: ldloc.1
ret
}
.method public hidebysig static class CilBrowser.Core.CilBrowserOptions ReadValues(
string[] lines
) cil managed
{
.maxstack 5
.locals init (class [netstandard]System.Collections.Generic.Dictionary`2<string, string> V_0,
class CilBrowser.Core.CilBrowserOptions V_1,
string V_2,
bool V_3,
bool V_4,
bool V_5,
string[] V_6,
class [netstandard]System.Collections.Generic.List`1<string> V_7,
int32 V_8,
string V_9,
bool V_10,
bool V_11,
bool V_12,
bool V_13,
bool V_14,
bool V_15,
string V_16,
int32 V_17,
bool V_18,
class CilBrowser.Core.CilBrowserOptions V_19)
nop
ldarg.0
call class [netstandard]System.Collections.Generic.Dictionary`2<string, string> CilBrowser.Core.Configuration.ConfigReader::ReadValues(string[])
stloc.0
newobj instance void CilBrowser.Core.CilBrowserOptions::.ctor()
stloc.1
ldloc.0
ldstr "SourceControlURL"
ldloca.s V_2
callvirt instance bool class [netstandard]System.Collections.Generic.Dictionary`2<string, string>::TryGetValue(!0, !1&)
ldc.i4.0
ceq
stloc.3
ldloc.3
brfalse.s IL_0001
ldsfld string [netstandard]System.String::Empty
stloc.2
IL_0001: ldloc.1
ldloc.2
callvirt instance void CilBrowser.Core.CilBrowserOptions::set_SourceControlURL(string)
nop
ldloc.0
ldstr "SourceExtensions"
ldloca.s V_2
callvirt instance bool class [netstandard]System.Collections.Generic.Dictionary`2<string, string>::TryGetValue(!0, !1&)
ldc.i4.0
ceq
stloc.s V_4
ldloc.s V_4
brfalse.s IL_0002
ldsfld string [netstandard]System.String::Empty
stloc.2
IL_0002: ldloc.2
callvirt instance string [netstandard]System.String::Trim()
stloc.2
ldloc.2
callvirt instance int32 [netstandard]System.String::get_Length()
ldc.i4.0
cgt
stloc.s V_5
ldloc.s V_5
brfalse IL_0009
nop
ldloc.2
ldc.i4.1
newarr [netstandard]System.Char
dup
ldc.i4.0
ldc.i4.s 44
stelem.i2
callvirt instance string[] [netstandard]System.String::Split(char[])
stloc.s V_6
ldloc.s V_6
ldlen
conv.i4
newobj instance void class [netstandard]System.Collections.Generic.List`1<string>::.ctor(int32)
stloc.s V_7
ldc.i4.0
stloc.s V_8
br.s IL_0007
IL_0003: nop
ldloc.s V_6
ldloc.s V_8
ldelem.ref
callvirt instance string [netstandard]System.String::Trim()
stloc.s V_9
ldloc.s V_9
callvirt instance int32 [netstandard]System.String::get_Length()
ldc.i4.0
ceq
stloc.s V_10
ldloc.s V_10
brfalse.s IL_0004
br.s IL_0006
IL_0004: ldloc.s V_9
ldstr "."
ldc.i4.4
callvirt instance bool [netstandard]System.String::StartsWith(string, valuetype [netstandard]System.StringComparison)
ldc.i4.0
ceq
stloc.s V_11
ldloc.s V_11
brfalse.s IL_0005
nop
ldstr "."
ldloc.s V_9
call string [netstandard]System.String::Concat(string, string)
stloc.s V_9
nop
IL_0005: ldloc.s V_7
ldloc.s V_9
callvirt instance void class [netstandard]System.Collections.Generic.List`1<string>::Add(!0)
nop
nop
IL_0006: ldloc.s V_8
ldc.i4.1
add
stloc.s V_8
IL_0007: ldloc.s V_8
ldloc.s V_6
ldlen
conv.i4
clt
stloc.s V_12
ldloc.s V_12
brtrue.s IL_0003
ldloc.s V_7
callvirt instance int32 class [netstandard]System.Collections.Generic.List`1<string>::get_Count()
ldc.i4.0
cgt
stloc.s V_13
ldloc.s V_13
brfalse.s IL_0008
ldloc.1
ldloc.s V_7
newobj instance void class [netstandard]System.Collections.Generic.HashSet`1<string>::.ctor(class [netstandard]System.Collections.Generic.IEnumerable`1<!0>)
callvirt instance void CilBrowser.Core.CilBrowserOptions::set_SourceExtensions(class [netstandard]System.Collections.Generic.HashSet`1<string>)
nop
IL_0008: nop
IL_0009: ldloc.0
ldstr "SourceEncoding"
ldloca.s V_2
callvirt instance bool class [netstandard]System.Collections.Generic.Dictionary`2<string, string>::TryGetValue(!0, !1&)
ldc.i4.0
ceq
stloc.s V_14
ldloc.s V_14
brfalse.s IL_0010
ldsfld string [netstandard]System.String::Empty
stloc.2
IL_0010: ldloc.2
callvirt instance string [netstandard]System.String::Trim()
stloc.2
ldloc.2
ldstr "cp"
callvirt instance bool [netstandard]System.String::StartsWith(string)
brfalse.s IL_0011
ldloc.2
callvirt instance int32 [netstandard]System.String::get_Length()
ldc.i4.2
cgt
br.s IL_0012
IL_0011: ldc.i4.0
IL_0012: stloc.s V_15
ldloc.s V_15
brfalse.s IL_0014
nop
ldloc.2
ldc.i4.2
callvirt instance string [netstandard]System.String::Substring(int32)
stloc.s V_16
ldloc.s V_16
ldloca.s V_17
call bool [netstandard]System.Int32::TryParse(string, int32&)
stloc.s V_18
ldloc.s V_18
brfalse.s IL_0013
nop
ldloc.1
ldc.i4.1
callvirt instance void CilBrowser.Core.CilBrowserOptions::set_UseAnsiEncoding(bool)
nop
ldloc.1
ldloc.s V_17
callvirt instance void CilBrowser.Core.CilBrowserOptions::set_AnsiCodepage(int32)
nop
nop
IL_0013: nop
IL_0014: ldloc.1
stloc.s V_19
br.s IL_0015
IL_0015: ldloc.s V_19
ret
}
.method public hidebysig instance class CilBrowser.Core.CilBrowserOptions Copy() cil managed
{
.maxstack 2
.locals init (class CilBrowser.Core.CilBrowserOptions V_0,
class CilBrowser.Core.CilBrowserOptions V_1)
nop
newobj instance void CilBrowser.Core.CilBrowserOptions::.ctor()
stloc.0
ldloc.0
ldarg.0
call instance string CilBrowser.Core.CilBrowserOptions::get_SourceControlURL()
callvirt instance void CilBrowser.Core.CilBrowserOptions::set_SourceControlURL(string)
nop
ldloc.0
ldarg.0
call instance bool CilBrowser.Core.CilBrowserOptions::get_UseAnsiEncoding()
callvirt instance void CilBrowser.Core.CilBrowserOptions::set_UseAnsiEncoding(bool)
nop
ldloc.0
ldarg.0
call instance int32 CilBrowser.Core.CilBrowserOptions::get_AnsiCodepage()
callvirt instance void CilBrowser.Core.CilBrowserOptions::set_AnsiCodepage(int32)
nop
ldloc.0
ldarg.0
call instance class [netstandard]System.Collections.Generic.HashSet`1<string> CilBrowser.Core.CilBrowserOptions::get_SourceExtensions()
callvirt instance void CilBrowser.Core.CilBrowserOptions::set_SourceExtensions(class [netstandard]System.Collections.Generic.HashSet`1<string>)
nop
ldloc.0
stloc.1
br.s IL_0001
IL_0001: ldloc.1
ret
}
.method public hidebysig instance class [netstandard]System.Text.Encoding GetEncoding() cil managed
{
.maxstack 2
.locals init (bool V_0,
class [netstandard]System.Text.Encoding V_1)
nop
ldarg.0
call instance bool CilBrowser.Core.CilBrowserOptions::get_UseAnsiEncoding()
ldc.i4.0
ceq
stloc.0
ldloc.0
brfalse.s IL_0001
call class [netstandard]System.Text.Encoding [netstandard]System.Text.Encoding::get_UTF8()
stloc.1
br.s IL_0002
IL_0001: ldarg.0
call instance int32 CilBrowser.Core.CilBrowserOptions::get_AnsiCodepage()
call class [netstandard]System.Text.Encoding [netstandard]System.Text.Encoding::GetEncoding(int32)
stloc.1
br.s IL_0002
IL_0002: ldloc.1
ret
}
}
|