Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
コード例 #1
0
 partial void DeleteDataWriter(DataWriter instance);
 // Instantiates the given data writer and wraps it in a disposable wrapper object.
 private static DataWriterWrapper Wrap(DataWriter writer)
 {
     try
     {
         Assembly assembly = Assembly.LoadFrom(writer.AssemblyName);
         Type type = assembly.GetType(writer.TypeName);
         return new DataWriterWrapper(writer.ID, type);
     }
     catch (Exception ex)
     {
         string message = $"Failed to create data writer of type {writer.TypeName}: {ex.Message}";
         throw new TypeLoadException(message, ex);
     }
 }
コード例 #3
0
 partial void UpdateDataWriter(DataWriter instance);
コード例 #4
0
 partial void InsertDataWriter(DataWriter instance);
コード例 #5
0
ファイル: SystemInfo.designer.cs プロジェクト: lulzzz/openXDA
 partial void DeleteDataWriter(DataWriter instance);
コード例 #6
0
ファイル: SystemInfo.designer.cs プロジェクト: lulzzz/openXDA
 partial void UpdateDataWriter(DataWriter instance);
コード例 #7
0
ファイル: SystemInfo.designer.cs プロジェクト: lulzzz/openXDA
 partial void InsertDataWriter(DataWriter instance);