declaration_list
{ "{"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "ISceneMappingRepository"
variable_declarator
identifier "_repository"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
generic_name
identifier "IEnumerable"
type_argument_list
< "<"
identifier "ISceneMappingProvider"
> ">"
variable_declarator
identifier "_sceneMappingProviders"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IEventAggregator"
variable_declarator
identifier "_eventAggregator"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "Logger"
variable_declarator
identifier "_logger"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
generic_name
identifier "ICachedDictionary"
type_argument_list
< "<"
generic_name
identifier "List"
type_argument_list
< "<"
identifier "SceneMapping"
> ">"
> ">"
variable_declarator
identifier "_getTvdbIdCache"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
generic_name
identifier "ICachedDictionary"
type_argument_list
< "<"
generic_name
identifier "List"
type_argument_list
< "<"
identifier "SceneMapping"
> ">"
> ">"
variable_declarator
identifier "_findByTvdbIdCache"
; ";"
field_declaration
modifier
private "private"
variable_declaration
predefined_type "bool"
variable_declarator
identifier "_updatedAfterStartup"
; ";"
constructor_declaration (+128 nodes collapsed)
method_declaration (+247 nodes collapsed)
method_declaration (+45 nodes collapsed)
method_declaration (+94 nodes collapsed)
method_declaration
modifier
public "public"
identifier "SceneMapping"
identifier "FindSceneMapping"
parameter_list
( "("
parameter
predefined_type "string"
identifier "seriesTitle"
, ","
parameter
predefined_type "string"
identifier "releaseTitle"
, ","
parameter
predefined_type "int"
identifier "sceneSeasonNumber"
) ")"
block
{ "{"
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "mappings"
= "="
invocation_expression
identifier "FindMappings"
argument_list
( "("
argument
identifier "seriesTitle"
, ","
argument
identifier "releaseTitle"
) ")"
; ";"
if_statement
if "if"
( "("
binary_expression
identifier "mappings"
== "=="
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
null_literal "null"
; ";"
} "}"
expression_statement
assignment_expression
identifier "mappings"
= "="
invocation_expression
identifier "FilterSceneMappings"
argument_list
( "("
argument
identifier "mappings"
, ","
argument
identifier "sceneSeasonNumber"
) ")"
; ";"
local_declaration_statement (+31 nodes collapsed)
if_statement
if "if"
( "("
binary_expression
member_access_expression
identifier "distinctMappings"
. "."
identifier "Count"
== "=="
integer_literal "0"
) ")"
block
{ "{"
return_statement
return "return"
null_literal "null"
; ";"
} "}"
if_statement (+65 nodes collapsed)
throw_statement
throw "throw"
object_creation_expression
new "new"
identifier "InvalidSceneMappingException"
argument_list
( "("
argument
identifier "mappings"
, ","
argument
identifier "releaseTitle"
) ")"
; ";"
} "}"
method_declaration (+43 nodes collapsed)
method_declaration (+322 nodes collapsed)
method_declaration (+281 nodes collapsed)
method_declaration (+151 nodes collapsed)
method_declaration (+194 nodes collapsed)
method_declaration (+251 nodes collapsed)
method_declaration (+33 nodes collapsed)
method_declaration (+61 nodes collapsed)
method_declaration (+31 nodes collapsed)
method_declaration (+31 nodes collapsed)
method_declaration (+21 nodes collapsed)
} "}"