SourceUri() public static method

public static SourceUri ( Uri sourceUri ) : void
sourceUri System.Uri
return void
Exemplo n.º 1
0
        internal PackageRelationship(string id, Package package, string relationshipType,
                                     Uri sourceUri, TargetMode targetMode, Uri targetUri)
        {
            Check.IdIsValid(id);
            Check.Package(package);
            Check.RelationshipTypeIsValid(relationshipType);
            Check.SourceUri(sourceUri);
            Check.TargetUri(targetUri);

            Id               = id;
            Package          = package;
            RelationshipType = relationshipType;
            SourceUri        = sourceUri;
            TargetMode       = targetMode;
            TargetUri        = targetUri;
        }