TSF.UmlToolingFramework.Wrappers.EA.Model.getOperationByGUID C# (CSharp) Méthode

getOperationByGUID() public méthode

public getOperationByGUID ( string guid ) : Operation
guid string
Résultat Operation
        public Operation getOperationByGUID(string guid)
        {
            Operation operation = this.factory.createElement(this.wrappedModel.GetMethodByGuid(guid)) as Operation;
            if (operation == null)
            {
            List<OperationTag> tags = this.getOperationTagsWithValue(guid);

            foreach ( OperationTag tag in tags)
            {
                if (tag != null && tag.name == "ea_guid")
                {
                    operation = tag.owner as Operation;
                }
            }
            }
            return operation;
        }