Exemplo n.º 1
0
		internal void SetContext (DataContext ctx)
		{
			this.ctx = ctx;
			if (dataType == null) {
				if (propType == null) throw new InvalidOperationException ("Property type not specified");
				dataType = ctx.GetConfigurationDataType (propType);
			}
		}
Exemplo n.º 2
0
 internal void SetContext(DataContext ctx)
 {
     this.ctx = ctx;
     if (dataType == null)
     {
         if (propType == null)
         {
             throw new InvalidOperationException("Property type not specified");
         }
         dataType = ctx.GetConfigurationDataType(propType);
     }
 }