public override string GetStorageType(CodeWriter code)
 {
     return CsCodeWriter.Global + _enum.QualifiedName;
 }
 public override string GetPublicType(CodeWriter code)
 {
     return CsCodeWriter.Global + "System.Collections.Generic.IList<" + _generator.GetPublicType(code) + ">";
 }
 public override string GetStorageType(CodeWriter code)
 {
     return "_" + PropertyName;
 }
 public override string GetStorageType(CodeWriter code)
 {
     return CsCodeWriter.Global + "NClassify.Library.ByteArray";
 }
Exemple #5
0
 void IDisposable.Dispose()
 {
     if (_wtr != null && _wtr._open.Remove(this))
     {
         if(_onClose != null)
             _onClose(_wtr);
         _wtr = null;
     }
 }
Exemple #6
0
 public ClosingBlock(CodeWriter wtr, Action<CodeWriter> onClose)
 {
     _wtr = wtr;
     _onClose = onClose;
     _wtr._open.Add(this);
 }