comparison Implab.ServiceHost/Unity/SerializedElement.cs @ 275:6fefd5811b9b v3

refactoring
author cin
date Fri, 27 Apr 2018 16:57:30 +0300
parents 22629bf26121
children 963b17c275be
comparison
equal deleted inserted replaced
274:22629bf26121 275:6fefd5811b9b
19 get { 19 get {
20 return string.IsNullOrEmpty(SerializedType) ? RegistrationType : SerializedType; 20 return string.IsNullOrEmpty(SerializedType) ? RegistrationType : SerializedType;
21 } 21 }
22 } 22 }
23 23
24 public string TypeName => throw new NotImplementedException();
25
24 public override void Visit(ContainerBuilder context) { 26 public override void Visit(ContainerBuilder context) {
25 context.Visit(this); 27 context.Visit(this);
26 } 28 }
27 29
28 public XmlReader GetReader() { 30 public XmlReader GetReader() {
31 if (Content != null && Content.Length > 0) 33 if (Content != null && Content.Length > 0)
32 return Content[0].CreateNavigator().ReadSubtree(); 34 return Content[0].CreateNavigator().ReadSubtree();
33 35
34 throw new Exception("No content found, expected XML document"); 36 throw new Exception("No content found, expected XML document");
35 } 37 }
38
39 public void Visit(InjectionValueBuilder builder) {
40 throw new NotImplementedException();
41 }
36 } 42 }
37 } 43 }