public DMLibTransferDirection( DMLibDataType sourceType, DMLibDataType destType, DMLibCopyMethod copyMethod, List <string> tags) : base(tags) { this.SourceType = sourceType; this.DestType = destType; this.CopyMethod = copyMethod; }
public DMLibTestMethodAttribute( DMLibDataType dataType, DMLibCopyMethod copymethod = DMLibCopyMethod.SyncCopy, string[] tags = null) : this( dataType, DMLibDataType.Unspecified, copymethod, tags) { }
public DMLibTestMethodAttribute( DMLibDataType sourceType, DMLibDataType destType, DMLibCopyMethod copymethod = DMLibCopyMethod.SyncCopy, string[] tags = null) : base(tags) { this.SourceType = sourceType; this.DestType = destType; this.CopyMethod = copymethod; }
public static CopyMethod ToCopyMethod(this DMLibCopyMethod copyMethod) { switch (copyMethod) { case DMLibCopyMethod.ServiceSideAsyncCopy: return(CopyMethod.ServiceSideAsyncCopy); case DMLibCopyMethod.ServiceSideSyncCopy: return(CopyMethod.ServiceSideSyncCopy); default: return(CopyMethod.SyncCopy); } }