Beispiel #1
0
 public MetadataInfo(Type type, IExodataDeclaration declaration, MethodInfo method, Expression memberExpression)
 {
     Type = type;
     Declaration = declaration;
     Method = method;
     MemberExpression = memberExpression;
 }
Beispiel #2
0
 private string GetMetadataName(IExodataDeclaration info)
 {
     string name;
     if (!_metadataNames.TryGetValue(info, out name))
     {
         name = string.Format("md{0}", _nextMetadataName++);
         _metadataNames[info] = name;
     }
     return name;
 }